Fix manifest wrt Bug #150400.
authorThomas Cort <tcort@gentoo.org>
Sat, 7 Oct 2006 18:49:55 +0000 (18:49 +0000)
committerThomas Cort <tcort@gentoo.org>
Sat, 7 Oct 2006 18:49:55 +0000 (18:49 +0000)
Package-Manager: portage-2.1.1

media-sound/quodlibet/Manifest
media-sound/quodlibet/files/digest-quodlibet-0.21.1 [deleted file]
media-sound/quodlibet/files/digest-quodlibet-0.22 [deleted file]
media-sound/quodlibet/files/digest-quodlibet-0.23 [deleted file]
media-sound/quodlibet/files/digest-quodlibet-0.23.1 [deleted file]
media-sound/quodlibet/files/quodlibet-0.17.1-multilibfix.patch [deleted file]
media-sound/quodlibet/files/quodlibet-0.21-ctypes.patch [deleted file]
media-sound/quodlibet/quodlibet-0.21.1.ebuild [deleted file]
media-sound/quodlibet/quodlibet-0.22.ebuild [deleted file]
media-sound/quodlibet/quodlibet-0.23.1.ebuild [deleted file]
media-sound/quodlibet/quodlibet-0.23.ebuild [deleted file]

index d7cec0fdec40274c48c6192d8efc21bd829e66a3..1490b0a101b0330d0965ffbc3d46b626a7f65c84 100644 (file)
@@ -7,10 +7,10 @@ EBUILD quodlibet-0.23.1-r1.ebuild 3932 RMD160 9578c196f32c699a49cbcdeaee890f8f24
 MD5 a5c156809d74fa2d4032e3360aad290e quodlibet-0.23.1-r1.ebuild 3932
 RMD160 9578c196f32c699a49cbcdeaee890f8f2441ae66 quodlibet-0.23.1-r1.ebuild 3932
 SHA256 da49b786643acc647904655cd7f36b0171246c5ab446baefffeb2e4072a898b6 quodlibet-0.23.1-r1.ebuild 3932
-MISC ChangeLog 8141 RMD160 f7820da23bcaebd6492b94250d6b72c3e2f5a267 SHA1 d30881d7ecda4a13a35c3a9662e7a03e5cb2f704 SHA256 e97b3fb2aa0691fa644ee7a3d66fa1bff10367cf92b36aa04fe60ce503ab4582
-MD5 5ae5e4fd23020b463bcd80520d71eed1 ChangeLog 8141
-RMD160 f7820da23bcaebd6492b94250d6b72c3e2f5a267 ChangeLog 8141
-SHA256 e97b3fb2aa0691fa644ee7a3d66fa1bff10367cf92b36aa04fe60ce503ab4582 ChangeLog 8141
+MISC ChangeLog 8405 RMD160 b94b1a2cdaf863584e9cf29c0a779f46e13de204 SHA1 93753b00c602efc6ab1b010a864aeb6e071f9472 SHA256 347fa3e78c629e5d3ce48e3d347dd23d1ae57270bd642b3c1ea41ec86cee8baa
+MD5 0e0ab59f58e42a5f9650afebdf7bbbb5 ChangeLog 8405
+RMD160 b94b1a2cdaf863584e9cf29c0a779f46e13de204 ChangeLog 8405
+SHA256 347fa3e78c629e5d3ce48e3d347dd23d1ae57270bd642b3c1ea41ec86cee8baa ChangeLog 8405
 MISC metadata.xml 744 RMD160 dc40c6015ca8f3069e0f2f58df8d1235b479756a SHA1 dd66baefd0ae6cfb7afa7f4f46f97dcc67f4c617 SHA256 f819f84833247761ab1f99f2a933eb9af9875daa971f69d87138a1fee381cd7b
 MD5 10a5efe7c3476d69729db9532e53b27e metadata.xml 744
 RMD160 dc40c6015ca8f3069e0f2f58df8d1235b479756a metadata.xml 744
diff --git a/media-sound/quodlibet/files/digest-quodlibet-0.21.1 b/media-sound/quodlibet/files/digest-quodlibet-0.21.1
deleted file mode 100644 (file)
index 7d75334..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 39508a281244e5b9264d2f9692e5f498 quodlibet-0.21.1.tar.gz 498151
-RMD160 7aacdd88982beb48493698ea590a2091e18ad32c quodlibet-0.21.1.tar.gz 498151
-SHA256 c093116a7b3846a937c37396f630dd8e5ea79654a38e322144b231ce685926d5 quodlibet-0.21.1.tar.gz 498151
diff --git a/media-sound/quodlibet/files/digest-quodlibet-0.22 b/media-sound/quodlibet/files/digest-quodlibet-0.22
deleted file mode 100644 (file)
index 82d905d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 d264fad1ac630a91bb8d69cb0a4c9d82 quodlibet-0.22.tar.gz 505179
-RMD160 f115a112ecb8e152b575ef55fed192ea55ca9451 quodlibet-0.22.tar.gz 505179
-SHA256 f5643c08f5cb677a68bcbff08ac805713befdbd4bde44be9550431b628df327e quodlibet-0.22.tar.gz 505179
diff --git a/media-sound/quodlibet/files/digest-quodlibet-0.23 b/media-sound/quodlibet/files/digest-quodlibet-0.23
deleted file mode 100644 (file)
index 67895fb..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 195c39433b4e2a5bf930af7570b61f3e quodlibet-0.23.tar.gz 551773
-RMD160 130218a070cbfa3272559c1a3b463d1e9ada45cb quodlibet-0.23.tar.gz 551773
-SHA256 8164e4f3f301f22e28e8e9c467ed0f12bc8181dea073b83cf15568761d4c6066 quodlibet-0.23.tar.gz 551773
diff --git a/media-sound/quodlibet/files/digest-quodlibet-0.23.1 b/media-sound/quodlibet/files/digest-quodlibet-0.23.1
deleted file mode 100644 (file)
index 29562ab..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 8b9d4f4dc0850b48cfe9b4b390722ef4 quodlibet-0.23.1.tar.gz 542885
-RMD160 043ab4131a527932a57899875a343f468b7afd99 quodlibet-0.23.1.tar.gz 542885
-SHA256 639d6364798802ab50580e652abe53c72470ab04e7ecd06e66bee0542d2d01e8 quodlibet-0.23.1.tar.gz 542885
diff --git a/media-sound/quodlibet/files/quodlibet-0.17.1-multilibfix.patch b/media-sound/quodlibet/files/quodlibet-0.17.1-multilibfix.patch
deleted file mode 100644 (file)
index 7f0b360..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig      2006-03-02 18:32:09.342385112 +0000
-+++ Makefile   2006-03-02 18:32:23.648210296 +0000
-@@ -5,7 +5,7 @@
- EXTENSIONS = _trayicon.so _mmkeys.so
- PREFIX ?= /usr/local
- TO = share/quodlibet
--TODEP = lib/quodlibet
-+TODEP = $(libdir)/quodlibet
- all:
-       @/bin/echo -n "Checking for Python... "
diff --git a/media-sound/quodlibet/files/quodlibet-0.21-ctypes.patch b/media-sound/quodlibet/files/quodlibet-0.21-ctypes.patch
deleted file mode 100644 (file)
index f3b331a..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-diff -urN quodlibet-0.21.orig/formats/mod.py quodlibet-0.21/formats/mod.py
---- quodlibet-0.21.orig/formats/mod.py 2006-06-08 20:08:07.000000000 -0400
-+++ quodlibet-0.21/formats/mod.py      2006-06-08 20:09:03.000000000 -0400
-@@ -17,7 +17,10 @@
-     '.mtm', '.okt', '.s3m', '.stm', '.ult', '.gdm', '.xm']
- try:
-     import ctypes
--    _modplug = ctypes.cdll.LoadLibrary("libmodplug.so.0")
-+    if 'load' in dir(ctypes.cdll):
-+        _modplug = ctypes.cdll.load("libmodplug.so.0")
-+    else:
-+        _modplug = ctypes.cdll.LoadLibrary("libmodplug.so.0")
- except (ImportError, OSError):
-     extensions = []
- else:
-diff -urN quodlibet-0.21.orig/formats/mp4.py quodlibet-0.21/formats/mp4.py
---- quodlibet-0.21.orig/formats/mp4.py 2006-06-08 20:08:07.000000000 -0400
-+++ quodlibet-0.21/formats/mp4.py      2006-06-08 20:09:44.000000000 -0400
-@@ -16,7 +16,11 @@
- try:
-     import ctypes
--    _mp4v2 = ctypes.cdll.LoadLibrary("libmp4v2.so.0")
-+
-+    if 'load' in dir(ctypes.cdll):
-+        _mp4v2 = ctypes.cdll.load("libmp4v2.so.0")
-+    else:
-+        _mp4v2 = ctypes.cdll.LoadLibrary("libmp4v2.so.0")
- except (ImportError, OSError):
-     extensions = []
- else:
-diff -urN quodlibet-0.21.orig/formats/mpc.py quodlibet-0.21/formats/mpc.py
---- quodlibet-0.21.orig/formats/mpc.py 2006-06-08 20:08:07.000000000 -0400
-+++ quodlibet-0.21/formats/mpc.py      2006-06-08 20:10:23.000000000 -0400
-@@ -14,8 +14,13 @@
- try:
-     import ctypes
--    _libc = ctypes.cdll.LoadLibrary("libc.so.6")
--    _mpcdec = ctypes.cdll.LoadLibrary("libmpcdec.so.3")
-+
-+    if 'load' in dir(ctypes.cdll):
-+        _libc = ctypes.cdll.load("libc.so.6")
-+        _mpcdec = ctypes.cdll.load("libmpcdec.so.3")
-+    else:
-+        _libc = ctypes.cdll.LoadLibrary("libc.so.6")
-+        _mpcdec = ctypes.cdll.LoadLibrary("libmpcdec.so.3")
- except (ImportError, OSError):
-     extensions = []
- else:
-diff -urN quodlibet-0.21.orig/formats/wavpack.py quodlibet-0.21/formats/wavpack.py
---- quodlibet-0.21.orig/formats/wavpack.py     2006-06-08 20:08:07.000000000 -0400
-+++ quodlibet-0.21/formats/wavpack.py  2006-06-08 20:10:51.000000000 -0400
-@@ -12,7 +12,10 @@
- try:
-     import ctypes
--    _wavpack = ctypes.cdll.LoadLibrary("libwavpack.so.0")
-+    if 'load' in dir(ctypes.cdll):
-+        _wavpack = ctypes.cdll.load("libwavpack.so.0")
-+    else:
-+        _wavpack = ctypes.cdll.LoadLibrary("libwavpack.so.0")
- except (ImportError, OSError):
-     extensions = []
- else:
diff --git a/media-sound/quodlibet/quodlibet-0.21.1.ebuild b/media-sound/quodlibet/quodlibet-0.21.1.ebuild
deleted file mode 100644 (file)
index a536bc2..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/quodlibet/quodlibet-0.21.1.ebuild,v 1.2 2006/06/17 12:25:29 tcort Exp $
-
-inherit eutils python
-
-DESCRIPTION="Quod Libet is a GTK+-based audio player written in Python."
-HOMEPAGE="http://www.sacredchao.net/quodlibet/"
-SRC_URI="http://www.sacredchao.net/~piman/software/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-IUSE="aac alsa esd flac gnome mad musepack oss vorbis"
-
-DEPEND=">=virtual/python-2.4
-       >=dev-python/pygtk-2.8
-       >=x11-libs/gtk+-2.8
-       >=media-libs/mutagen-1.4
-       >=media-libs/gstreamer-0.10.3
-       >=media-libs/gst-plugins-base-0.10.3
-       >=media-libs/gst-plugins-good-0.10.2
-       >=dev-python/gst-python-0.10.2
-       >=media-plugins/gst-plugins-gconf-0.10.3
-       mad? ( >=media-plugins/gst-plugins-mad-0.10.2 )
-       vorbis? ( >=media-plugins/gst-plugins-vorbis-0.10.2
-               >=media-plugins/gst-plugins-ogg-0.10.2 )
-       flac? ( >=media-plugins/gst-plugins-flac-0.10.2 )
-       aac? ( >=media-plugins/gst-plugins-faad-0.10.1
-               dev-python/ctypes )
-       musepack? ( >=media-plugins/gst-plugins-musepack-0.10.0
-               dev-python/ctypes )
-       alsa? ( >=media-plugins/gst-plugins-alsa-0.10.2 )
-       oss? ( >=media-plugins/gst-plugins-oss-0.10.2 )
-       esd? ( >=media-plugins/gst-plugins-esd-0.10.2 )
-       gnome? ( dev-python/gnome-python-extras
-               >=media-plugins/gst-plugins-gnomevfs-0.10.2
-               dev-python/feedparser )"
-
-src_unpack() {
-       unpack ${A}
-       cd ${S}
-
-       epatch "${FILESDIR}"/${PN}-0.17.1-multilibfix.patch
-       epatch "${FILESDIR}"/${PN}-0.21-ctypes.patch
-}
-
-src_compile() {
-       emake extensions || die "emake extensions failed"
-}
-
-src_install() {
-       make PREFIX=/usr DESTDIR="${D}" libdir="$(get_libdir)" install ||
-               die "install failed"
-       dodoc README NEWS
-}
-
-pkg_postinst() {
-       python_mod_optimize /usr/share/${PN}
-
-       if ! use mad; then
-               einfo ""
-               einfo "MAD decoding library is disabled."
-               einfo "This means that playing mp3 will not be possible."
-               einfo "For mp3 playback, please add the mad USE flag."
-       fi
-
-       einfo ""
-       einfo "Installing Quod Libet from an ebuild is not supported"
-       einfo "upstream. If you encounter any problems, file bugs on"
-       einfo "bugs.gentoo.org. DO NOT USE THE UPSTREAM BUG SYSTEM."
-       einfo ""
-}
-
-pkg_postrm() {
-       python_mod_cleanup /usr/share/${PN}
-}
diff --git a/media-sound/quodlibet/quodlibet-0.22.ebuild b/media-sound/quodlibet/quodlibet-0.22.ebuild
deleted file mode 100644 (file)
index b3287b1..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/quodlibet/quodlibet-0.22.ebuild,v 1.2 2006/07/22 14:29:09 tcort Exp $
-
-inherit eutils python
-
-DESCRIPTION="Quod Libet is a GTK+-based audio player written in Python."
-HOMEPAGE="http://www.sacredchao.net/quodlibet/"
-SRC_URI="http://www.sacredchao.net/~piman/software/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-IUSE="aac alsa dbus esd flac gnome mad mmkeys musepack oss trayicon vorbis"
-
-DEPEND=">=virtual/python-2.4.3-r1
-       trayicon? ( >=dev-python/pygtk-2.8 )
-       mmkeys? ( >=dev-python/pygtk-2.8 )"
-
-RDEPEND="${DEPEND}
-       >=dev-python/pygtk-2.8
-       >=media-libs/mutagen-1.5
-       >=media-libs/gst-plugins-good-0.10.2
-       >=dev-python/gst-python-0.10.2
-       >=media-plugins/gst-plugins-gconf-0.10.3
-       mad? ( >=media-plugins/gst-plugins-mad-0.10.2 )
-       vorbis? ( >=media-plugins/gst-plugins-vorbis-0.10.2
-               >=media-plugins/gst-plugins-ogg-0.10.2 )
-       flac? ( >=media-plugins/gst-plugins-flac-0.10.2 )
-       aac? ( >=media-plugins/gst-plugins-faad-0.10.1
-               >=dev-python/ctypes-0.9.9.6 )
-       musepack? ( >=media-plugins/gst-plugins-musepack-0.10.0
-               >=dev-python/ctypes-0.9.9.6 )
-       alsa? ( >=media-plugins/gst-plugins-alsa-0.10.2 )
-       oss? ( >=media-plugins/gst-plugins-oss-0.10.2 )
-       esd? ( >=media-plugins/gst-plugins-esd-0.10.2 )
-       gnome? ( dev-python/gnome-python-extras
-               >=media-plugins/gst-plugins-gnomevfs-0.10.2
-               dev-python/feedparser )
-       dbus? ( >=sys-apps/dbus-0.62 )"
-
-PDEPEND="trayicon? ( media-plugins/quodlibet-trayicon )"
-
-pkg_setup() {
-       if use dbus && ! built_with_use sys-apps/dbus python ; then
-               eerror "dbus is missing python support. Please add 'python'"
-               eerror "to your USE flags, and re-emerge sys-apps/dbus"
-               die "dbus needs python support"
-       fi
-}
-
-src_unpack() {
-       unpack ${A}
-       cd ${S}
-
-       epatch "${FILESDIR}"/${PN}-0.17.1-multilibfix.patch
-}
-
-src_compile() {
-       if use trayicon ; then
-               emake _trayicon.so || die "emake _trayicon.so failed"
-       fi
-       if use mmkeys ; then
-               emake _mmkeys.so   || die "emake _mmkeys.so failed"
-       fi
-}
-
-src_install() {
-       emake PREFIX=/usr DESTDIR="${D}" libdir="$(get_libdir)" install ||
-               die "install failed"
-       dodoc README NEWS
-}
-
-pkg_postinst() {
-       python_mod_optimize /usr/share/${PN}
-
-       if ! use mad; then
-               elog ""
-               elog "MAD decoding library is disabled."
-               elog "This means that playing mp3 will not be possible."
-               elog "For mp3 playback, please add the mad USE flag."
-       fi
-
-       elog ""
-       elog "Installing Quod Libet from an ebuild is not supported"
-       elog "upstream. If you encounter any problems, file bugs on"
-       elog "bugs.gentoo.org. DO NOT USE THE UPSTREAM BUG SYSTEM."
-       elog ""
-}
-
-pkg_postrm() {
-       python_mod_cleanup /usr/share/${PN}
-}
diff --git a/media-sound/quodlibet/quodlibet-0.23.1.ebuild b/media-sound/quodlibet/quodlibet-0.23.1.ebuild
deleted file mode 100644 (file)
index d2b401e..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/quodlibet/quodlibet-0.23.1.ebuild,v 1.2 2006/09/09 00:26:51 tcort Exp $
-
-inherit eutils python
-
-DESCRIPTION="Quod Libet is a GTK+-based audio player written in Python."
-HOMEPAGE="http://www.sacredchao.net/quodlibet/"
-SRC_URI="http://www.sacredchao.net/~piman/software/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-IUSE="aac alsa dbus esd flac gnome mad mmkeys musepack oss trayicon vorbis"
-
-DEPEND=">=virtual/python-2.4.3-r1
-       trayicon? ( >=dev-python/pygtk-2.8 )
-       mmkeys? ( >=dev-python/pygtk-2.8 )"
-
-RDEPEND="${DEPEND}
-       >=dev-python/pygtk-2.8
-       >=media-libs/mutagen-1.6
-       >=media-libs/gst-plugins-good-0.10.2
-       >=dev-python/gst-python-0.10.2
-       mad? ( >=media-plugins/gst-plugins-mad-0.10.2 )
-       vorbis? ( >=media-plugins/gst-plugins-vorbis-0.10.2
-               >=media-plugins/gst-plugins-ogg-0.10.2 )
-       flac? ( >=media-plugins/gst-plugins-flac-0.10.2 )
-       aac? ( >=media-plugins/gst-plugins-faad-0.10.1
-               >=dev-python/ctypes-0.9.9.6 )
-       musepack? ( >=media-plugins/gst-plugins-musepack-0.10.0
-               >=dev-python/ctypes-0.9.9.6 )
-       alsa? ( >=media-plugins/gst-plugins-alsa-0.10.2 )
-       oss? ( >=media-plugins/gst-plugins-oss-0.10.2 )
-       esd? ( >=media-plugins/gst-plugins-esd-0.10.2 )
-       gnome? ( dev-python/gnome-python-extras
-               >=media-plugins/gst-plugins-gconf-0.10.3
-               >=media-plugins/gst-plugins-gnomevfs-0.10.2
-               dev-python/feedparser )
-       dbus? ( >=sys-apps/dbus-0.62 )"
-
-PDEPEND="trayicon? ( media-plugins/quodlibet-trayicon )"
-
-pkg_setup() {
-       if use dbus && ! built_with_use sys-apps/dbus python ; then
-               eerror "dbus is missing python support. Please add 'python'"
-               eerror "to your USE flags, and re-emerge sys-apps/dbus"
-               die "dbus needs python support"
-       fi
-}
-
-src_unpack() {
-       unpack ${A}
-       cd ${S}
-
-       # multilib fix
-       sed -i -e "s,^TODEP = lib/quodlibet,TODEP = \$(libdir)/quodlibet," Makefile
-
-       # no gst-plugins-gconf, attempt to guess the proper pipeline value. Bug #133043, #146728.
-       if ! use gnome; then
-               local sinktype="alsasink"
-
-               use esd  && sinktype="esdsink"
-               use oss  && sinktype="osssink"
-               use alsa && sinktype="alsasink"
-
-               elog "Setting the default pipeline to ${sinktype}"
-
-               sed -i -e "s,^          \"pipeline\": \"\",          \"pipeline\": \"${sinktype}\"," config.py
-       fi
-}
-
-src_compile() {
-       if use trayicon ; then
-               emake _trayicon.so || die "emake _trayicon.so failed"
-       fi
-
-       if use mmkeys ; then
-               emake _mmkeys.so   || die "emake _mmkeys.so failed"
-       fi
-}
-
-src_install() {
-       emake PREFIX=/usr DESTDIR="${D}" libdir="$(get_libdir)" install || die "install failed"
-       dodoc README NEWS
-}
-
-pkg_postinst() {
-       python_mod_optimize /usr/share/${PN}
-
-       if ! use mad; then
-               elog ""
-               elog "You do not have the 'mad' USE flag enabled."
-               elog "gst-plugins-mad, which is required for mp3 playback, may"
-               elog "not be installed. For mp3 support, enable the 'mad'"
-               elog "USE flag and emerge =media-sound/${P}."
-       fi
-
-       if ! use gnome; then
-               elog ""
-               elog "You do not have the 'gnome' USE flag enabled."
-               elog "media-plugins/gst-plugins-gnomevfs may not be installed,"
-               elog "so the proper pipeline won't be automatically selected."
-               elog "We've tried to select the proper pipeline based on your"
-               elog "USE flags, but if we guessed wrong you may have to set"
-               elog "'pipeline = ' in your ~/.quodlibet/config file to one"
-               elog "of the following: alsasink, osssink, esdsink. To enable"
-               elog "automatic selection of the proper pipeline, enable the"
-               elog "'gnome' USE flag and emerge =media-sound/${P}."
-       fi
-
-       elog ""
-       elog "Installing Quod Libet from an ebuild is not supported"
-       elog "upstream. If you encounter any problems, file bugs on"
-       elog "bugs.gentoo.org. DO NOT USE THE UPSTREAM BUG SYSTEM."
-       elog ""
-}
-
-pkg_postrm() {
-       python_mod_cleanup /usr/share/${PN}
-}
diff --git a/media-sound/quodlibet/quodlibet-0.23.ebuild b/media-sound/quodlibet/quodlibet-0.23.ebuild
deleted file mode 100644 (file)
index c0aba5e..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/quodlibet/quodlibet-0.23.ebuild,v 1.1 2006/08/17 12:19:49 tcort Exp $
-
-inherit eutils python
-
-DESCRIPTION="Quod Libet is a GTK+-based audio player written in Python."
-HOMEPAGE="http://www.sacredchao.net/quodlibet/"
-SRC_URI="http://www.sacredchao.net/~piman/software/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-IUSE="aac alsa dbus esd flac gnome mad mmkeys musepack oss trayicon vorbis"
-
-DEPEND=">=virtual/python-2.4.3-r1
-       trayicon? ( >=dev-python/pygtk-2.8 )
-       mmkeys? ( >=dev-python/pygtk-2.8 )"
-
-RDEPEND="${DEPEND}
-       >=dev-python/pygtk-2.8
-       >=media-libs/mutagen-1.6
-       >=media-libs/gst-plugins-good-0.10.2
-       >=dev-python/gst-python-0.10.2
-       >=media-plugins/gst-plugins-gconf-0.10.3
-       mad? ( >=media-plugins/gst-plugins-mad-0.10.2 )
-       vorbis? ( >=media-plugins/gst-plugins-vorbis-0.10.2
-               >=media-plugins/gst-plugins-ogg-0.10.2 )
-       flac? ( >=media-plugins/gst-plugins-flac-0.10.2 )
-       aac? ( >=media-plugins/gst-plugins-faad-0.10.1
-               >=dev-python/ctypes-0.9.9.6 )
-       musepack? ( >=media-plugins/gst-plugins-musepack-0.10.0
-               >=dev-python/ctypes-0.9.9.6 )
-       alsa? ( >=media-plugins/gst-plugins-alsa-0.10.2 )
-       oss? ( >=media-plugins/gst-plugins-oss-0.10.2 )
-       esd? ( >=media-plugins/gst-plugins-esd-0.10.2 )
-       gnome? ( dev-python/gnome-python-extras
-               >=media-plugins/gst-plugins-gnomevfs-0.10.2
-               dev-python/feedparser )
-       dbus? ( >=sys-apps/dbus-0.62 )"
-
-PDEPEND="trayicon? ( media-plugins/quodlibet-trayicon )"
-
-pkg_setup() {
-       if use dbus && ! built_with_use sys-apps/dbus python ; then
-               eerror "dbus is missing python support. Please add 'python'"
-               eerror "to your USE flags, and re-emerge sys-apps/dbus"
-               die "dbus needs python support"
-       fi
-}
-
-src_unpack() {
-       unpack ${A}
-       cd ${S}
-
-       epatch "${FILESDIR}"/${PN}-0.17.1-multilibfix.patch
-}
-
-src_compile() {
-       if use trayicon ; then
-               emake _trayicon.so || die "emake _trayicon.so failed"
-       fi
-       if use mmkeys ; then
-               emake _mmkeys.so   || die "emake _mmkeys.so failed"
-       fi
-}
-
-src_install() {
-       emake PREFIX=/usr DESTDIR="${D}" libdir="$(get_libdir)" install ||
-               die "install failed"
-       dodoc README NEWS
-}
-
-pkg_postinst() {
-       python_mod_optimize /usr/share/${PN}
-
-       if ! use mad; then
-               elog ""
-               elog "MAD decoding library is disabled."
-               elog "This means that playing mp3 will not be possible."
-               elog "For mp3 playback, please add the mad USE flag."
-       fi
-
-       elog ""
-       elog "Installing Quod Libet from an ebuild is not supported"
-       elog "upstream. If you encounter any problems, file bugs on"
-       elog "bugs.gentoo.org. DO NOT USE THE UPSTREAM BUG SYSTEM."
-       elog ""
-}
-
-pkg_postrm() {
-       python_mod_cleanup /usr/share/${PN}
-}