diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2007-07-21 22:40:13 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2007-07-21 22:40:13 +0000 |
commit | 6b8529a3d58e84e02fa5a6d9e13f8916f9c1dc48 (patch) | |
tree | 7cc128dffa20f2180413e66e317575d459c7c48b /media-tv | |
parent | new conf, with new parameter to make burn-speed configurabel (diff) | |
download | gentoo-2-6b8529a3d58e84e02fa5a6d9e13f8916f9c1dc48.tar.gz gentoo-2-6b8529a3d58e84e02fa5a6d9e13f8916f9c1dc48.tar.bz2 gentoo-2-6b8529a3d58e84e02fa5a6d9e13f8916f9c1dc48.zip |
new version includes parameter to set burn-speed
(Portage version: 2.1.2.9)
Diffstat (limited to 'media-tv')
5 files changed, 97 insertions, 2 deletions
diff --git a/media-tv/vdr-dvd-scripts/ChangeLog b/media-tv/vdr-dvd-scripts/ChangeLog index eb5b6f62822d..de41e2c83634 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.12 2006/10/26 08:24:32 zzam Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/ChangeLog,v 1.13 2007/07/21 22:40:12 hd_brummy Exp $ + +*vdr-dvd-scripts-0.0.3 (21 Jul 2007) + + 21 Jul 2007; Joerg Bornkessel <hd_brummy@gentoo.org> + +files/0.0.3/dvdchanger_readdvd.sh, +files/0.0.3/dvdchanger_writedvd.sh, + +vdr-dvd-scripts-0.0.3.ebuild: + new version includes parameter to set burn-speed 26 Oct 2006; Matthias Schwarzott <zzam@gentoo.org> -files/0.0.1/dvdchanger_readdvd.sh, diff --git a/media-tv/vdr-dvd-scripts/files/0.0.3/dvdchanger_readdvd.sh b/media-tv/vdr-dvd-scripts/files/0.0.3/dvdchanger_readdvd.sh new file mode 100644 index 000000000000..50e1b358fa38 --- /dev/null +++ b/media-tv/vdr-dvd-scripts/files/0.0.3/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.3/dvdchanger_writedvd.sh b/media-tv/vdr-dvd-scripts/files/0.0.3/dvdchanger_writedvd.sh new file mode 100644 index 000000000000..a7337cedd853 --- /dev/null +++ b/media-tv/vdr-dvd-scripts/files/0.0.3/dvdchanger_writedvd.sh @@ -0,0 +1,36 @@ +#!/bin/sh +# +# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/files/0.0.3/dvdchanger_writedvd.sh,v 1.1 2007/07/21 22:40:13 hd_brummy 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} + +[[ -e /etc/conf.d/vdr.dvdswitch ]] && source /etc/conf.d/vdr.dvdswitch +: ${DVDSWITCH_BURNSPEED:=0} + + +DVD_RECORDCMD="growisofs" +DVDPLUS_RECORD_OPTS="-use-the-force-luke=tty -speed=$DVDSWITCH_BURNSPEED -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.3 b/media-tv/vdr-dvd-scripts/files/digest-vdr-dvd-scripts-0.0.3 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/media-tv/vdr-dvd-scripts/files/digest-vdr-dvd-scripts-0.0.3 diff --git a/media-tv/vdr-dvd-scripts/vdr-dvd-scripts-0.0.3.ebuild b/media-tv/vdr-dvd-scripts/vdr-dvd-scripts-0.0.3.ebuild new file mode 100644 index 000000000000..cab313b253c1 --- /dev/null +++ b/media-tv/vdr-dvd-scripts/vdr-dvd-scripts-0.0.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2007 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.3.ebuild,v 1.1 2007/07/21 22:40:12 hd_brummy Exp $ + +DESCRIPTION="dvd read/write commands for vdr-plugins dvdselect and dvdswitch" +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 +} |