summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-extrecmenu/ChangeLog10
-rw-r--r--media-plugins/vdr-extrecmenu/files/dvdarchive-2.3-beta-configfile.patch13
-rw-r--r--media-plugins/vdr-extrecmenu/files/dvdarchive.conf23
-rw-r--r--media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1-r1.ebuild52
4 files changed, 97 insertions, 1 deletions
diff --git a/media-plugins/vdr-extrecmenu/ChangeLog b/media-plugins/vdr-extrecmenu/ChangeLog
index be3d968fce9c..876c3e85a671 100644
--- a/media-plugins/vdr-extrecmenu/ChangeLog
+++ b/media-plugins/vdr-extrecmenu/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-plugins/vdr-extrecmenu
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/ChangeLog,v 1.24 2009/06/15 19:49:38 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/ChangeLog,v 1.25 2009/10/06 17:12:08 zzam Exp $
+
+*vdr-extrecmenu-1.2_pre1-r1 (06 Oct 2009)
+
+ 06 Oct 2009; Matthias Schwarzott <zzam@gentoo.org>
+ +vdr-extrecmenu-1.2_pre1-r1.ebuild,
+ +files/dvdarchive-2.3-beta-configfile.patch, +files/dvdarchive.conf:
+ Install latest dvdarchive script with an added config file, suggested by
+ Rudi Lippert <Rudi@lyrikpage.de>.
15 Jun 2009; Matthias Schwarzott <zzam@gentoo.org>
vdr-extrecmenu-1.2_pre1.ebuild,
diff --git a/media-plugins/vdr-extrecmenu/files/dvdarchive-2.3-beta-configfile.patch b/media-plugins/vdr-extrecmenu/files/dvdarchive-2.3-beta-configfile.patch
new file mode 100644
index 000000000000..59130c2ebd57
--- /dev/null
+++ b/media-plugins/vdr-extrecmenu/files/dvdarchive-2.3-beta-configfile.patch
@@ -0,0 +1,13 @@
+--- dvdarchive-2.3-beta.sh 2009-10-06 16:23:20.000000000 +0200
++++ dvdarchive-2.3-beta.sh 2009-10-06 17:32:43.000000000 +0200
+@@ -118,6 +118,10 @@
+ DEBUGLOG="/tmp/dvdarchive.sh-debug.log"
+
+ #</Configuration>
++
++# read config file
++. /etc/vdr/dvdarchive.conf
++
+ #
+ # No changes needed after this mark
+
diff --git a/media-plugins/vdr-extrecmenu/files/dvdarchive.conf b/media-plugins/vdr-extrecmenu/files/dvdarchive.conf
new file mode 100644
index 000000000000..e404f8160699
--- /dev/null
+++ b/media-plugins/vdr-extrecmenu/files/dvdarchive.conf
@@ -0,0 +1,23 @@
+# config file for /usr/bin/dvdarchive.sh
+# this is used by vdr-extrecmenu for dvdarchives
+
+# Mountpoint, the same as in fstab
+MOUNTPOINT="/mnt/cdrom" # no trailing '/'
+
+# Eject DVD for exit-codes 2 and 3 (no or wrong dvd). 1 = yes, 0 = no.
+EJECTWRONG=1
+
+# Eject DVD after unmounting. 1 = yes, 0 = no.
+EJECTUMOUNT=0
+
+# Log warnings/errors in syslog. 1 = yes, 0 = no.
+SYSLOG=1
+
+# Create a length.vdr after mounting the dvd for the played recording. 1 = yes, 0 = no.
+# Only for non-vfat and with index.vdr only on dvd.
+GETLENGTH=1
+
+# Put debug infos in file $DEBUGLOG. Only if $DEBUG=1.
+DEBUG=0
+DEBUGLOG="/tmp/dvdarchive.sh-debug.log"
+
diff --git a/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1-r1.ebuild b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1-r1.ebuild
new file mode 100644
index 000000000000..b9d43160a404
--- /dev/null
+++ b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1-r1.ebuild,v 1.1 2009/10/06 17:12:08 zzam Exp $
+
+EAPI="2"
+
+inherit vdr-plugin eutils
+
+MY_P="${PN}-${PV/_pre/-test}"
+
+S=${WORKDIR}/${PN#vdr-}-1.2
+
+DVDARCHIVE="dvdarchive-2.3-beta.sh"
+
+DESCRIPTION="Video Disk Recorder - Extended recordings menu Plugin"
+HOMEPAGE="http://martins-kabuff.de/extrecmenu.html"
+SRC_URI="http://martins-kabuff.de/download/${MY_P}.tgz
+ mirror://gentoo/${DVDARCHIVE}.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.6.0"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+ epatch "${FILESDIR}/${P}-gcc44.patch"
+
+ cd "${WORKDIR}"
+ epatch "${FILESDIR}/${DVDARCHIVE%.sh}-configfile.patch"
+
+ cd "${S}"
+ if grep -q fskProtection /usr/include/vdr/timers.h; then
+ einfo "Enabling parentalrating option"
+ sed -i "s:#WITHPINPLUGIN:WITHPINPLUGIN:" Makefile
+ fi
+
+ vdr-plugin_src_prepare
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ cd "${WORKDIR}"
+ newbin ${DVDARCHIVE} dvdarchive.sh
+
+ insinto /etc/vdr
+ doins "${FILESDIR}"/dvdarchive.conf
+}