public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-sound/quodlibet: metadata.xml ChangeLog quodlibet-2.0.ebuild
@ 2008-09-17  8:00 Alexis Ballier (aballier)
  0 siblings, 0 replies; only message in thread
From: Alexis Ballier (aballier) @ 2008-09-17  8:00 UTC (permalink / raw
  To: gentoo-commits

aballier    08/09/17 08:00:41

  Modified:             metadata.xml ChangeLog
  Added:                quodlibet-2.0.ebuild
  Log:
  Version bump, by Kai Huuhko <kai.huuhko@gmail.com>, bug #237576
  (Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64)

Revision  Changes    Path
1.6                  media-sound/quodlibet/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/quodlibet/metadata.xml?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/quodlibet/metadata.xml?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/quodlibet/metadata.xml?r1=1.5&r2=1.6

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/quodlibet/metadata.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- metadata.xml	8 Aug 2008 04:24:37 -0000	1.5
+++ metadata.xml	17 Sep 2008 08:00:41 -0000	1.6
@@ -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>



1.57                 media-sound/quodlibet/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/quodlibet/ChangeLog?rev=1.57&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/quodlibet/ChangeLog?rev=1.57&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/quodlibet/ChangeLog?r1=1.56&r2=1.57

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/quodlibet/ChangeLog,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- ChangeLog	12 May 2008 09:04:29 -0000	1.56
+++ ChangeLog	17 Sep 2008 08:00:41 -0000	1.57
@@ -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



1.1                  media-sound/quodlibet/quodlibet-2.0.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/quodlibet/quodlibet-2.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/quodlibet/quodlibet-2.0.ebuild?rev=1.1&content-type=text/plain

Index: quodlibet-2.0.ebuild
===================================================================
# 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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-17  8:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-17  8:00 [gentoo-commits] gentoo-x86 commit in media-sound/quodlibet: metadata.xml ChangeLog quodlibet-2.0.ebuild Alexis Ballier (aballier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox