diff options
Diffstat (limited to 'media-video/mplay-sh')
-rw-r--r-- | media-video/mplay-sh/Manifest | 1 | ||||
-rw-r--r-- | media-video/mplay-sh/metadata.xml | 10 | ||||
-rw-r--r-- | media-video/mplay-sh/mplay-sh-0.5.3-r1.ebuild | 46 |
3 files changed, 57 insertions, 0 deletions
diff --git a/media-video/mplay-sh/Manifest b/media-video/mplay-sh/Manifest new file mode 100644 index 000000000000..ebde216cb759 --- /dev/null +++ b/media-video/mplay-sh/Manifest @@ -0,0 +1 @@ +DIST mplay-0.5.3.tgz 26829 SHA256 2dee614796b97a1790ab58f0ee5f248d663376b2d2478061387535ddb6b5cc8e diff --git a/media-video/mplay-sh/metadata.xml b/media-video/mplay-sh/metadata.xml new file mode 100644 index 000000000000..5f9f14619db8 --- /dev/null +++ b/media-video/mplay-sh/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-tv</herd> +<maintainer> +<email>vdr@gentoo.org</email> +<name>Gentoo VDR Project</name> +</maintainer> +</pkgmetadata> + diff --git a/media-video/mplay-sh/mplay-sh-0.5.3-r1.ebuild b/media-video/mplay-sh/mplay-sh-0.5.3-r1.ebuild new file mode 100644 index 000000000000..8a53b8a311ca --- /dev/null +++ b/media-video/mplay-sh/mplay-sh-0.5.3-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +MY_P="mplay-${PV}" + +DESCRIPTION="mplayer wrapper script as backend for vdr-mplayer" +HOMEPAGE="http://www.vdr-portal.de/board/thread.php?threadid=62306" +SRC_URI="mirror://gentoo/${MY_P}.tgz + http://dev.gentoo.org/~zzam/distfiles/${MY_P}.tgz" + +KEYWORDS="x86 ~amd64" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND="media-tv/gentoo-vdr-scripts" +RDEPEND=">=media-video/mplayer-0.90_rc4" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i mplay.sh \ + -e 's#$CONFDIR/silence.wav#/usr/share/vdr/mplay-sh/silence.wav#' + sed -i conf.examples/mplayrc \ + -e 's#^MPLAY_PLAY.*#MPLAY_PLAY="/var/vdr/tmp/mplay.play"#' +} + +src_install() { + exeinto /usr/share/vdr/mplayer/bin + doexe mplay.sh + + insinto /etc/vdr/plugins/mplay + doins conf.examples/*.conf conf.examples/mplayrc + + insinto /usr/share/vdr/mplay-sh + doins conf.examples/silence.wav + + dodoc README* HISTORY + keepdir /var/vdr/tmp + chown vdr:vdr -R "${D}/var/vdr" +} |