1 |
commit: 83c51913c2b60acc774dae0976d65a086d6a3242 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 17 16:46:18 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 17 16:48:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c51913 |
7 |
|
8 |
media-sound/rhythmbox: Port to python-single-r1 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/4434 |
12 |
|
13 |
media-sound/rhythmbox/rhythmbox-3.4.1-r1.ebuild | 133 ++++++++++++++++++++++++ |
14 |
1 file changed, 133 insertions(+) |
15 |
|
16 |
diff --git a/media-sound/rhythmbox/rhythmbox-3.4.1-r1.ebuild b/media-sound/rhythmbox/rhythmbox-3.4.1-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..aae5600b56a |
19 |
--- /dev/null |
20 |
+++ b/media-sound/rhythmbox/rhythmbox-3.4.1-r1.ebuild |
21 |
@@ -0,0 +1,133 @@ |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+GNOME2_LA_PUNT="yes" |
27 |
+PYTHON_COMPAT=( python3_{4,5} ) |
28 |
+PYTHON_REQ_USE="xml" |
29 |
+ |
30 |
+inherit eutils gnome2 python-single-r1 multilib virtualx |
31 |
+ |
32 |
+DESCRIPTION="Music management and playback software for GNOME" |
33 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Rhythmbox" |
34 |
+ |
35 |
+LICENSE="GPL-2" |
36 |
+SLOT="0" |
37 |
+ |
38 |
+IUSE="cdr daap dbus gnome-keyring ipod libnotify lirc mtp nsplugin +python test +udev upnp-av visualizer zeitgeist" |
39 |
+REQUIRED_USE=" |
40 |
+ ipod? ( udev ) |
41 |
+ mtp? ( udev ) |
42 |
+ dbus? ( python ) |
43 |
+ python? ( ${PYTHON_REQUIRED_USE} ) |
44 |
+" |
45 |
+ |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
47 |
+ |
48 |
+COMMON_DEPEND=" |
49 |
+ >=dev-libs/glib-2.36:2 |
50 |
+ >=dev-libs/libxml2-2.7.8:2 |
51 |
+ >=x11-libs/gtk+-3.16:3[X,introspection] |
52 |
+ >=x11-libs/gdk-pixbuf-2.18:2 |
53 |
+ >=dev-libs/gobject-introspection-0.10:= |
54 |
+ >=dev-libs/libpeas-0.7.3[gtk,python?] |
55 |
+ >=dev-libs/totem-pl-parser-3.2 |
56 |
+ >=net-libs/libsoup-2.42:2.4 |
57 |
+ >=media-libs/gst-plugins-base-1.4:1.0[introspection] |
58 |
+ >=media-libs/gstreamer-1.4:1.0[introspection] |
59 |
+ >=sys-libs/tdb-1.2.6 |
60 |
+ dev-libs/json-glib |
61 |
+ |
62 |
+ cdr? ( >=app-cdr/brasero-2.91.90 ) |
63 |
+ daap? ( |
64 |
+ >=net-libs/libdmapsharing-2.9.19:3.0 |
65 |
+ >=media-plugins/gst-plugins-soup-1.4:1.0 ) |
66 |
+ gnome-keyring? ( >=app-crypt/libsecret-0.18 ) |
67 |
+ libnotify? ( >=x11-libs/libnotify-0.7.0 ) |
68 |
+ lirc? ( app-misc/lirc ) |
69 |
+ python? ( >=dev-python/pygobject-3.0:3[${PYTHON_USEDEP}] ) |
70 |
+ udev? ( |
71 |
+ virtual/libgudev:= |
72 |
+ ipod? ( >=media-libs/libgpod-0.7.92[udev] ) |
73 |
+ mtp? ( >=media-libs/libmtp-0.3 ) ) |
74 |
+ visualizer? ( |
75 |
+ >=media-libs/clutter-1.8:1.0 |
76 |
+ >=media-libs/clutter-gst-1.9.92:2.0 |
77 |
+ >=media-libs/clutter-gtk-1.0:1.0 |
78 |
+ >=x11-libs/mx-1.0.1:1.0 |
79 |
+ >=media-plugins/gst-plugins-libvisual-1.4:1.0 ) |
80 |
+ zeitgeist? ( gnome-extra/zeitgeist ) |
81 |
+" |
82 |
+RDEPEND="${COMMON_DEPEND} |
83 |
+ media-plugins/gst-plugins-soup:1.0 |
84 |
+ media-plugins/gst-plugins-libmms:1.0 |
85 |
+ || ( |
86 |
+ media-plugins/gst-plugins-cdparanoia:1.0 |
87 |
+ media-plugins/gst-plugins-cdio:1.0 ) |
88 |
+ media-plugins/gst-plugins-meta:1.0 |
89 |
+ media-plugins/gst-plugins-taglib:1.0 |
90 |
+ x11-themes/adwaita-icon-theme |
91 |
+ python? ( |
92 |
+ >=dev-libs/libpeas-0.7.3[${PYTHON_USEDEP}] |
93 |
+ net-libs/libsoup:2.4[introspection] |
94 |
+ x11-libs/gdk-pixbuf:2[introspection] |
95 |
+ x11-libs/gtk+:3[introspection] |
96 |
+ x11-libs/pango[introspection] |
97 |
+ |
98 |
+ dbus? ( sys-apps/dbus ) |
99 |
+ gnome-keyring? ( >=app-crypt/libsecret-0.18[introspection] ) ) |
100 |
+ upnp-av? ( |
101 |
+ >=media-libs/grilo-0.3:0.3 |
102 |
+ >=media-plugins/grilo-plugins-0.3:0.3[upnp-av] ) |
103 |
+" |
104 |
+DEPEND="${COMMON_DEPEND} |
105 |
+ app-text/yelp-tools |
106 |
+ dev-util/gtk-doc-am |
107 |
+ >=dev-util/intltool-0.35 |
108 |
+ virtual/pkgconfig |
109 |
+ test? ( dev-libs/check ) |
110 |
+" |
111 |
+ |
112 |
+pkg_setup() { |
113 |
+ use python && python-single-r1_pkg_setup |
114 |
+} |
115 |
+ |
116 |
+src_prepare() { |
117 |
+ DOCS="AUTHORS ChangeLog DOCUMENTERS INTERNALS \ |
118 |
+ MAINTAINERS MAINTAINERS.old NEWS README THANKS" |
119 |
+ |
120 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=737831 |
121 |
+ rm -v lib/rb-marshal.{c,h} || die |
122 |
+ |
123 |
+ gnome2_src_prepare |
124 |
+} |
125 |
+ |
126 |
+src_configure() { |
127 |
+ # --enable-vala just installs the sample vala plugin, and the configure |
128 |
+ # checks are broken, so don't enable it |
129 |
+ gnome2_src_configure \ |
130 |
+ MOZILLA_PLUGINDIR=/usr/$(get_libdir)/nsbrowser/plugins \ |
131 |
+ VALAC=$(type -P true) \ |
132 |
+ --enable-mmkeys \ |
133 |
+ --disable-more-warnings \ |
134 |
+ --disable-static \ |
135 |
+ --disable-vala \ |
136 |
+ --without-hal \ |
137 |
+ $(use_enable visualizer) \ |
138 |
+ $(use_enable daap) \ |
139 |
+ $(use_enable libnotify) \ |
140 |
+ $(use_enable lirc) \ |
141 |
+ $(use_enable nsplugin browser-plugin) \ |
142 |
+ $(use_enable python) \ |
143 |
+ $(use_enable upnp-av grilo) \ |
144 |
+ $(use_with cdr brasero) \ |
145 |
+ $(use_with gnome-keyring libsecret) \ |
146 |
+ $(use_with ipod) \ |
147 |
+ $(use_with mtp) \ |
148 |
+ $(use_with udev gudev) |
149 |
+} |
150 |
+ |
151 |
+src_test() { |
152 |
+ unset SESSION_MANAGER |
153 |
+ virtx emake check CK_DEFAULT_TIMEOUT=60 |
154 |
+} |