Gentoo Archives: gentoo-commits

From: "Daniel Gryniewicz (dang)" <dang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/rhythmbox: ChangeLog rhythmbox-0.12.2-r1.ebuild rhythmbox-0.12.2.ebuild
Date: Wed, 03 Jun 2009 14:28:43
Message-Id: E1MBrSK-0001cD-WF@stork.gentoo.org
1 dang 09/06/03 14:28:40
2
3 Modified: ChangeLog
4 Added: rhythmbox-0.12.2-r1.ebuild
5 Removed: rhythmbox-0.12.2.ebuild
6 Log:
7 Fix plugin linking. Bug #272203
8 (Portage version: 2.2_rc33/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.151 media-sound/rhythmbox/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/ChangeLog?rev=1.151&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/ChangeLog?rev=1.151&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/ChangeLog?r1=1.150&r2=1.151
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/ChangeLog,v
20 retrieving revision 1.150
21 retrieving revision 1.151
22 diff -u -r1.150 -r1.151
23 --- ChangeLog 31 May 2009 16:47:38 -0000 1.150
24 +++ ChangeLog 3 Jun 2009 14:28:40 -0000 1.151
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.150 2009/05/31 16:47:38 eva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/ChangeLog,v 1.151 2009/06/03 14:28:40 dang Exp $
30 +
31 +*rhythmbox-0.12.2-r1 (03 Jun 2009)
32 +
33 + 03 Jun 2009; Daniel Gryniewicz <dang@g.o> -rhythmbox-0.12.2.ebuild,
34 + +rhythmbox-0.12.2-r1.ebuild, +files/rhythmbox-0.12.2-link-fixes.patch:
35 + Fix plugin linking. Bug #272203
36
37 *rhythmbox-0.12.2 (31 May 2009)
38
39
40
41
42 1.1 media-sound/rhythmbox/rhythmbox-0.12.2-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.12.2-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.12.2-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rhythmbox-0.12.2-r1.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.2-r1.ebuild,v 1.1 2009/06/03 14:28:40 dang Exp $
52
53 EAPI="2"
54
55 inherit eutils gnome2 python multilib virtualx autotools
56
57 DESCRIPTION="Music management and playback software for GNOME"
58 HOMEPAGE="http://www.rhythmbox.org/"
59 LICENSE="GPL-2"
60 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
61 IUSE="+brasero cdr daap doc hal ipod gnome-keyring libnotify lirc musicbrainz mtp nsplugin python test"
62
63 # FIXME: double check what to do with fm-radio plugin
64
65 SLOT="0"
66
67 COMMON_DEPEND=">=dev-libs/glib-2.16.0
68 >=x11-libs/gtk+-2.16
69 >=dev-libs/dbus-glib-0.71
70 >=dev-libs/totem-pl-parser-2.26.0
71 >=gnome-base/gconf-2
72 >=gnome-extra/gnome-media-2.14.0
73 >=net-libs/libsoup-2.4:2.4
74
75 >=media-libs/gst-plugins-base-0.10.20
76
77 cdr? (
78 brasero? ( >=app-cdr/brasero-0.9.1 )
79 !brasero? ( >=gnome-extra/nautilus-cd-burner-2.21.6 ) )
80 daap? ( >=net-dns/avahi-0.6 )
81 gnome-keyring? ( >=gnome-base/gnome-keyring-0.4.9 )
82 hal? (
83 ipod? ( >=media-libs/libgpod-0.6 )
84 mtp? ( >=media-libs/libmtp-0.3.0 )
85 >=sys-apps/hal-0.5 )
86 libnotify? ( >=x11-libs/libnotify-0.3.2 )
87 lirc? ( app-misc/lirc )
88 musicbrainz? ( media-libs/musicbrainz:3 )
89 python? (
90 >=dev-lang/python-2.4.2
91 || (
92 >=dev-lang/python-2.5
93 dev-python/celementtree )
94 >=dev-python/pygtk-2.8
95 >=dev-python/gnome-vfs-python-2.22.0
96 >=dev-python/gconf-python-2.22.0
97 >=dev-python/libgnome-python-2.22.0
98 >=dev-python/gst-python-0.10.8 )"
99
100 RDEPEND="${COMMON_DEPEND}
101 >=media-plugins/gst-plugins-soup-0.10
102 >=media-plugins/gst-plugins-libmms-0.10
103 || (
104 >=media-plugins/gst-plugins-cdparanoia-0.10
105 >=media-plugins/gst-plugins-cdio-0.10 )
106 >=media-plugins/gst-plugins-meta-0.10-r2:0.10
107 >=media-plugins/gst-plugins-taglib-0.10.6
108 nsplugin? ( || (
109 net-libs/xulrunner
110 www-client/seamonkey
111 www-client/mozilla-firefox ) )"
112
113 DEPEND="${COMMON_DEPEND}
114 dev-util/pkgconfig
115 >=dev-util/intltool-0.40
116 app-text/scrollkeeper
117 app-text/gnome-doc-utils
118 doc? ( >=dev-util/gtk-doc-1.4 )
119 test? ( dev-libs/check )"
120
121 DOCS="AUTHORS ChangeLog DOCUMENTERS INTERNALS \
122 MAINTAINERS MAINTAINERS.old NEWS README THANKS"
123
124 pkg_setup() {
125 if ! use hal && use ipod; then
126 ewarn "ipod support requires hal support. Please"
127 ewarn "re-emerge with USE=hal to enable ipod support"
128 fi
129
130 if ! use hal && use mtp; then
131 ewarn "MTP support requires hal support. Please"
132 ewarn "re-emerge with USE=hal to enable MTP support"
133 fi
134
135 if ! use cdr ; then
136 ewarn "You have cdr USE flag disabled."
137 ewarn "You will not be able to play audio CDs."
138 fi
139
140 if use brasero; then
141 G2CONF="${G2CONF} $(use_with cdr libbrasero-media) --without-libnautilus-burn"
142 else
143 G2CONF="${G2CONF} $(use_with cdr libnautilus-burn) --without-libbrasero-media"
144 fi
145
146 G2CONF="${G2CONF}
147 MOZILLA_PLUGINDIR=/usr/$(get_libdir)/nsbrowser/plugins
148 $(use_with gnome-keyring)
149 $(use_with ipod)
150 $(use_enable libnotify)
151 $(use_enable lirc)
152 $(use_enable musicbrainz)
153 $(use_with mtp)
154 $(use_enable nsplugin browser-plugin)
155 $(use_enable python)
156 $(use_enable daap)
157 $(use_with daap mdns avahi)
158 --enable-mmkeys
159 --disable-scrollkeeper
160 --disable-schemas-install
161 --disable-static
162 --disable-vala"
163
164 export GST_INSPECT=/bin/true
165 }
166
167 src_prepare() {
168 gnome2_src_prepare
169
170 # disable pyc compiling
171 mv py-compile py-compile.orig
172 ln -s $(type -P true) py-compile
173
174 # Fix intltoolize broken file, see upstream #577133
175 #sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in || die "sed failed"
176
177 # Fix plugin linking. Bug #272203
178 epatch "${FILESDIR}"/${P}-link-fixes.patch
179 eautoreconf
180 }
181
182 src_compile() {
183 addpredict "$(unset HOME; echo ~)/.gconf"
184 addpredict "$(unset HOME; echo ~)/.gconfd"
185 gnome2_src_compile
186 }
187
188 src_test() {
189 unset SESSION_MANAGER
190 unset DBUS_SESSION_BUS_ADDRESS
191 Xemake check || die "test failed"
192 }
193
194 pkg_postinst() {
195 gnome2_pkg_postinst
196 use python && python_mod_optimize /usr/$(get_libdir)/rhythmbox/plugins
197
198 ewarn
199 ewarn "If ${PN} doesn't play some music format, please check your"
200 ewarn "USE flags on media-plugins/gst-plugins-meta"
201 ewarn
202 }
203
204 pkg_postrm() {
205 gnome2_pkg_postrm
206 python_mod_cleanup /usr/$(get_libdir)/rhythmbox/plugins
207 }