# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="A Music player and management for GNOME" HOMEPAGE="http://listengnome.free.fr" SRC_URI="mirror://sourceforge/listengnome/${P}.tar.gz" LICENSE="GPL-2" IUSE="aac flac ipod mad vorbis" SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=">=media-libs/gstreamer-0.10.0 >=media-libs/gst-plugins-base-0.10.0 >=media-libs/gst-plugins-good-0.10.0 >=media-plugins/gst-plugins-gnomevfs-0.10.0 >=media-plugins/gst-plugins-gconf-0.10.0 >=media-plugins/gst-plugins-cdparanoia-0.10.0 >=media-plugins/gst-plugins-xvideo-0.10.0 mad? ( >=media-plugins/gst-plugins-mad-0.10.0 ) vorbis? ( >=media-plugins/gst-plugins-ogg-0.10.0 >=media-plugins/gst-plugins-vorbis-0.10.0 ) flac? ( >=media-plugins/gst-plugins-flac-0.10.0 ) aac? ( >=media-plugins/gst-plugins-faad-0.10.0 dev-python/ctypes ) ipod? ( media-libs/libgpod )" DEPEND="${RDEPEND} >=x11-libs/gtk+-2.8 >=sys-apps/dbus-0.50 >=dev-lang/python-2.3 >=dev-python/pygtk-2.6 >=dev-python/gst-python-0.10 dev-python/pyvorbis dev-python/pymad >=dev-python/pysqlite-2.0 dev-python/gnome-python-extras" pkg_setup() { if use ipod; then ewarn "In order to use your iPod with Listen, you need to have" ewarn "the python bindings for libgpod. They are part of libgpod" ewarn "but aren't installed by the current ebuild." ewarn "See bug #127276." fi if ! built_with_use sys-apps/dbus python ; then echo eerror "In order to install Listen, you need to have sys-apps/dbus" eerror "with 'python' in your USE flags. Please add that flag," eerror "re-emerge dbus, and then emerge listen." die "sys-apps/dbus is missing the python binding." fi } src_install() { make DESTDIR="${D}" PREFIX="/usr" install || die "Install failure" }