summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-12-13 18:45:19 +0000
committerSamuli Suominen <drac@gentoo.org>2007-12-13 18:45:19 +0000
commit2cf96faf0e9b25f10c2bd92ec23d015095992117 (patch)
treedcf1cd6c144e3bf6e29ae4f624667af5f04e1e78 /media-sound/exaile
parentVersion bump (diff)
downloadgentoo-2-2cf96faf0e9b25f10c2bd92ec23d015095992117.tar.gz
gentoo-2-2cf96faf0e9b25f10c2bd92ec23d015095992117.tar.bz2
gentoo-2-2cf96faf0e9b25f10c2bd92ec23d015095992117.zip
Upstream included entire .bzr branch in old tarball, so this minor version bump is only to get a reduced tarball since exaile is going stable.
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'media-sound/exaile')
-rw-r--r--media-sound/exaile/ChangeLog9
-rw-r--r--media-sound/exaile/exaile-0.2.11.1.ebuild98
-rw-r--r--media-sound/exaile/files/digest-exaile-0.2.11.13
-rw-r--r--media-sound/exaile/files/exaile-0.2.11.1-libgtkembedmoz.patch19
4 files changed, 128 insertions, 1 deletions
diff --git a/media-sound/exaile/ChangeLog b/media-sound/exaile/ChangeLog
index b61f78347ee3..8c965da8b116 100644
--- a/media-sound/exaile/ChangeLog
+++ b/media-sound/exaile/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/exaile
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/exaile/ChangeLog,v 1.31 2007/11/28 15:42:49 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/exaile/ChangeLog,v 1.32 2007/12/13 18:45:18 drac Exp $
+
+*exaile-0.2.11.1 (13 Dec 2007)
+
+ 13 Dec 2007; Samuli Suominen <drac@gentoo.org>
+ +files/exaile-0.2.11.1-libgtkembedmoz.patch, +exaile-0.2.11.1.ebuild:
+ Upstream included entire .bzr branch in old tarball, so this minor version
+ bump is only to get a reduced tarball since exaile is going stable.
*exaile-0.2.11-r2 (28 Nov 2007)
diff --git a/media-sound/exaile/exaile-0.2.11.1.ebuild b/media-sound/exaile/exaile-0.2.11.1.ebuild
new file mode 100644
index 000000000000..260975394cd0
--- /dev/null
+++ b/media-sound/exaile/exaile-0.2.11.1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/exaile/exaile-0.2.11.1.ebuild,v 1.1 2007/12/13 18:45:18 drac Exp $
+
+EAPI=1
+
+inherit eutils fdo-mime multilib python
+
+GVER=0.10
+
+MY_P=${PN}_${PV}
+
+DESCRIPTION="a media player aiming to be similar to AmaroK, but for GTK+"
+HOMEPAGE="http://www.exaile.org"
+SRC_URI="http://www.exaile.org/files/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="aac alsa cdparanoia +equalizer flac gnome ipod libnotify +libsexy
+ mad musepack nls ogg oss vorbis"
+
+RDEPEND="dev-python/dbus-python
+ >=media-libs/mutagen-1.12
+ >=dev-python/pygtk-2.10
+ || ( >=dev-lang/python-2.5 >=dev-python/pysqlite-2.3.4-r1 )
+ || ( >=dev-lang/python-2.5 dev-python/elementtree )
+ libnotify? ( dev-python/notify-python )
+ libsexy? ( dev-python/sexy-python )
+ gnome? ( >=dev-python/gnome-python-extras-2.14.2-r1
+ >=media-plugins/gst-plugins-gconf-${GVER}
+ >=media-plugins/gst-plugins-gnomevfs-${GVER} )
+ >=media-libs/gst-plugins-good-${GVER}
+ equalizer? ( >=media-libs/gst-plugins-bad-0.10.5 )
+ >=dev-python/gst-python-0.10.9
+ musepack? ( >=media-plugins/gst-plugins-musepack-${GVER} )
+ vorbis? ( >=media-plugins/gst-plugins-vorbis-${GVER} )
+ flac? ( >=media-plugins/gst-plugins-flac-${GVER} )
+ aac? ( >=media-plugins/gst-plugins-faad-${GVER} )
+ alsa? ( >=media-plugins/gst-plugins-alsa-${GVER} )
+ oss? ( >=media-plugins/gst-plugins-oss-${GVER} )
+ mad? ( >=media-plugins/gst-plugins-mad-${GVER} )
+ ogg? ( >=media-plugins/gst-plugins-ogg-${GVER} )
+ cdparanoia? ( >=media-plugins/gst-plugins-cdparanoia-${GVER}
+ dev-python/cddb-py )
+ ipod? ( >=media-libs/libgpod-0.4
+ >=media-plugins/gst-plugins-faad-${GVER} )"
+DEPEND="nls? ( dev-util/intltool sys-devel/gettext )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ local fail_a="Re-emerge media-libs/libgpod with USE python."
+ local fail_b="Re-emerge dev-lang/python with USE sqlite."
+
+ if use ipod && ! built_with_use media-libs/libgpod python; then
+ eerror "${fail_a}"
+ die "${fail_a}"
+ fi
+
+ if ! has_version ">=dev-python/pysqlite-2.3.4-r1"; then
+ if ! built_with_use ">=dev-lang/python-2.5" sqlite; then
+ eerror "${fail_b}"
+ die "${fail_b}"
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-libgtkembedmoz.patch
+}
+
+src_compile() {
+ emake mmkeys.so || die "emake mmkeys.so failed."
+
+ if use nls; then
+ emake translations || die "emake translations failed."
+ fi
+}
+
+src_install() {
+ emake PREFIX="/usr" LIBDIR="/$(get_libdir)" DESTDIR="${D}" install || die "emake install failed."
+ dodoc changelog TODO
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/$(get_libdir)/${PN}
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/$(get_libdir)/${PN}
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
diff --git a/media-sound/exaile/files/digest-exaile-0.2.11.1 b/media-sound/exaile/files/digest-exaile-0.2.11.1
new file mode 100644
index 000000000000..86df3d2091f8
--- /dev/null
+++ b/media-sound/exaile/files/digest-exaile-0.2.11.1
@@ -0,0 +1,3 @@
+MD5 22faad66c2baed6b0180925ea1323961 exaile_0.2.11.1.tar.gz 748887
+RMD160 c5424167e1c20d68c717800fcfaceb3e84c4e25c exaile_0.2.11.1.tar.gz 748887
+SHA256 ee48120e2ae7e345d882d9197daf1014b3c8f2aeb74c8251222a234705910ff4 exaile_0.2.11.1.tar.gz 748887
diff --git a/media-sound/exaile/files/exaile-0.2.11.1-libgtkembedmoz.patch b/media-sound/exaile/files/exaile-0.2.11.1-libgtkembedmoz.patch
new file mode 100644
index 000000000000..0fd6509ede39
--- /dev/null
+++ b/media-sound/exaile/files/exaile-0.2.11.1-libgtkembedmoz.patch
@@ -0,0 +1,19 @@
+diff -ur exaile_0.2.11.1.orig/Makefile exaile_0.2.11.1/Makefile
+--- exaile_0.2.11.1.orig/Makefile 2007-11-07 18:11:28.000000000 +0200
++++ exaile_0.2.11.1/Makefile 2007-12-13 20:34:10.000000000 +0200
+@@ -1,6 +1,5 @@
+ PREFIX ?= /usr/local
+ LIBDIR ?= /lib
+-FIREFOX ?= /usr/lib/firefox
+
+ all: compile mmkeys.so translations
+ @echo "Done"
+@@ -69,8 +68,6 @@
+ /bin/echo -e \
+ "#!/bin/sh\n" \
+ "cd $(PREFIX)/share/exaile\n" \
+- "export LD_LIBRARY_PATH=\$$LD_LIBRARY_PATH:$(FIREFOX)\n" \
+- "export MOZILLA_FIVE_HOME=$(FIREFOX)\n" \
+ "exec python $(PREFIX)$(LIBDIR)/exaile/exaile.py \"\$$@\"" \
+ > exaile && \
+ chmod 755 exaile