diff options
author | Steve Dibb <beandog@gentoo.org> | 2008-12-16 20:38:27 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2008-12-16 20:38:27 +0000 |
commit | bde853b1fceb09f3b511559048e0146537af3bb2 (patch) | |
tree | c2a1a739bfb0c7a7943e7aef5ce87317a2c9a8bc /media-video | |
parent | amd64 stable, bug #247229 (diff) | |
download | gentoo-2-bde853b1fceb09f3b511559048e0146537af3bb2.tar.gz gentoo-2-bde853b1fceb09f3b511559048e0146537af3bb2.tar.bz2 gentoo-2-bde853b1fceb09f3b511559048e0146537af3bb2.zip |
Version bump
(Portage version: 2.2_rc17/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mplayer-resume/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/mplayer-resume/mplayer-resume-1.6.ebuild | 49 |
2 files changed, 55 insertions, 1 deletions
diff --git a/media-video/mplayer-resume/ChangeLog b/media-video/mplayer-resume/ChangeLog index deda95191a29..5e651ac91967 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-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 $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer-resume/ChangeLog,v 1.6 2008/12/16 20:38:27 beandog Exp $ + +*mplayer-resume-1.6 (16 Dec 2008) + + 16 Dec 2008; Steve Dibb <beandog@gentoo.org> +mplayer-resume-1.6.ebuild: + Version bump *mplayer-resume-1.5 (13 Jan 2008) diff --git a/media-video/mplayer-resume/mplayer-resume-1.6.ebuild b/media-video/mplayer-resume/mplayer-resume-1.6.ebuild new file mode 100644 index 000000000000..297fd43c4b0f --- /dev/null +++ b/media-video/mplayer-resume/mplayer-resume-1.6.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.6.ebuild,v 1.1 2008/12/16 20:38:27 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" +} |