summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-09-17 08:00:41 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-09-17 08:00:41 +0000
commitb15c5e6bdffbdcf2b05f92d885e560efb6ea2d89 (patch)
tree7f945c41ae6fb090a1ef00332bca9dd2e4cabbd2 /media-sound
parentAutomated update of use.local.desc (diff)
downloadhistorical-b15c5e6bdffbdcf2b05f92d885e560efb6ea2d89.tar.gz
historical-b15c5e6bdffbdcf2b05f92d885e560efb6ea2d89.tar.bz2
historical-b15c5e6bdffbdcf2b05f92d885e560efb6ea2d89.zip
Version bump, by Kai Huuhko <kai.huuhko@gmail.com>, bug #237576
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26.3 x86_64
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/quodlibet/ChangeLog8
-rw-r--r--media-sound/quodlibet/Manifest16
-rw-r--r--media-sound/quodlibet/metadata.xml1
-rw-r--r--media-sound/quodlibet/quodlibet-2.0.ebuild139
4 files changed, 161 insertions, 3 deletions
diff --git a/media-sound/quodlibet/ChangeLog b/media-sound/quodlibet/ChangeLog
index 5c74c6fa0ade..4f35c80d8a4f 100644
--- a/media-sound/quodlibet/ChangeLog
+++ b/media-sound/quodlibet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/quodlibet
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/quodlibet/ChangeLog,v 1.56 2008/05/12 09:04:29 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/quodlibet/ChangeLog,v 1.57 2008/09/17 08:00:41 aballier Exp $
+
+*quodlibet-2.0 (17 Sep 2008)
+
+ 17 Sep 2008; Alexis Ballier <aballier@gentoo.org> metadata.xml,
+ +quodlibet-2.0.ebuild:
+ Version bump, by Kai Huuhko <kai.huuhko@gmail.com>, bug #237576
12 May 2008; Alexis Ballier <aballier@gentoo.org> quodlibet-1.0.ebuild:
intltool is only a build dep, thanks Diego, bug #221513
diff --git a/media-sound/quodlibet/Manifest b/media-sound/quodlibet/Manifest
index ef1863f415d2..1f747e807c7f 100644
--- a/media-sound/quodlibet/Manifest
+++ b/media-sound/quodlibet/Manifest
@@ -1,4 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST quodlibet-1.0.tar.gz 617369 RMD160 a52dd7c7188b34009ca8e562faa23e05fba7c8c5 SHA1 9a72043b635448b3d148bd7216a2e00271a926a0 SHA256 bba92a91ac462b0277ad788a655b56af8bf02496a5878692dc88ffc4fdaddba4
+DIST quodlibet-2.0.tar.gz 842921 RMD160 f2276a52abb947741c1c519d696de66a92b7c6de SHA1 93d378234feae798c65452085add0b46a2440be4 SHA256 1c1e28a58e0a52055fc0f0ecb833088be6b9bcfbebb6c8ef9ff9e11ea3f1393a
EBUILD quodlibet-1.0.ebuild 3995 RMD160 544e3eb3cdf33234c322fcc891a1494637e52c99 SHA1 4e7598e88e2c38dad4f2f375054c2384ee61d724 SHA256 03eaadfa2bcd6a0cf501e1852b8a35da9d5a1ea05f5cb4b098a93915ff27997a
-MISC ChangeLog 10186 RMD160 9f2f9857769a5b19315ffc72669bc7a308ca0d7d SHA1 76ed3224684ed0bd7b8e3c1b7deae1981b321ad5 SHA256 e99aef88ffc3eb54e27e60fdc8509f68359888ac28b75505112bbbf330f91091
-MISC metadata.xml 813 RMD160 b9f68e4628ce7b62032647b81285bc2378b25ee9 SHA1 d3a0ec4cf8faa3595a3492d7a885f82300af39ae SHA256 a48a25f411304edfc11294a8ba4a7fee6ff918e1e76b8b97c5b97b731bff7351
+EBUILD quodlibet-2.0.ebuild 4631 RMD160 c526cfa10574f5295df2aa07c54d86179adba4ec SHA1 ac133ade8a750eb8c612c2e25ba0791ee7cdb426 SHA256 5a56e3e366cd8f5163f133e90d05fe2aeee98ff51bc7b12539bb8f766e932509
+MISC ChangeLog 10374 RMD160 f58d94b15a537b9b39f0c9f7da9c427faef7f8e5 SHA1 03b1dfd70c6ba3b098167a6bf0d3937908508988 SHA256 f5b9e99e3f9facfaff982ff6f868de11203aa8a22a255d9b731ee598dc0e08ba
+MISC metadata.xml 882 RMD160 31c7791dd21bdc9ae4a7a8ca9acfa8ec32cdc738 SHA1 793a5d2de067c1f1755dc0cca6b3cdec7c58b5a1 SHA256 f62060ee5add9b3ad5b737bd621b6cde66a7adae5d97b5f204db3359c34da23d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkjQuS4ACgkQvFcC4BYPU0prYACfcA7B8bmrDmj+tEEmyH6q5GOF
+tDcAn0hWZkiC7MV0q7GPwbd8g2fZVmTF
+=Ltrn
+-----END PGP SIGNATURE-----
diff --git a/media-sound/quodlibet/metadata.xml b/media-sound/quodlibet/metadata.xml
index 5feb452e9dc4..2048a8fc5968 100644
--- a/media-sound/quodlibet/metadata.xml
+++ b/media-sound/quodlibet/metadata.xml
@@ -14,5 +14,6 @@
<use>
<flag name="mmkeys">Enable support for special keys on multimedia keyboards</flag>
<flag name="trayicon">Enable support for trayicon</flag>
+ <flag name="tta">Enable TTA (True-Audio Loseless) support</flag>
</use>
</pkgmetadata>
diff --git a/media-sound/quodlibet/quodlibet-2.0.ebuild b/media-sound/quodlibet/quodlibet-2.0.ebuild
new file mode 100644
index 000000000000..a0ec40c5b427
--- /dev/null
+++ b/media-sound/quodlibet/quodlibet-2.0.ebuild
@@ -0,0 +1,139 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/quodlibet/quodlibet-2.0.ebuild,v 1.1 2008/09/17 08:00:41 aballier Exp $
+
+NEED_PYTHON=2.4.4
+
+inherit distutils
+
+DESCRIPTION="Quod Libet is a GTK+-based audio player written in Python."
+HOMEPAGE="http://code.google.com/p/${PN}/"
+SRC_URI="http://quodlibet.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="aac alsa dbus esd ffmpeg flac gnome gstreamer hal ipod mad musepack oss trayicon tta vorbis xine"
+
+COMMON_DEPEND=">=dev-python/pygtk-2.12"
+
+RDEPEND="${COMMON_DEPEND}
+ >=media-libs/mutagen-1.14
+ gstreamer? (
+ >=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 )
+ musepack? ( >=media-plugins/gst-plugins-musepack-0.10.3 )
+ ffmpeg? ( >=media-plugins/gst-plugins-ffmpeg-0.10.1
+ >=media-libs/gst-plugins-ugly-0.10.2 )
+ tta? ( >=media-libs/gst-plugins-bad-0.10.3 )
+
+ 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 )
+ )
+ xine? ( >=media-libs/xine-lib-1.1.0
+ dev-python/ctypes )
+ 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 )
+ hal? ( sys-apps/hal )
+ dbus? ( >=dev-python/dbus-python-0.71 )
+ ipod? ( >=media-libs/libgpod-0.5.2 )"
+
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool"
+
+PDEPEND="trayicon? ( media-plugins/quodlibet-trayicon )"
+
+pkg_setup() {
+ if ! use gstreamer && ! use xine; then
+ eerror "You must have either gstreamer or xine USE flag enabled."
+ die "No backend USE flags enabled."
+ fi
+
+ if use ipod && ! built_with_use media-libs/libgpod python; then
+ eerror "media-libs/libgpod must be built with 'python' support."
+ die "Recompile media-libs/libgpod after enabling the 'python' USE flag"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # The backend is configured as gstbe by default.
+ if use gstreamer && use xine; then
+ elog ""
+ elog "You have both backend USE flags (gstreamer and xine) enabled."
+ elog "Gstreamer is considered to be more stable of the two, so we have"
+ elog "selected it as your default backend."
+ elif use gstreamer; then
+ elog "Gstreamer backend selected."
+ else
+ sed -i -e "s,^ \"backend\": \"gstbe\", \"backend\": \"xinebe\"," quodlibet/config.py && \
+ elog "Xine backend selected."
+ fi
+ elog "You can change the backend by editing the ~/.${PN}/config file."
+
+ # 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}\"," quodlibet/config.py
+ fi
+}
+
+src_install() {
+ ${python} setup.py install --prefix="${D}/usr" --no-compile "$@" || die
+
+ DDOCS="CHANGELOG KNOWN_BUGS MAINTAINERS PKG-INFO CONTRIBUTORS TODO NEWS"
+ DDOCS="${DDOCS} Change* MANIFEST* README* AUTHORS"
+
+ for doc in ${DDOCS}; do
+ [ -s "$doc" ] && dodoc $doc
+ done
+}
+
+pkg_postinst() {
+ 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 ""
+
+ distutils_pkg_postinst
+}