1 |
commit: e5a0d3e8110dae95cfd124ec47151738344253ae |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 27 11:58:33 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 27 12:02:16 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5a0d3e8 |
7 |
|
8 |
media-sound/mp3splt-gtk: Disable the obsolete gnome support as it only adds deps on completely dead stuff |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
.../mp3splt-gtk/mp3splt-gtk-0.9.2-r1.ebuild | 55 ++++++++++++++++++++++ |
13 |
1 file changed, 55 insertions(+) |
14 |
|
15 |
diff --git a/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.2-r1.ebuild b/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.2-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000..4333e45 |
18 |
--- /dev/null |
19 |
+++ b/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.2-r1.ebuild |
20 |
@@ -0,0 +1,55 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+inherit versionator autotools multilib |
27 |
+ |
28 |
+DESCRIPTION="a GTK+ based utility to split mp3 and ogg files without decoding" |
29 |
+HOMEPAGE="http://mp3splt.sourceforge.net" |
30 |
+SRC_URI="mirror://sourceforge/mp3splt/${P}.tar.gz" |
31 |
+ |
32 |
+LICENSE="GPL-2" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
35 |
+IUSE="audacious doc gstreamer nls" |
36 |
+ |
37 |
+RDEPEND=" |
38 |
+ ~media-libs/libmp3splt-0.9.2 |
39 |
+ x11-libs/gtk+:3 |
40 |
+ audacious? ( >=media-sound/audacious-3.0 ) |
41 |
+ !audacious? ( dev-libs/dbus-glib ) |
42 |
+ gstreamer? ( |
43 |
+ media-libs/gstreamer:1.0 |
44 |
+ media-plugins/gst-plugins-meta:1.0[mp3] ) |
45 |
+" |
46 |
+DEPEND="${RDEPEND} |
47 |
+ virtual/pkgconfig |
48 |
+ nls? ( sys-devel/gettext ) |
49 |
+" |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ default |
53 |
+ |
54 |
+ if use audacious; then |
55 |
+ sed -i \ |
56 |
+ -e 's:@AUDACIOUS_LIBS@:-laudclient &:' \ |
57 |
+ src/Makefile.am || die |
58 |
+ fi |
59 |
+ |
60 |
+ eautoreconf |
61 |
+} |
62 |
+ |
63 |
+src_configure() { |
64 |
+ local myconf |
65 |
+ |
66 |
+ use nls || myconf+=" --disable-nls" |
67 |
+ use audacious || myconf+=" --disable-audacious" |
68 |
+ use gstreamer || myconf+=" --disable-gstreamer" |
69 |
+ |
70 |
+ econf \ |
71 |
+ --disable-gnome \ |
72 |
+ $(use_enable doc doxygen_doc) \ |
73 |
+ --disable-cutter \ |
74 |
+ ${myconf} |
75 |
+} |