Gentoo Archives: gentoo-commits

From: "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/rhythmbox: ChangeLog rhythmbox-0.12.5-r2.ebuild rhythmbox-0.12.5-r1.ebuild
Date: Sun, 01 Nov 2009 09:48:36
Message-Id: E1N4X33-0003Zp-TS@stork.gentoo.org
1 nirbheek 09/11/01 09:48:33
2
3 Modified: ChangeLog
4 Added: rhythmbox-0.12.5-r2.ebuild
5 Removed: rhythmbox-0.12.5-r1.ebuild
6 Log:
7 Add eautoreconf so the daap plugin patch gets used.
8 (Portage version: 2.1.7.2/cvs/Linux i686)
9
10 Revision Changes Path
11 1.162 media-sound/rhythmbox/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/ChangeLog?rev=1.162&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/ChangeLog?rev=1.162&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/ChangeLog?r1=1.161&r2=1.162
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/ChangeLog,v
20 retrieving revision 1.161
21 retrieving revision 1.162
22 diff -u -r1.161 -r1.162
23 --- ChangeLog 31 Oct 2009 16:48:10 -0000 1.161
24 +++ ChangeLog 1 Nov 2009 09:48:33 -0000 1.162
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-sound/rhythmbox
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/ChangeLog,v 1.161 2009/10/31 16:48:10 nirbheek Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/ChangeLog,v 1.162 2009/11/01 09:48:33 nirbheek Exp $
30 +
31 +*rhythmbox-0.12.5-r2 (01 Nov 2009)
32 +
33 + 01 Nov 2009; Nirbheek Chauhan <nirbheek@g.o>
34 + -rhythmbox-0.12.5-r1.ebuild, +rhythmbox-0.12.5-r2.ebuild:
35 + Add eautoreconf so the daap plugin patch gets used.
36
37 *rhythmbox-0.12.5-r1 (31 Oct 2009)
38
39
40
41
42 1.1 media-sound/rhythmbox/rhythmbox-0.12.5-r2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.12.5-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.12.5-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rhythmbox-0.12.5-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.12.5-r2.ebuild,v 1.1 2009/11/01 09:48:33 nirbheek Exp $
52
53 EAPI="2"
54 WANT_AUTOMAKE="1.10"
55
56 inherit autotools eutils gnome2 python multilib virtualx
57
58 DESCRIPTION="Music management and playback software for GNOME"
59 HOMEPAGE="http://www.rhythmbox.org/"
60 LICENSE="GPL-2"
61 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
62 IUSE="+brasero cdr daap doc gnome-keyring hal ipod libnotify lirc musicbrainz mtp nsplugin python test udev"
63
64 # FIXME: double check what to do with fm-radio plugin
65 # TODO: watchout for udev use flag changes
66
67 SLOT="0"
68
69 COMMON_DEPEND=">=dev-libs/glib-2.16.0
70 >=x11-libs/gtk+-2.16
71 >=dev-libs/dbus-glib-0.71
72 >=dev-libs/totem-pl-parser-2.26.0
73 >=gnome-base/gconf-2
74 >=gnome-extra/gnome-media-2.14.0
75 >=net-libs/libsoup-2.26:2.4[gnome]
76
77 >=media-libs/gst-plugins-base-0.10.20
78 || (
79 >=media-libs/gst-plugins-base-0.10.24
80 >=media-libs/gst-plugins-bad-0.10.6 )
81
82 cdr? (
83 brasero? ( >=app-cdr/brasero-0.9.1 )
84 !brasero? ( >=gnome-extra/nautilus-cd-burner-2.21.6 ) )
85 daap? ( >=net-dns/avahi-0.6 )
86 gnome-keyring? ( >=gnome-base/gnome-keyring-0.4.9 )
87 udev? (
88 ipod? ( >=media-libs/libgpod-0.6 )
89 mtp? ( >=media-libs/libmtp-0.3.0 )
90 >=sys-fs/udev-145[extras] )
91 hal? (
92 ipod? ( >=media-libs/libgpod-0.6 )
93 mtp? ( >=media-libs/libmtp-0.3.0 )
94 >=sys-apps/hal-0.5 )
95 libnotify? ( >=x11-libs/libnotify-0.4.1 )
96 lirc? ( app-misc/lirc )
97 musicbrainz? ( media-libs/musicbrainz:3 )
98 python? (
99 >=dev-lang/python-2.4.2
100 || (
101 >=dev-lang/python-2.5
102 dev-python/celementtree )
103 >=dev-python/pygtk-2.8
104 >=dev-python/gnome-vfs-python-2.22.0
105 >=dev-python/gconf-python-2.22.0
106 >=dev-python/libgnome-python-2.22.0
107 >=dev-python/gst-python-0.10.8 )"
108
109 RDEPEND="${COMMON_DEPEND}
110 >=media-plugins/gst-plugins-soup-0.10
111 >=media-plugins/gst-plugins-libmms-0.10
112 || (
113 >=media-plugins/gst-plugins-cdparanoia-0.10
114 >=media-plugins/gst-plugins-cdio-0.10 )
115 >=media-plugins/gst-plugins-meta-0.10-r2:0.10
116 >=media-plugins/gst-plugins-taglib-0.10.6
117 nsplugin? ( || (
118 net-libs/xulrunner
119 www-client/seamonkey
120 www-client/mozilla-firefox ) )"
121
122 # gtk-doc-am needed for eautoreconf
123 DEPEND="${COMMON_DEPEND}
124 dev-util/pkgconfig
125 dev-util/gtk-doc-am
126 >=dev-util/intltool-0.40
127 app-text/scrollkeeper
128 app-text/gnome-doc-utils
129 doc? ( >=dev-util/gtk-doc-1.4 )
130 test? ( dev-libs/check )"
131
132 DOCS="AUTHORS ChangeLog DOCUMENTERS INTERNALS \
133 MAINTAINERS MAINTAINERS.old NEWS README THANKS"
134
135 pkg_setup() {
136 if ! use hal && ! use udev; then
137 if use ipod; then
138 ewarn "ipod support requires hal or udev support. Please"
139 ewarn "re-emerge with USE=udev to enable ipod support"
140 fi
141
142 if use mtp; then
143 ewarn "MTP support requires hal or udev support. Please"
144 ewarn "re-emerge with USE=udev to enable MTP support"
145 fi
146 fi
147
148 if use hal && use udev; then
149 einfo "udev support replaces hal support completely. You can disable"
150 einfo "hal on this package via /etc/portage/package.use."
151 fi
152
153 if ! use cdr ; then
154 ewarn "You have cdr USE flag disabled."
155 ewarn "You will not be able to burn CDs."
156 fi
157
158 if use brasero; then
159 G2CONF="${G2CONF} $(use_with cdr libbrasero-media) --without-libnautilus-burn"
160 else
161 G2CONF="${G2CONF} $(use_with cdr libnautilus-burn) --without-libbrasero-media"
162 fi
163
164 G2CONF="${G2CONF}
165 MOZILLA_PLUGINDIR=/usr/$(get_libdir)/nsbrowser/plugins
166 $(use_with gnome-keyring)
167 $(use_with udev gudev)
168 $(use_with hal)
169 $(use_with ipod)
170 $(use_enable libnotify)
171 $(use_enable lirc)
172 $(use_enable musicbrainz)
173 $(use_with mtp)
174 $(use_enable nsplugin browser-plugin)
175 $(use_enable python)
176 $(use_enable daap)
177 $(use_with daap mdns avahi)
178 --enable-mmkeys
179 --disable-scrollkeeper
180 --disable-schemas-install
181 --disable-static
182 --disable-vala"
183
184 export GST_INSPECT=/bin/true
185 }
186
187 src_prepare() {
188 gnome2_src_prepare
189
190 # Fix bug 291315 (patch taken from upstream repo)
191 # DAAP plugin load failure when built with --as-needed
192 epatch "${FILESDIR}/${P}-fix-daap-plugin-linking.patch"
193
194 eautoreconf
195
196 # disable pyc compiling
197 mv py-compile py-compile.orig
198 ln -s $(type -P true) py-compile
199 }
200
201 src_compile() {
202 addpredict "$(unset HOME; echo ~)/.gconf"
203 addpredict "$(unset HOME; echo ~)/.gconfd"
204 gnome2_src_compile
205 }
206
207 src_test() {
208 unset SESSION_MANAGER
209 unset DBUS_SESSION_BUS_ADDRESS
210 Xemake check || die "test failed"
211 }
212
213 pkg_postinst() {
214 gnome2_pkg_postinst
215 use python && python_mod_optimize /usr/$(get_libdir)/rhythmbox/plugins
216
217 ewarn
218 ewarn "If ${PN} doesn't play some music format, please check your"
219 ewarn "USE flags on media-plugins/gst-plugins-meta"
220 ewarn
221 }
222
223 pkg_postrm() {
224 gnome2_pkg_postrm
225 python_mod_cleanup /usr/$(get_libdir)/rhythmbox/plugins
226 }