summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2006-01-08 21:37:58 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2006-01-08 21:37:58 +0000
commit4587fefc22bb7fd04c7782e39dddc6b0ac70f4c1 (patch)
tree24b54bb6910b6d4a5c31c17c56e5e59ae5af079f /media-plugins/vdr-mplayer
parentStable on x86; bug #116169 (diff)
downloadgentoo-2-4587fefc22bb7fd04c7782e39dddc6b0ac70f4c1.tar.gz
gentoo-2-4587fefc22bb7fd04c7782e39dddc6b0ac70f4c1.tar.bz2
gentoo-2-4587fefc22bb7fd04c7782e39dddc6b0ac70f4c1.zip
initial import, older Versions on gentoo.de cvs
(Portage version: 2.0.53)
Diffstat (limited to 'media-plugins/vdr-mplayer')
-rw-r--r--media-plugins/vdr-mplayer/ChangeLog11
-rw-r--r--media-plugins/vdr-mplayer/Manifest7
-rw-r--r--media-plugins/vdr-mplayer/files/digest-vdr-mplayer-0.9.141
-rw-r--r--media-plugins/vdr-mplayer/files/mplayersources.conf3
-rw-r--r--media-plugins/vdr-mplayer/files/rc-addon.sh20
-rw-r--r--media-plugins/vdr-mplayer/files/vdr-mplayer-0.9.14-gentoo.diff31
-rw-r--r--media-plugins/vdr-mplayer/metadata.xml16
-rw-r--r--media-plugins/vdr-mplayer/vdr-mplayer-0.9.14.ebuild58
8 files changed, 147 insertions, 0 deletions
diff --git a/media-plugins/vdr-mplayer/ChangeLog b/media-plugins/vdr-mplayer/ChangeLog
new file mode 100644
index 000000000000..0d5fbe60c9e5
--- /dev/null
+++ b/media-plugins/vdr-mplayer/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-plugins/vdr-mplayer
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/ChangeLog,v 1.1 2006/01/08 21:37:58 hd_brummy Exp $
+
+*vdr-mplayer-0.9.14 (08 Jan 2006)
+
+ 08 Jan 2006; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/vdr-mplayer-0.9.14-gentoo.diff, +files/mplayersources.conf,
+ +files/rc-addon.sh, +metadata.xml, +vdr-mplayer-0.9.14.ebuild:
+ initial import, older versions on gentoo.de cvs
+
diff --git a/media-plugins/vdr-mplayer/Manifest b/media-plugins/vdr-mplayer/Manifest
new file mode 100644
index 000000000000..878990d8753f
--- /dev/null
+++ b/media-plugins/vdr-mplayer/Manifest
@@ -0,0 +1,7 @@
+MD5 819b583e14169ab2a195a90ddaf0b482 ChangeLog 499
+MD5 b7de4186db3fbb5635de8bb610ac00f3 files/digest-vdr-mplayer-0.9.14 66
+MD5 955192f29c395d3439388eaf3982ce11 files/mplayersources.conf 40
+MD5 31a4786ed86f92f6b2a05c402ab4474e files/rc-addon.sh 421
+MD5 2c64b25f82c7f467d26efa6787530258 files/vdr-mplayer-0.9.14-gentoo.diff 1190
+MD5 bbe1275ce1f4cde2cb3d401105b029b1 metadata.xml 512
+MD5 ebc20eab35eb434b4e6b7552b52ebb2a vdr-mplayer-0.9.14.ebuild 1145
diff --git a/media-plugins/vdr-mplayer/files/digest-vdr-mplayer-0.9.14 b/media-plugins/vdr-mplayer/files/digest-vdr-mplayer-0.9.14
new file mode 100644
index 000000000000..9e41a9c639e6
--- /dev/null
+++ b/media-plugins/vdr-mplayer/files/digest-vdr-mplayer-0.9.14
@@ -0,0 +1 @@
+MD5 acb9e781df99df66b32b15c188ea4c15 vdr-mp3-0.9.14.tar.gz 120589
diff --git a/media-plugins/vdr-mplayer/files/mplayersources.conf b/media-plugins/vdr-mplayer/files/mplayersources.conf
new file mode 100644
index 000000000000..9ef16317c264
--- /dev/null
+++ b/media-plugins/vdr-mplayer/files/mplayersources.conf
@@ -0,0 +1,3 @@
+/video;Festplatte;0
+/mnt/cdrom;CDRom;1
+
diff --git a/media-plugins/vdr-mplayer/files/rc-addon.sh b/media-plugins/vdr-mplayer/files/rc-addon.sh
new file mode 100644
index 000000000000..9df8b283fa6b
--- /dev/null
+++ b/media-plugins/vdr-mplayer/files/rc-addon.sh
@@ -0,0 +1,20 @@
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/files/rc-addon.sh,v 1.1 2006/01/08 21:37:58 hd_brummy Exp $
+#
+# rc-addon plugin-startup-skript for vdr-mplayer
+#
+
+MPLAYER_PLUGIN_MOUNT="/usr/share/vdr/mplayer/bin/mount-mplayer.sh"
+MPLAYER_PLUGIN_CALL="/usr/share/vdr/mplayer/bin/mplayer.sh"
+
+plugin_pre_vdr_start() {
+
+ add_plugin_param "-m ${MPLAYER_PLUGIN_MOUNT}"
+ add_plugin_param "-M ${MPLAYER_PLUGIN_CALL}"
+
+}
+
+
+# for compatibility
+ if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
+ plugin_pre_vdr_start
+ fi
diff --git a/media-plugins/vdr-mplayer/files/vdr-mplayer-0.9.14-gentoo.diff b/media-plugins/vdr-mplayer/files/vdr-mplayer-0.9.14-gentoo.diff
new file mode 100644
index 000000000000..9b0598c73072
--- /dev/null
+++ b/media-plugins/vdr-mplayer/files/vdr-mplayer-0.9.14-gentoo.diff
@@ -0,0 +1,31 @@
+--- Makefile 2006-01-05 00:00:41.659967250 +0100
++++ Makefile-gentoo 2006-01-05 00:02:04.693156500 +0100
+@@ -22,14 +22,14 @@
+ # in the VDR directory an set them there.
+
+ ### uncomment one of these lines, if you don't want one of the plugins
+-#WITHOUT_MP3=1
++WITHOUT_MP3=1
+ #WITHOUT_MPLAYER=1
+
+ ### uncomment the following line, if you don't have libsndfile installed
+-#WITHOUT_LIBSNDFILE=1
++WITHOUT_LIBSNDFILE=1
+
+ ### uncomment the following line, if you don't have libvorbisfile installed
+-#WITHOUT_LIBVORBISFILE=1
++WITHOUT_LIBVORBISFILE=1
+
+ ### uncomment the following line, if you want OSS sound output
+ #WITH_OSS_OUTPUT=1
+--- mplayer.c 2005-07-31 13:23:11.000000000 +0200
++++ mplayer-gentoo.c 2006-01-05 00:13:25.715717750 +0100
+@@ -742,7 +742,7 @@
+ {
+ if(!CheckVDRVersion(1,1,16,"mplayer")) return false;
+ i18n_name=Name();
+- MPlaySources.Load(AddDirectory(ConfigDirectory(),"mplayersources.conf"));
++ MPlaySources.Load(AddDirectory(ConfigDirectory(),"mplayer/mplayersources.conf"));
+ if(MPlaySources.Count()<1) {
+ esyslog("ERROR: you must have defined at least one source in mplayersources.conf");
+ fprintf(stderr,"No source(s) defined in mplayersources.conf\n");
diff --git a/media-plugins/vdr-mplayer/metadata.xml b/media-plugins/vdr-mplayer/metadata.xml
new file mode 100644
index 000000000000..1975bdf9e40d
--- /dev/null
+++ b/media-plugins/vdr-mplayer/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+<maintainer>
+ <email>hd_brummy@gentoo.org</email>
+ <name>Joerg Bornkessel</name>
+ <description>
+ Please contacts maintainer before you something change.
+ </description>
+</maintainer>
+ <longdescription>
+ VDR Plugin to play video files, the plugin use for this the mplayer.
+ All supported file types in mplayer will be played.
+ </longdescription>
+</pkgmetadata>
diff --git a/media-plugins/vdr-mplayer/vdr-mplayer-0.9.14.ebuild b/media-plugins/vdr-mplayer/vdr-mplayer-0.9.14.ebuild
new file mode 100644
index 000000000000..618d40307b6f
--- /dev/null
+++ b/media-plugins/vdr-mplayer/vdr-mplayer-0.9.14.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/vdr-mplayer-0.9.14.ebuild,v 1.1 2006/01/08 21:37:58 hd_brummy Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="Video Disk Recorder Mplayer Plugin"
+HOMEPAGE="http://www.muempf.de/"
+SRC_URI="http://www.muempf.de/down/vdr-mp3-${PV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.2.6"
+
+RDEPEND=">=media-video/mplayer-0.90_rc4
+ >=media-video/mplayer-sh-0.8.6-r1"
+
+S=${WORKDIR}/mp3-${PV}
+
+src_unpack() {
+
+ vdr-plugin_src_unpack
+
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
+
+src_install() {
+
+ vdr-plugin_src_install
+
+ insinto /etc/vdr/plugins/mplayer
+ doins ${FILESDIR}/mplayersources.conf
+
+ into /usr/share/vdr/mplayer
+ newbin examples/mount.sh.example mount-mplayer.sh
+
+ dodoc HISTORY MANUAL README examples/{image_convert,network}.sh.example
+}
+
+pkg_postinst() {
+
+ vdr-plugin_pkg_postinst
+
+ echo
+ einfo "Edit all config's /etc/vdr/plugins/mplayer"
+ echo
+
+ if ! has_version "media-plugins/vdr-mp3ng" ; then
+ einfo "Splitted ebuild!, no support for Audio files"
+ einfo "To play mp3, ogg and wav files,"
+ einfo "emerge media-plugins/vdr-mp3ng -pv"
+ echo
+ fi
+}