1 |
commit: 6839e15f1f87e326896ea22b91be5615e752c7dd |
2 |
Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 29 18:44:42 2014 +0000 |
4 |
Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 29 18:44:42 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=6839e15f |
7 |
|
8 |
add live version of ripperX |
9 |
|
10 |
--- |
11 |
media-sound/ripperx/ripperx-9999.ebuild | 43 +++++++++++++++++++++++++++++++++ |
12 |
1 file changed, 43 insertions(+) |
13 |
|
14 |
diff --git a/media-sound/ripperx/ripperx-9999.ebuild b/media-sound/ripperx/ripperx-9999.ebuild |
15 |
new file mode 100644 |
16 |
index 0000000..188dc3f |
17 |
--- /dev/null |
18 |
+++ b/media-sound/ripperx/ripperx-9999.ebuild |
19 |
@@ -0,0 +1,43 @@ |
20 |
+# Copyright 1999-2014 Gentoo Foundation |
21 |
+# Distributed under the terms of the GNU General Public License v2 |
22 |
+# $Header: $ |
23 |
+ |
24 |
+EAPI=5 |
25 |
+ |
26 |
+inherit eutils git-r3 |
27 |
+ |
28 |
+MY_P=${P/x/X} |
29 |
+MY_PN=${PN/x/X} |
30 |
+ |
31 |
+DESCRIPTION="GTK program to rip CD audio tracks and encode them to the Ogg, MP3, or FLAC formats" |
32 |
+HOMEPAGE="http://sourceforge.net/projects/ripperx" |
33 |
+EGIT_REPO_URI="git://git.code.sf.net/p/ripperx/git" |
34 |
+ |
35 |
+LICENSE="GPL-2" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64" |
38 |
+IUSE="nls" |
39 |
+ |
40 |
+RDEPEND="media-libs/taglib |
41 |
+ media-sound/cdparanoia |
42 |
+ media-sound/lame |
43 |
+ x11-libs/gtk+:2" |
44 |
+DEPEND="${RDEPEND} |
45 |
+ virtual/pkgconfig |
46 |
+ nls? ( sys-devel/gettext )" |
47 |
+ |
48 |
+src_prepare() { |
49 |
+ # AC_CHECK_LIB(m, ceilf, [], [MATH_LIB="-lm" MATH_LIB=""]) #401867 |
50 |
+ sed -i -e '/ripperX_LDADD/s:=:= -lm:' src/Makefile.in || die |
51 |
+} |
52 |
+ |
53 |
+src_configure() { |
54 |
+ econf $(use_enable nls) |
55 |
+} |
56 |
+ |
57 |
+src_install() { |
58 |
+ default |
59 |
+ dodoc BUGS CHANGES FAQ README* TODO |
60 |
+ doicon src/xpms/${MY_PN}-icon.xpm |
61 |
+ make_desktop_entry ${MY_PN} ${MY_PN} ${MY_PN}-icon |
62 |
+} |