summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-06-17 12:30:18 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-06-17 12:30:18 +0000
commit9c235a8265999bc62047f6416ce38ae087b09daa (patch)
treea38472ffd63f266e76ff74b5e322b19f6245523f /media-plugins/vdr-mplayer
parentstable x86, bug 182176 (diff)
downloadgentoo-2-9c235a8265999bc62047f6416ce38ae087b09daa.tar.gz
gentoo-2-9c235a8265999bc62047f6416ce38ae087b09daa.tar.bz2
gentoo-2-9c235a8265999bc62047f6416ce38ae087b09daa.zip
Version bumped.
(Portage version: 2.1.3_rc1)
Diffstat (limited to 'media-plugins/vdr-mplayer')
-rw-r--r--media-plugins/vdr-mplayer/ChangeLog9
-rw-r--r--media-plugins/vdr-mplayer/files/0.10.0/01_gentoo.diff38
-rw-r--r--media-plugins/vdr-mplayer/files/0.10.0/series1
-rw-r--r--media-plugins/vdr-mplayer/files/digest-vdr-mplayer-0.10.03
-rw-r--r--media-plugins/vdr-mplayer/vdr-mplayer-0.10.0.ebuild56
5 files changed, 106 insertions, 1 deletions
diff --git a/media-plugins/vdr-mplayer/ChangeLog b/media-plugins/vdr-mplayer/ChangeLog
index 42ad9948ac40..18f49df67dac 100644
--- a/media-plugins/vdr-mplayer/ChangeLog
+++ b/media-plugins/vdr-mplayer/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-plugins/vdr-mplayer
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/ChangeLog,v 1.18 2007/06/16 08:53:51 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/ChangeLog,v 1.19 2007/06/17 12:30:18 zzam Exp $
+
+*vdr-mplayer-0.10.0 (17 Jun 2007)
+
+ 17 Jun 2007; Matthias Schwarzott <zzam@gentoo.org>
+ +files/0.10.0/01_gentoo.diff, +files/0.10.0/series,
+ +vdr-mplayer-0.10.0.ebuild:
+ Version bumped.
16 Jun 2007; Matthias Schwarzott <zzam@gentoo.org>
vdr-mplayer-0.9.15-r1.ebuild:
diff --git a/media-plugins/vdr-mplayer/files/0.10.0/01_gentoo.diff b/media-plugins/vdr-mplayer/files/0.10.0/01_gentoo.diff
new file mode 100644
index 000000000000..9e82ab14dab5
--- /dev/null
+++ b/media-plugins/vdr-mplayer/files/0.10.0/01_gentoo.diff
@@ -0,0 +1,38 @@
+fix some path for gentoo install
+
+Joerg Bornkessel <hd_brummy@gentoo.org>
+Index: mp3-0.10.0/Makefile
+===================================================================
+--- mp3-0.10.0.orig/Makefile
++++ mp3-0.10.0/Makefile
+@@ -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
+Index: mp3-0.10.0/mplayer.c
+===================================================================
+--- mp3-0.10.0.orig/mplayer.c
++++ mp3-0.10.0/mplayer.c
+@@ -825,7 +825,7 @@ bool cPluginMPlayer::Start(void)
+ {
+ if(!CheckVDRVersion(1,1,16,"mplayer")) return false;
+ i18n_name=Name();
+- MPlaySources.Load(AddDirectory(ConfigDirectory(sourcesSub),"mplayersources.conf"));
++ MPlaySources.Load(AddDirectory(ConfigDirectory(sourcesSub),"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/files/0.10.0/series b/media-plugins/vdr-mplayer/files/0.10.0/series
new file mode 100644
index 000000000000..65a3f0ae0891
--- /dev/null
+++ b/media-plugins/vdr-mplayer/files/0.10.0/series
@@ -0,0 +1 @@
+01_gentoo.diff
diff --git a/media-plugins/vdr-mplayer/files/digest-vdr-mplayer-0.10.0 b/media-plugins/vdr-mplayer/files/digest-vdr-mplayer-0.10.0
new file mode 100644
index 000000000000..34abc5c9c609
--- /dev/null
+++ b/media-plugins/vdr-mplayer/files/digest-vdr-mplayer-0.10.0
@@ -0,0 +1,3 @@
+MD5 59163664e1a35c5554df13e46c84948c vdr-mp3-0.10.0.tar.gz 124424
+RMD160 21fb27b5097ce3345e5895f72e2639ec2aceaa8b vdr-mp3-0.10.0.tar.gz 124424
+SHA256 2cfcbb9315cc0c23d9461978db6d01ad7d72854a24b2f06da796c7c3faea98b0 vdr-mp3-0.10.0.tar.gz 124424
diff --git a/media-plugins/vdr-mplayer/vdr-mplayer-0.10.0.ebuild b/media-plugins/vdr-mplayer/vdr-mplayer-0.10.0.ebuild
new file mode 100644
index 000000000000..ae4ce80608b0
--- /dev/null
+++ b/media-plugins/vdr-mplayer/vdr-mplayer-0.10.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2007 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.10.0.ebuild,v 1.1 2007/06/17 12:30:18 zzam Exp $
+
+inherit vdr-plugin eutils
+
+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="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.4.2"
+
+RDEPEND="${DEPEND}
+ || ( media-video/mplay-sh >=media-video/mplayer-sh-0.8.6-r1 )
+ || ( sys-apps/eject sys-block/unieject )"
+
+S=${WORKDIR}/mp3-${PV}
+
+PATCHES="${FILESDIR}/${PV}/01_gentoo.diff"
+
+VDR_RCADDON_FILE=${FILESDIR}/rc-addon-0.9.15.sh
+VDR_CONFD_FILE=${FILESDIR}/confd-0.9.15.sh
+
+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
+ elog "Edit all config's /etc/vdr/plugins/mplayer"
+ echo
+
+ if ! has_version "media-plugins/vdr-mp3ng" ; then
+ elog "Splitted ebuild!, no support for Audio files"
+ elog "To play mp3, ogg and wav files,"
+ elog "emerge media-plugins/vdr-mp3ng -pv"
+ echo
+ fi
+}