summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-07-09 14:20:32 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-07-09 14:20:32 +0000
commit64e2c1955cf565ac7bebe9f73de98afafccd531f (patch)
treed75b4445423a421d3427470ce24ed3f55fc6e236 /media-tv
parent Use depend.php to work out if we have xml support, #139627 (diff)
downloadgentoo-2-64e2c1955cf565ac7bebe9f73de98afafccd531f.tar.gz
gentoo-2-64e2c1955cf565ac7bebe9f73de98afafccd531f.tar.bz2
gentoo-2-64e2c1955cf565ac7bebe9f73de98afafccd531f.zip
Added version which is prepared for moving vdr-bg.sh to /usr/share/...
(Portage version: 2.1.1_pre2-r6)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/vdr-dvd-scripts/ChangeLog9
-rw-r--r--media-tv/vdr-dvd-scripts/files/0.0.2/dvdchanger_readdvd.sh32
-rw-r--r--media-tv/vdr-dvd-scripts/files/0.0.2/dvdchanger_writedvd.sh30
-rw-r--r--media-tv/vdr-dvd-scripts/files/digest-vdr-dvd-scripts-0.0.21
-rw-r--r--media-tv/vdr-dvd-scripts/vdr-dvd-scripts-0.0.2.ebuild20
5 files changed, 91 insertions, 1 deletions
diff --git a/media-tv/vdr-dvd-scripts/ChangeLog b/media-tv/vdr-dvd-scripts/ChangeLog
index d3904b1e9595..6747ff140942 100644
--- a/media-tv/vdr-dvd-scripts/ChangeLog
+++ b/media-tv/vdr-dvd-scripts/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-tv/vdr-dvd-scripts
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/ChangeLog,v 1.7 2006/06/14 12:13:24 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/ChangeLog,v 1.8 2006/07/09 14:20:32 zzam Exp $
+
+*vdr-dvd-scripts-0.0.2 (09 Jul 2006)
+
+ 09 Jul 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +files/0.0.2/dvdchanger_readdvd.sh, +files/0.0.2/dvdchanger_writedvd.sh,
+ +vdr-dvd-scripts-0.0.2.ebuild:
+ Added version which is prepared for moving vdr-bg.sh to /usr/share/...
*vdr-dvd-scripts-0.0.1-r5 (14 Jun 2006)
diff --git a/media-tv/vdr-dvd-scripts/files/0.0.2/dvdchanger_readdvd.sh b/media-tv/vdr-dvd-scripts/files/0.0.2/dvdchanger_readdvd.sh
new file mode 100644
index 000000000000..50e1b358fa38
--- /dev/null
+++ b/media-tv/vdr-dvd-scripts/files/0.0.2/dvdchanger_readdvd.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# dvdselect_readdvd.sh
+#
+# source: dvdselect-plugin
+#
+# an LinVDR angepasst, da LinVDR kein at-Kommando hat
+# modified for LinVDR, because there is no at-command
+#
+# This script will by called by the vdr-plugin dvdselect to copy a DVD to
+# the local drive.
+#
+# It gets the following parameters:
+#
+# $1 = directory for dvd's (see plugin configuration menu)
+# $2 = name of dvd
+# $3 = original dvd-device
+
+if [[ -z ${EXECUTED_BY_VDR_BG} ]]; then
+ VDR_BG=/usr/share/vdr/bin/vdr-bg.sh
+ [[ -e ${VDR_BG} ]] || VDR_BG=/usr/lib/vdr/bin/vdr-bg.sh
+
+ exec "${VDR_BG}" "${0}" "${@}"
+ exit
+fi
+
+rm -f "$1/$2"
+
+svdrpsend.pl -d localhost "MESG DVD einlesen gestartet"
+dd if="$3" of="$1/$2"
+svdrpsend.pl -d localhost "MESG DVD $2 fertig"
+
diff --git a/media-tv/vdr-dvd-scripts/files/0.0.2/dvdchanger_writedvd.sh b/media-tv/vdr-dvd-scripts/files/0.0.2/dvdchanger_writedvd.sh
new file mode 100644
index 000000000000..a84a2605ed61
--- /dev/null
+++ b/media-tv/vdr-dvd-scripts/files/0.0.2/dvdchanger_writedvd.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+#
+# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/files/0.0.2/dvdchanger_writedvd.sh,v 1.1 2006/07/09 14:20:32 zzam Exp $
+#
+# 04 Mar 2006; Joerg Bornkessel <hd_brummy@gentoo.org>
+# addaptded to gentoo-vdr-scripts
+
+if [[ -z ${EXECUTED_BY_VDR_BG} ]]; then
+ VDR_BG=/usr/share/vdr/bin/vdr-bg.sh
+ [[ -e ${VDR_BG} ]] || VDR_BG=/usr/lib/vdr/bin/vdr-bg.sh
+
+ exec "${VDR_BG}" "${0}" "${@}"
+ exit
+fi
+
+[[ -e /etc/conf.d/vdr.cd-dvd ]] && source /etc/conf.d/vdr.cd-dvd
+
+ISO_FILE="${1// IMAGE/}"
+
+#logger -t burnscript burn ${ISO_FILE} --
+
+: ${VDR_DVDWRITER:=/dev/dvd}
+
+DVD_RECORDCMD="growisofs"
+DVDPLUS_RECORD_OPTS="-use-the-force-luke=tty -dvd-compat -Z"
+
+unset SUDO_COMMAND
+svdrpsend.pl -d localhost "MESG DVD burn initiated"
+"$DVD_RECORDCMD" $DVDPLUS_RECORD_OPTS "$VDR_DVDWRITER"="${ISO_FILE}"
+svdrpsend.pl -d localhost "MESG DVD burn completed"
diff --git a/media-tv/vdr-dvd-scripts/files/digest-vdr-dvd-scripts-0.0.2 b/media-tv/vdr-dvd-scripts/files/digest-vdr-dvd-scripts-0.0.2
new file mode 100644
index 000000000000..8b137891791f
--- /dev/null
+++ b/media-tv/vdr-dvd-scripts/files/digest-vdr-dvd-scripts-0.0.2
@@ -0,0 +1 @@
+
diff --git a/media-tv/vdr-dvd-scripts/vdr-dvd-scripts-0.0.2.ebuild b/media-tv/vdr-dvd-scripts/vdr-dvd-scripts-0.0.2.ebuild
new file mode 100644
index 000000000000..535bbcd022a8
--- /dev/null
+++ b/media-tv/vdr-dvd-scripts/vdr-dvd-scripts-0.0.2.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/vdr-dvd-scripts-0.0.2.ebuild,v 1.1 2006/07/09 14:20:32 zzam Exp $
+
+DESCRIPTION="scripts for vdr-plugins vdrselect and vdrswitch"
+HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/Dvdselect_readdvd.sh"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=media-tv/gentoo-vdr-scripts-0.3.0-r1"
+
+src_install() {
+ exeinto /usr/share/vdr/dvdchanger
+ exeopts -m0755
+ doexe ${FILESDIR}/${PV}/*.sh
+}