summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Cort <tcort@gentoo.org>2006-06-11 22:41:10 +0000
committerThomas Cort <tcort@gentoo.org>2006-06-11 22:41:10 +0000
commit8956b61b236da4b93927f2f05f58771ee91fc302 (patch)
treedd6812740033c816eae9d8360dc4c7cec02db34b /media-sound/quodlibet
parentAdded support for mailwrapper. (diff)
downloadgentoo-2-8956b61b236da4b93927f2f05f58771ee91fc302.tar.gz
gentoo-2-8956b61b236da4b93927f2f05f58771ee91fc302.tar.bz2
gentoo-2-8956b61b236da4b93927f2f05f58771ee91fc302.zip
Version bump to 0.21.
(Portage version: 2.1)
Diffstat (limited to 'media-sound/quodlibet')
-rw-r--r--media-sound/quodlibet/ChangeLog8
-rw-r--r--media-sound/quodlibet/files/digest-quodlibet-0.213
-rw-r--r--media-sound/quodlibet/files/quodlibet-0.21-ctypes.patch65
-rw-r--r--media-sound/quodlibet/quodlibet-0.21.ebuild77
4 files changed, 152 insertions, 1 deletions
diff --git a/media-sound/quodlibet/ChangeLog b/media-sound/quodlibet/ChangeLog
index 7d212492d288..28b1f8611067 100644
--- a/media-sound/quodlibet/ChangeLog
+++ b/media-sound/quodlibet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/quodlibet
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/quodlibet/ChangeLog,v 1.32 2006/05/21 23:42:56 tcort Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/quodlibet/ChangeLog,v 1.33 2006/06/11 22:41:10 tcort Exp $
+
+*quodlibet-0.21 (11 Jun 2006)
+
+ 11 Jun 2006; Thomas Cort <tcort@gentoo.org>
+ +files/quodlibet-0.21-ctypes.patch, +quodlibet-0.21.ebuild:
+ Version bump to 0.21.
21 May 2006; Thomas Cort <tcort@gentoo.org>
-files/quodlibet-0.19-alsa.patch, -files/quodlibet-0.19-esd.patch,
diff --git a/media-sound/quodlibet/files/digest-quodlibet-0.21 b/media-sound/quodlibet/files/digest-quodlibet-0.21
new file mode 100644
index 000000000000..286382fd3ab9
--- /dev/null
+++ b/media-sound/quodlibet/files/digest-quodlibet-0.21
@@ -0,0 +1,3 @@
+MD5 91f9b4d2c25c38dc9039d99aa63b0a65 quodlibet-0.21.tar.gz 498001
+RMD160 c190dac671bd9660c002e45e553a45ae8694acf0 quodlibet-0.21.tar.gz 498001
+SHA256 3143042adfe8a29dff905db022b9ae4cf4cd80f89d254ed7f5fdf10e9c688254 quodlibet-0.21.tar.gz 498001
diff --git a/media-sound/quodlibet/files/quodlibet-0.21-ctypes.patch b/media-sound/quodlibet/files/quodlibet-0.21-ctypes.patch
new file mode 100644
index 000000000000..f3b331ab20bf
--- /dev/null
+++ b/media-sound/quodlibet/files/quodlibet-0.21-ctypes.patch
@@ -0,0 +1,65 @@
+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.ebuild b/media-sound/quodlibet/quodlibet-0.21.ebuild
new file mode 100644
index 000000000000..ced1cf332938
--- /dev/null
+++ b/media-sound/quodlibet/quodlibet-0.21.ebuild
@@ -0,0 +1,77 @@
+# 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.ebuild,v 1.1 2006/06/11 22:41:10 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 ~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}
+}