summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-16 08:08:58 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-16 08:08:58 +0000
commit9e3ab41c3d6c6224ba62edf11fbd9283d5724609 (patch)
treecdc18b7c9641259d77c84aa77aa8b20fc2e4197c /media-video
parentVersion bump. (diff)
downloadgentoo-2-9e3ab41c3d6c6224ba62edf11fbd9283d5724609.tar.gz
gentoo-2-9e3ab41c3d6c6224ba62edf11fbd9283d5724609.tar.bz2
gentoo-2-9e3ab41c3d6c6224ba62edf11fbd9283d5724609.zip
Version bump wrt #278010, thanks to Tim Harder.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/pymp/ChangeLog16
-rw-r--r--media-video/pymp/metadata.xml8
-rw-r--r--media-video/pymp/pymp-1.1.ebuild43
3 files changed, 56 insertions, 11 deletions
diff --git a/media-video/pymp/ChangeLog b/media-video/pymp/ChangeLog
index 702eeedaa847..c0edbdb0467a 100644
--- a/media-video/pymp/ChangeLog
+++ b/media-video/pymp/ChangeLog
@@ -1,11 +1,13 @@
# ChangeLog for media-video/pymp
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/pymp/ChangeLog,v 1.5 2008/11/24 17:07:15 ssuominen Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/pymp/ChangeLog,v 1.6 2009/07/16 08:08:58 ssuominen Exp $
- 24 Nov 2008; <ssuominen@gentoo.org> metadata.xml:
- Re-assign to media-video herd.
+*pymp-1.1 (16 Jul 2009)
- 30 Jul 2008; Samuli Suominen <drac@gentoo.org> pymp-1.0.ebuild:
+ 16 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> +pymp-1.1.ebuild:
+ Version bump wrt #278010, thanks to Tim Harder.
+
+ 30 Jul 2008; Samuli Suominen <ssuominen@gentoo.org> pymp-1.0.ebuild:
amd64 stable
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> pymp-1.0.ebuild:
@@ -16,6 +18,6 @@
*pymp-1.0 (07 Jul 2007)
- 07 Jul 2007; Samuli Suominen <drac@gentoo.org> +pymp-1.0.ebuild:
- package move from media-sound, mplayer frontend belongs here.
+ 07 Jul 2007; Samuli Suominen <ssuominen@gentoo.org> +pymp-1.0.ebuild:
+ Initial commit.
diff --git a/media-video/pymp/metadata.xml b/media-video/pymp/metadata.xml
index 1cadc2e4ec21..0d9b0dcb7f33 100644
--- a/media-video/pymp/metadata.xml
+++ b/media-video/pymp/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>video</herd>
-<maintainer>
- <email>media-video@gentoo.org</email>
-</maintainer>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
</pkgmetadata>
diff --git a/media-video/pymp/pymp-1.1.ebuild b/media-video/pymp/pymp-1.1.ebuild
new file mode 100644
index 000000000000..0e99fad2d75c
--- /dev/null
+++ b/media-video/pymp/pymp-1.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/pymp/pymp-1.1.ebuild,v 1.1 2009/07/16 08:08:58 ssuominen Exp $
+
+EAPI=2
+inherit eutils multilib python
+
+DESCRIPTION="a lean, flexible frontend to mplayer written in python"
+HOMEPAGE="http://jdolan.dyndns.org/trac/wiki/Pymp"
+SRC_URI="http://jdolan.dyndns.org/jaydolan/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-video/mplayer
+ dev-python/pygtk
+ >=dev-lang/python-2.5"
+DEPEND="sys-apps/sed"
+
+src_prepare() {
+ sed -i -e "s:PREFIX/lib:/usr/$(get_libdir):" pymp || die "sed failed"
+}
+
+src_compile() { :; }
+
+src_install() {
+ dobin pymp || die "dobin failed"
+ insinto /usr/$(get_libdir)/pymp
+ doins *.py || die "doins failed"
+ dodoc CHANGELOG README
+ doicon pymp.png
+ make_desktop_entry pymp Pymp pymp
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/$(get_libdir)/pymp
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/$(get_libdir)/pymp
+}