summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2008-01-13 05:40:47 +0000
committerSteve Dibb <beandog@gentoo.org>2008-01-13 05:40:47 +0000
commit99ea0c33bd61572d94f1a6148c2646496c72aafe (patch)
tree36913fcb89f11bf3a78db988786cec369e851a81 /media-video
parentdrop in xproto depend (diff)
downloadgentoo-2-99ea0c33bd61572d94f1a6148c2646496c72aafe.tar.gz
gentoo-2-99ea0c33bd61572d94f1a6148c2646496c72aafe.tar.bz2
gentoo-2-99ea0c33bd61572d94f1a6148c2646496c72aafe.zip
Version bump
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mplayer-resume/ChangeLog9
-rw-r--r--media-video/mplayer-resume/files/digest-mplayer-resume-1.53
-rw-r--r--media-video/mplayer-resume/mplayer-resume-1.5.ebuild49
3 files changed, 59 insertions, 2 deletions
diff --git a/media-video/mplayer-resume/ChangeLog b/media-video/mplayer-resume/ChangeLog
index 9cf143ba3c6c..deda95191a29 100644
--- a/media-video/mplayer-resume/ChangeLog
+++ b/media-video/mplayer-resume/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/mplayer-resume
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer-resume/ChangeLog,v 1.4 2007/05/01 00:57:27 genone Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer-resume/ChangeLog,v 1.5 2008/01/13 05:40:46 beandog Exp $
+
+*mplayer-resume-1.5 (13 Jan 2008)
+
+ 13 Jan 2008; Steve Dibb <beandog@gentoo.org> +mplayer-resume-1.5.ebuild:
+ Version bump
01 May 2007; Marius Mauch <genone@gentoo.org> mplayer-resume-1.3.ebuild:
Replacing einfo with elog
diff --git a/media-video/mplayer-resume/files/digest-mplayer-resume-1.5 b/media-video/mplayer-resume/files/digest-mplayer-resume-1.5
new file mode 100644
index 000000000000..02b799bda382
--- /dev/null
+++ b/media-video/mplayer-resume/files/digest-mplayer-resume-1.5
@@ -0,0 +1,3 @@
+MD5 7124c3e746529089d51424fd5387105f mplayer-resume-1.5.tar.gz 4608
+RMD160 ca19af2ec334fb849388232b34070eef6bb8109c mplayer-resume-1.5.tar.gz 4608
+SHA256 2c0bebd23954b7494e26dd27a834eefc5872b65f7eafd0bb721e87cbb36a919d mplayer-resume-1.5.tar.gz 4608
diff --git a/media-video/mplayer-resume/mplayer-resume-1.5.ebuild b/media-video/mplayer-resume/mplayer-resume-1.5.ebuild
new file mode 100644
index 000000000000..4c4514f404b9
--- /dev/null
+++ b/media-video/mplayer-resume/mplayer-resume-1.5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer-resume/mplayer-resume-1.5.ebuild,v 1.1 2008/01/13 05:40:46 beandog Exp $
+
+inherit depend.php
+
+DESCRIPTION="MPlayer wrapper script to save/resume playback position"
+HOMEPAGE="http://www.spaceparanoids.org/trac/bend/wiki/mplayer-resume"
+SRC_URI="http://spaceparanoids.org/downloads/mplayer-resume/${P}.tar.gz"
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND=""
+RDEPEND="app-misc/lirc
+ media-video/mplayer"
+
+need_php_cli
+
+pkg_setup() {
+
+ require_php_with_use pcre cli
+
+ if ! built_with_use media-video/mplayer lirc
+ then
+ eerror "media-video/mplayer must also be compiled with the"
+ eerror "lirc use flag to work properly with mplayer-resume."
+ die "Fix mplayer use flags and re-emerge"
+ fi
+}
+
+src_compile() {
+ return;
+}
+
+src_install() {
+ dobin mplayer-resume
+ dodoc ChangeLog README
+}
+
+pkg_postinst() {
+ elog "To get mplayer-resume to save playback position with LIRC,"
+ elog "you will need to setup an entry in ~/.lircrc to run "
+ elog "'get_time_pos' and then 'quit'. More instructions are"
+ elog "detailed in the README, but the position will not be saved"
+ elog "until you set it up."
+ elog ""
+ elog "Playback position files are saved in ~/.mplayer/playback"
+}