diff options
author | 2007-11-25 19:46:07 +0000 | |
---|---|---|
committer | 2007-11-25 19:46:07 +0000 | |
commit | 4178d904703313696b0dfb76967d31f15a520383 (patch) | |
tree | de3eee016103638176e190171b64e610a1f90091 /media-sound | |
parent | Added to ~hppa. (diff) | |
download | gentoo-2-4178d904703313696b0dfb76967d31f15a520383.tar.gz gentoo-2-4178d904703313696b0dfb76967d31f15a520383.tar.bz2 gentoo-2-4178d904703313696b0dfb76967d31f15a520383.zip |
Export correct directories for libgtkembedmoz.
(Portage version: 2.1.4_rc3)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/exaile/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/exaile/exaile-0.2.11-r1.ebuild | 94 | ||||
-rw-r--r-- | media-sound/exaile/files/digest-exaile-0.2.11-r1 | 3 | ||||
-rw-r--r-- | media-sound/exaile/files/exaile-0.2.11-libgtkembedmoz.patch | 10 |
4 files changed, 114 insertions, 1 deletions
diff --git a/media-sound/exaile/ChangeLog b/media-sound/exaile/ChangeLog index e2a34e420ba3..61e08c3f43e2 100644 --- a/media-sound/exaile/ChangeLog +++ b/media-sound/exaile/ChangeLog @@ -1,6 +1,12 @@ # 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.29 2007/10/18 17:26:02 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/exaile/ChangeLog,v 1.30 2007/11/25 19:46:07 drac Exp $ + +*exaile-0.2.11-r1 (25 Nov 2007) + + 25 Nov 2007; Samuli Suominen <drac@gentoo.org> + +files/exaile-0.2.11-libgtkembedmoz.patch, +exaile-0.2.11-r1.ebuild: + Export correct directories for libgtkembedmoz. *exaile-0.2.11 (18 Oct 2007) diff --git a/media-sound/exaile/exaile-0.2.11-r1.ebuild b/media-sound/exaile/exaile-0.2.11-r1.ebuild new file mode 100644 index 000000000000..f0a7e719dd9e --- /dev/null +++ b/media-sound/exaile/exaile-0.2.11-r1.ebuild @@ -0,0 +1,94 @@ +# 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-r1.ebuild,v 1.1 2007/11/25 19:46:07 drac Exp $ + +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.6 + >=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-${GVER} + 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 )" + +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-r1 b/media-sound/exaile/files/digest-exaile-0.2.11-r1 new file mode 100644 index 000000000000..92ac2f5b2c94 --- /dev/null +++ b/media-sound/exaile/files/digest-exaile-0.2.11-r1 @@ -0,0 +1,3 @@ +MD5 3dd3aa70f28f92aea496c5191cb5ce64 exaile_0.2.11.tar.gz 6241496 +RMD160 4e68de57bf2ad9d11b99f7e1d193d742bd0b61dc exaile_0.2.11.tar.gz 6241496 +SHA256 ca5decfc78a9a3dbd0beaac85e6f35057ea28b7a1159656f344d9ec376855dd0 exaile_0.2.11.tar.gz 6241496 diff --git a/media-sound/exaile/files/exaile-0.2.11-libgtkembedmoz.patch b/media-sound/exaile/files/exaile-0.2.11-libgtkembedmoz.patch new file mode 100644 index 000000000000..1a616ceaa9d7 --- /dev/null +++ b/media-sound/exaile/files/exaile-0.2.11-libgtkembedmoz.patch @@ -0,0 +1,10 @@ +--- exaile-0.2.11/Makefile.orig 2007-11-25 21:36:04.000000000 +0200 ++++ exaile-0.2.11/Makefile 2007-11-25 21:38:28.000000000 +0200 +@@ -1,6 +1,6 @@ + PREFIX ?= /usr/local + LIBDIR ?= /lib +-FIREFOX ?= /usr/lib/firefox ++FIREFOX ?= $(PREFIX)$(LIBDIR)/xulrunner:$(PREFIX)$(LIBDIR)/mozilla-firefox:$(PREFIX)$(LIBDIR)/seamonkey + + all: compile mmkeys.so translations + @echo "Done" |