summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alberto Suarez Lopez <bass@gentoo.org>2006-10-12 22:45:16 +0000
committerJose Alberto Suarez Lopez <bass@gentoo.org>2006-10-12 22:45:16 +0000
commit32b8edcd5d7c39c0fa5536b703cc7d06ea9625fd (patch)
tree9686768b4f1c09d9b2cdc957cc37145f0cc0d751 /media-sound/listen
parentstable on ppc (Bug #145801) (diff)
downloadgentoo-2-32b8edcd5d7c39c0fa5536b703cc7d06ea9625fd.tar.gz
gentoo-2-32b8edcd5d7c39c0fa5536b703cc7d06ea9625fd.tar.bz2
gentoo-2-32b8edcd5d7c39c0fa5536b703cc7d06ea9625fd.zip
new beta version
(Portage version: 2.1.1)
Diffstat (limited to 'media-sound/listen')
-rw-r--r--media-sound/listen/ChangeLog8
-rw-r--r--media-sound/listen/files/Makefile.patch33
-rw-r--r--media-sound/listen/files/check.patch21
-rw-r--r--media-sound/listen/files/digest-listen-0.5_beta13
-rw-r--r--media-sound/listen/listen-0.5_beta1.ebuild96
5 files changed, 160 insertions, 1 deletions
diff --git a/media-sound/listen/ChangeLog b/media-sound/listen/ChangeLog
index 73150e6148f2..f1c9ce224ed6 100644
--- a/media-sound/listen/ChangeLog
+++ b/media-sound/listen/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/listen
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/listen/ChangeLog,v 1.8 2006/08/11 11:53:42 bass Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/listen/ChangeLog,v 1.9 2006/10/12 22:45:16 bass Exp $
+
+*listen-0.5_beta1 (12 Oct 2006)
+
+ 12 Oct 2006; J. Alberto Suárez López <bass@gentoo.org>
+ +files/Makefile.patch, +files/check.patch, +listen-0.5_beta1.ebuild:
+ new beta version #148931
*listen-0.4.3-r2 (11 Aug 2006)
diff --git a/media-sound/listen/files/Makefile.patch b/media-sound/listen/files/Makefile.patch
new file mode 100644
index 000000000000..7d4d45f1f1b2
--- /dev/null
+++ b/media-sound/listen/files/Makefile.patch
@@ -0,0 +1,33 @@
+--- Makefile 2006-10-03 23:01:36.000000000 +0200
++++ Makefile.new 2006-10-03 23:17:51.000000000 +0200
+@@ -3,10 +3,10 @@
+ PO = fr fr_BR en_GB it es hu pl de pt_BR pt nl
+ PREFIX ?= /usr
+
+-GTKMOZEMBED_PATH = `(pkg-config --libs-only-L mozilla-gtkmozembed 2>/dev/null || pkg-config --libs-only-L firefox-gtkmozembed 2>/dev/null) | sed -e "s/-L//"`
++GTKMOZEMBED_PATH = `(pkg-config --libs-only-L mozilla-gtkmozembed 2>/dev/null || pkg-config --libs-only-L firefox-gtkmozembed 2>/dev/null) | sed -e "s/-L//g"`
+
+ all: check mmkeys.so po-data
+- docbook2x-man listen.1.docbook
++ #docbook2x-man listen.1.docbook
+ @echo "Done"
+ @echo "Type: make install now"
+
+@@ -15,7 +15,7 @@
+ @which python || ( echo "Not found." && /bin/false )
+ @./check.py
+ @echo "Checking for gtkmozembed path..."
+- @if test -d $(GTKMOZEMBED_PATH) ; then echo "Found: $(GTKMOZEMBED_PATH)"; else echo "Not found, install mozilla-devel or firefox-devel"; exit 1; fi
++ #@if test -d $(GTKMOZEMBED_PATH) ; then echo "Found: $(GTKMOZEMBED_PATH)"; else echo "Not found, install mozilla-devel or firefox-devel"; exit 1; fi
+
+ daap.py:
+ cd daap && python ./setup.py build && cd ..
+@@ -70,7 +70,7 @@
+ install -m 644 listen.desktop $(DESTDIR)$(PREFIX)/share/applications/
+
+ GTKMOZEMBED_PATH=$(GTKMOZEMBED_PATH) && \
+- /bin/echo -e '#!/bin/sh\n\nLD_LIBRARY_PATH='$$GTKMOZEMBED_PATH' $(PREFIX)/lib/listen/listen.py "$$@"'>listen ;
++ /bin/echo -e '#!/bin/sh\n\nLD_LIBRARY_PATH="'$$GTKMOZEMBED_PATH'" $(PREFIX)/lib/listen/listen.py "'$$@'"'>listen ;
+ install -m 755 listen $(DESTDIR)$(PREFIX)/bin/
+
+ install-po:
diff --git a/media-sound/listen/files/check.patch b/media-sound/listen/files/check.patch
new file mode 100644
index 000000000000..96ed40f19f98
--- /dev/null
+++ b/media-sound/listen/files/check.patch
@@ -0,0 +1,21 @@
+*** check.py 2006-09-05 11:30:51.000000000 +0200
+--- /check.py 2006-10-01 00:52:10.000000000 +0200
+***************
+*** 56,62 ****
+ print "Checking for mutagen:",
+ try:
+ import mutagen
+! if float(mutagen.version_string) < 1.6:
+ raise ImportError
+ except ImportError:
+ raise SystemExit("not found\n%s require mutagen >= 1.6.\n"
+--- 56,64 ----
+ print "Checking for mutagen:",
+ try:
+ import mutagen
+! import string
+! version = string.split(mutagen.version_string, ".")
+! if float(version[0]) + float(version[1]) / 10 < 1.6:
+ raise ImportError
+ except ImportError:
+ raise SystemExit("not found\n%s require mutagen >= 1.6.\n"
diff --git a/media-sound/listen/files/digest-listen-0.5_beta1 b/media-sound/listen/files/digest-listen-0.5_beta1
new file mode 100644
index 000000000000..53064cadc2a6
--- /dev/null
+++ b/media-sound/listen/files/digest-listen-0.5_beta1
@@ -0,0 +1,3 @@
+MD5 9dd7b4252ccdddc44199ac0820ac4b91 listen-0.5b1.tar.gz 399479
+RMD160 a9fe8b5d81d6fe51419e15b6914df339e454a11f listen-0.5b1.tar.gz 399479
+SHA256 919a639d6b5860a135091f5d5a1d3d871f219c06e694be994a6e1213c871d028 listen-0.5b1.tar.gz 399479
diff --git a/media-sound/listen/listen-0.5_beta1.ebuild b/media-sound/listen/listen-0.5_beta1.ebuild
new file mode 100644
index 000000000000..b666878e2b4b
--- /dev/null
+++ b/media-sound/listen/listen-0.5_beta1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/listen/listen-0.5_beta1.ebuild,v 1.1 2006/10/12 22:45:16 bass Exp $
+
+inherit eutils virtualx
+
+DESCRIPTION="A Music player and management for GNOME"
+HOMEPAGE="http://listengnome.free.fr"
+SRC_URI="mirror://sourceforge/listengnome/${PN}-0.5b1.tar.gz"
+S="${WORKDIR}/${PN}-0.5b1"
+LICENSE="GPL-2"
+IUSE="aac cdr flac ipod mad vorbis musicbrainz"
+SLOT="0"
+KEYWORDS="~x86"
+
+RDEPEND=">=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
+ >=media-libs/mutagen-1.6
+ >=dev-python/elementtree-1.2.6
+ mad? ( >=media-plugins/gst-plugins-mad-0.10.0
+ dev-python/pymad )
+ vorbis? ( >=media-plugins/gst-plugins-ogg-0.10.0
+ >=media-plugins/gst-plugins-vorbis-0.10.0
+ dev-python/pyvorbis
+ dev-python/pyogg )
+ 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-0.3.2-r1 )
+ cdr? ( app-cdr/serpentine )"
+# musicbrainz? ( dev-python/python-musicbrainz
+# media-libs/tunepimp )
+
+DEPEND="${RDEPEND}
+ >=x11-libs/gtk+-2.8
+ >=media-libs/gstreamer-0.10.0
+ >=sys-apps/dbus-0.50
+ >=dev-lang/python-2.4
+ >=dev-python/pygtk-2.6
+ >=dev-python/gst-python-0.10
+ >=dev-db/sqlite-3.2.7-r1
+ >=dev-python/pysqlite-2.3.0
+ >=media-libs/mutagen-1.6
+ dev-python/gnome-python
+ dev-python/gnome-python-extras"
+
+pkg_setup() {
+ if use ipod && ! built_with_use media-libs/libgpod python ; then
+ echo
+ eerror "In order to install iPod suport, you need to have media-libs/libgpod"
+ eerror "with 'python' in your USE flags. Please add that flag,"
+ eerror "re-emerge libgpod, and then emerge listen."
+ die "media-libs/libgpod is missing the python binding."
+ 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
+
+ if ! built_with_use gnome-base/gnome-vfs hal ; then
+ echo
+ eerror "In order to install Listen, you need to have gnome-base/gnome-vfs"
+ eerror "with 'hal' in your USE flags. Please add that flag,"
+ eerror "re-emerge gnome-vfs, and then emerge listen."
+ die "gnome-base/gnome-vfs is missing the hal binding."
+ fi
+}
+
+src_compile() {
+ mkdir -p "${T}/home"
+ export HOME="${T}/home"
+ export GST_REGISTRY=${T}/home/registry.cache.xml
+ addpredict /root/.gconfd
+ addpredict /root/.gconf
+ addpredict /var/lib/cache/gstreamer-0.10
+ epatch "${FILESDIR}/check.patch"
+ epatch "${FILESDIR}/Makefile.patch"
+ Xemake -j1 || die "make failed"
+}
+
+src_install() {
+ Xmake DESTDIR="${D}" PREFIX="/usr" install || die "Install failure"
+}
+
+pkg_install() {
+ sed -i 's/LD_LIBRARY_PATH=\([\/a-z-]*\) \([\/a-z]*\)/LD_LIBRARY_PATH="\1 \2"/' ${D}/usr/bin/listen
+}
+