# 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.6 2006/05/22 20:58:34 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/ChangeLog,v 1.7 2006/06/14 12:13:24 zzam Exp $
+
+*vdr-dvd-scripts-0.0.1-r5 (14 Jun 2006)
+
+ 14 Jun 2006; Matthias Schwarzott <zzam@gentoo.org>
+ files/0.0.1/dvdchanger_readdvd.sh, files/0.0.1/dvdchanger_writedvd.sh,
+ files/0.0.1/dvdchanger_readdvd_real.sh,
+ files/0.0.1/dvdchanger_writedvd_real.sh, -vdr-dvd-scripts-0.0.1-r4.ebuild,
+ +vdr-dvd-scripts-0.0.1-r5.ebuild:
+ Added missing quotes to allow filenames with spaces. Reported by Quacks in
+ #gentoo-vdr.
22 May 2006; Matthias Schwarzott <zzam@gentoo.org>
vdr-dvd-scripts-0.0.1-r4.ebuild:
#
# $1 = filename of the iso file
-/usr/lib/vdr/bin/vdr-bg.sh /usr/share/vdr/dvdchanger/dvdchanger_readdvd_real.sh $@
+/usr/lib/vdr/bin/vdr-bg.sh /usr/share/vdr/dvdchanger/dvdchanger_readdvd_real.sh "$@"
# $2 = name of dvd
# $3 = original dvd-device
-rm -f $1/$2
+rm -f "$1/$2"
svdrpsend.pl -d localhost "MESG DVD einlesen gestartet"
-dd if=$3 of=$1/$2
+dd if="$3" of="$1/$2"
svdrpsend.pl -d localhost "MESG DVD $2 fertig"
#
# $1 = filename of the iso file
-/usr/lib/vdr/bin/vdr-bg.sh /usr/share/vdr/dvdchanger/dvdchanger_writedvd_real.sh $@
+/usr/lib/vdr/bin/vdr-bg.sh /usr/share/vdr/dvdchanger/dvdchanger_writedvd_real.sh "$@"
#!/bin/sh
#
-# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd_real.sh,v 1.2 2006/04/03 18:46:25 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd_real.sh,v 1.3 2006/06/14 12:13:24 zzam Exp $
#
# 04 Mar 2006; Joerg Bornkessel <hd_brummy@gentoo.org>
# addaptded to gentoo-vdr-scripts
[[ -e /etc/conf.d/vdr.cd-dvd ]] && source /etc/conf.d/vdr.cd-dvd
-ISO_FILE=`echo ${@} | sed 's:\ IMAGE::g'`
+ISO_FILE="${1// IMAGE/}"
#logger -t burnscript burn ${ISO_FILE} --
unset SUDO_COMMAND
svdrpsend.pl -d localhost "MESG DVD burn initiated"
-$DVD_RECORDCMD $DVDPLUS_RECORD_OPTS $VDR_DVDWRITER="${ISO_FILE}"
+"$DVD_RECORDCMD" $DVDPLUS_RECORD_OPTS "$VDR_DVDWRITER"="${ISO_FILE}"
svdrpsend.pl -d localhost "MESG DVD burn completed"
--- /dev/null
+# 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.1-r5.ebuild,v 1.1 2006/06/14 12:13:24 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
+}