summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-02-24 21:02:40 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-02-24 21:02:40 +0000
commitda13b6b5ca560520d1840e088c479c900644e129 (patch)
tree2a1ef604a3be66a142aa4fd8ed4fe3ca0a8f691d /media-sound/rhythmbox
parentversion bump, bug #208190. (diff)
downloadgentoo-2-da13b6b5ca560520d1840e088c479c900644e129.tar.gz
gentoo-2-da13b6b5ca560520d1840e088c479c900644e129.tar.bz2
gentoo-2-da13b6b5ca560520d1840e088c479c900644e129.zip
fix python eclass use, bug #207667
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-sound/rhythmbox')
-rw-r--r--media-sound/rhythmbox/ChangeLog6
-rw-r--r--media-sound/rhythmbox/rhythmbox-0.11.2-r1.ebuild57
2 files changed, 40 insertions, 23 deletions
diff --git a/media-sound/rhythmbox/ChangeLog b/media-sound/rhythmbox/ChangeLog
index f750c8c8b8af..3ecc7df25f0e 100644
--- a/media-sound/rhythmbox/ChangeLog
+++ b/media-sound/rhythmbox/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/rhythmbox
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/ChangeLog,v 1.116 2008/01/29 18:22:35 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/ChangeLog,v 1.117 2008/02/24 21:02:40 eva Exp $
+
+ 24 Feb 2008; Gilles Dartiguelongue <eva@gentoo.org>
+ rhythmbox-0.11.2-r1.ebuild:
+ fix python eclass use, bug #207667
29 Jan 2008; Daniel Gryniewicz <dang@gentoo.org>
rhythmbox-0.10.1-r1.ebuild, rhythmbox-0.11.2-r1.ebuild:
diff --git a/media-sound/rhythmbox/rhythmbox-0.11.2-r1.ebuild b/media-sound/rhythmbox/rhythmbox-0.11.2-r1.ebuild
index 09de5d45be3a..59a271df8c49 100644
--- a/media-sound/rhythmbox/rhythmbox-0.11.2-r1.ebuild
+++ b/media-sound/rhythmbox/rhythmbox-0.11.2-r1.ebuild
@@ -1,12 +1,11 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.11.2-r1.ebuild,v 1.4 2008/01/29 18:22:35 dang Exp $
-EAPI="1"
-
-inherit gnome2 eutils
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.11.2-r1.ebuild,v 1.5 2008/02/24 21:02:40 eva Exp $
EAPI="1"
+inherit gnome2 eutils python
+
DESCRIPTION="Music management and playback software for GNOME"
HOMEPAGE="http://www.rhythmbox.org/"
LICENSE="GPL-2"
@@ -67,29 +66,36 @@ pkg_setup() {
G2CONF="${G2CONF} --disable-daap"
fi
- G2CONF="${G2CONF} \
- $(use_enable tagwriting tag-writing) \
- $(use_with ipod) \
- $(use_enable ipod ipod-writing) \
- $(use_enable musicbrainz) \
- $(use_with dbus) \
- $(use_enable python) \
- $(use_enable libnotify) \
- $(use_enable lirc) \
- $(use_with keyring gnome-keyring)
- --with-playback=gstreamer-0-10 \
- --with-cd-burning
- --enable-mmkeys \
- --enable-audioscrobbler \
- --enable-track-transfer \
- --with-metadata-helper \
- --disable-schemas-install"
+ G2CONF="${G2CONF}
+ $(use_enable tagwriting tag-writing)
+ $(use_with ipod)
+ $(use_enable ipod ipod-writing)
+ $(use_enable musicbrainz)
+ $(use_with dbus)
+ $(use_enable python)
+ $(use_enable libnotify)
+ $(use_enable lirc)
+ $(use_with keyring gnome-keyring)
+ --with-playback=gstreamer-0-10
+ --with-cd-burning
+ --enable-mmkeys
+ --enable-audioscrobbler
+ --enable-track-transfer
+ --with-metadata-helper
+ --disable-schemas-install"
DOCS="AUTHORS COPYING ChangeLog DOCUMENTERS INSTALL INTERNALS \
MAINTAINERS NEWS README README.iPod THANKS TODO"
export GST_INSPECT=/bin/true
-USE_DESTDIR=1
+}
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # disable pyc compiling
+ mv py-compile py-compile.orig
+ ln -s $(type -P true) py-compile
}
src_compile() {
@@ -100,8 +106,15 @@ src_compile() {
pkg_postinst() {
gnome2_pkg_postinst
+ use python && python_mod_optimize /usr/$(get_libdir)/rhythmbox/plugins
+
elog "The aac flag has been removed from rhythmbox."
elog "This is due to stabilization issues with any gst-bad plugins."
elog "Please emerge gst-plugins-bad and gst-plugins-faad to be able to play m4a files"
elog "See bug #159538 for more information"
}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ use python && python_mod_cleanup /usr/$(get_libdir)/rhythmbox/plugins
+}