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