diff options
Diffstat (limited to 'media-sound/exaile/exaile-0.2.2.ebuild')
-rw-r--r-- | media-sound/exaile/exaile-0.2.2.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/media-sound/exaile/exaile-0.2.2.ebuild b/media-sound/exaile/exaile-0.2.2.ebuild new file mode 100644 index 000000000..263496b05 --- /dev/null +++ b/media-sound/exaile/exaile-0.2.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Exaile is a media player aiming to be similar to KDE's AmaroK, but for GTK" +HOMEPAGE="http://www.exaile.org" +SRC_URI="http://www.exaile.org/files/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=dev-lang/python-2.4 + >=dev-python/pygtk-2.0" +RDEPEND="${DEPEND} + >=dev-python/pysqlite-2 + >=media-libs/gstreamer-0.10 + >=media-libs/gst-plugins-good-0.10 + >=dev-python/gst-python-0.10 + >=media-libs/mutagen-1.6 + sys-apps/dbus" + +S=${WORKDIR}/${PN} + +pkg_setup() { + if ! built_with_use sys-apps/dbus python; then + eerror "dbus has to be built with python support" + die "dbus python use-flag not set" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e '/mutagen/d' \ + Makefile || die "sed failed" +} + +src_compile() { + emake CC=$(tc-getCC) || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} |