summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-08-11 10:34:15 +0000
committerSamuli Suominen <drac@gentoo.org>2007-08-11 10:34:15 +0000
commitae04f8c5bbf12476ba8013fe8e3ec7cbf0490b62 (patch)
treece08bbef67f0e366bd1f73dd5db9e4ae619e6d19 /media-sound/listen
parentalpha/ia64/x86 stable (diff)
downloadgentoo-2-ae04f8c5bbf12476ba8013fe8e3ec7cbf0490b62.tar.gz
gentoo-2-ae04f8c5bbf12476ba8013fe8e3ec7cbf0490b62.tar.bz2
gentoo-2-ae04f8c5bbf12476ba8013fe8e3ec7cbf0490b62.zip
Fix elementtree depends for bug 185533.
(Portage version: 2.1.3.4)
Diffstat (limited to 'media-sound/listen')
-rw-r--r--media-sound/listen/ChangeLog5
-rw-r--r--media-sound/listen/files/Makefile.patch35
-rw-r--r--media-sound/listen/files/check.patch21
-rw-r--r--media-sound/listen/files/digest-listen-0.53
-rw-r--r--media-sound/listen/listen-0.5-r1.ebuild4
-rw-r--r--media-sound/listen/listen-0.5.ebuild88
6 files changed, 6 insertions, 150 deletions
diff --git a/media-sound/listen/ChangeLog b/media-sound/listen/ChangeLog
index 03ba7503417f..8bc5eb981b6f 100644
--- a/media-sound/listen/ChangeLog
+++ b/media-sound/listen/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/listen
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/listen/ChangeLog,v 1.18 2007/07/16 15:53:45 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/listen/ChangeLog,v 1.19 2007/08/11 10:34:15 drac Exp $
+
+ 11 Aug 2007; Samuli Suominen <drac@gentoo.org> listen-0.5-r1.ebuild:
+ Fix elementtree depends for bug 185533.
16 Jul 2007; Michael Sterrett <mr_bones_@gentoo.org> listen-0.5.ebuild,
listen-0.5-r1.ebuild:
diff --git a/media-sound/listen/files/Makefile.patch b/media-sound/listen/files/Makefile.patch
deleted file mode 100644
index 2a1e2c45f06c..000000000000
--- a/media-sound/listen/files/Makefile.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- Makefile 2006-09-05 11:30:51.000000000 +0200
-+++ Makefile.new 2006-10-15 03:40:37.000000000 +0200
-@@ -3,10 +3,9 @@
- 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//"`
-
- 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 +14,7 @@ check:
- @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 ..
-@@ -69,8 +68,9 @@ install: make-install-dirs install-po
- install -m 644 data/img/listen.png $(DESTDIR)$(PREFIX)/share/pixmaps/
- 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 ;
-+ echo "#!/bin/sh" > listen
-+ 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" -e "s/[ ]/\,/" -e "s/[ ]//g" )
-+ GTKMOZEMBED_PATH=${GTKMOZEMBED_PATH} echo "LD_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
deleted file mode 100644
index 96ed40f19f98..000000000000
--- a/media-sound/listen/files/check.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-*** 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 b/media-sound/listen/files/digest-listen-0.5
deleted file mode 100644
index f79a0b515ebc..000000000000
--- a/media-sound/listen/files/digest-listen-0.5
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 63fd29c927c455f84fbf5bf3f8dba2a5 listen-0.5.tar.bz2 393093
-RMD160 77f26a8ef74972b783e44576433e23ecd1269dcf listen-0.5.tar.bz2 393093
-SHA256 476395566f896426d8d41ce398c46a8b0bf1bef7b964945321488c9e977a59bc listen-0.5.tar.bz2 393093
diff --git a/media-sound/listen/listen-0.5-r1.ebuild b/media-sound/listen/listen-0.5-r1.ebuild
index 0d303e77c9d3..7e85bd079073 100644
--- a/media-sound/listen/listen-0.5-r1.ebuild
+++ b/media-sound/listen/listen-0.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/listen/listen-0.5-r1.ebuild,v 1.3 2007/07/16 15:53:45 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/listen/listen-0.5-r1.ebuild,v 1.4 2007/08/11 10:34:15 drac Exp $
inherit eutils virtualx
@@ -19,7 +19,7 @@ RDEPEND=">=media-libs/gst-plugins-base-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
+ || ( >=dev-lang/python-2.5 >=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
diff --git a/media-sound/listen/listen-0.5.ebuild b/media-sound/listen/listen-0.5.ebuild
deleted file mode 100644
index 76dcf70c51f2..000000000000
--- a/media-sound/listen/listen-0.5.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/listen/listen-0.5.ebuild,v 1.4 2007/07/16 15:53:45 mr_bones_ Exp $
-
-inherit eutils virtualx
-
-DESCRIPTION="A Music player and management for GNOME"
-HOMEPAGE="http://www.listen-project.org"
-SRC_URI="http://download.listen-project.org/${PV}/${P}.tar.bz2"
-LICENSE="GPL-2"
-IUSE="aac cdr flac ipod mad vorbis libsexy"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-
-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-musicbrainz2
-# media-libs/tunepimp )"
-
-DEPEND="${RDEPEND}
- >=x11-libs/gtk+-2.8
- >=media-libs/gstreamer-0.10.0
- dev-python/dbus-python
- >=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
- libsexy? ( dev-python/sexy-python )"
-
-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 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
- sed -i "s:\$(PREFIX)/lib:\$(PREFIX)/$(get_libdir):g" Makefile
- Xemake -j1 || die "make failed"
-}
-
-src_install() {
- Xmake DESTDIR="${D}" PREFIX="/usr" install || die "Install failure"
-}
-
-pkg_postinst() {
- echo "#!/bin/sh" > /usr/bin/listen
- 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" -e "s/[ ]/\,/" -e "s/[ ]//g" )
- echo "LD_LIBRARY_PATH=\"${GTKMOZEMBED_PATH}\"" "python /usr/lib/listen/listen.py \"\$@\"" >> /usr/bin/listen
-}