summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-03-05 10:28:43 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-03-05 10:28:43 +0000
commit26a7fe353606477cbc73b703935859f1c66abcf6 (patch)
treec54f64a1ef3206273204f5dd521f586375c0b995 /media-plugins/vdr-vcd/files
parentAdding metadata.xml (diff)
downloadgentoo-2-26a7fe353606477cbc73b703935859f1c66abcf6.tar.gz
gentoo-2-26a7fe353606477cbc73b703935859f1c66abcf6.tar.bz2
gentoo-2-26a7fe353606477cbc73b703935859f1c66abcf6.zip
imported ebuild from gentoo.de
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'media-plugins/vdr-vcd/files')
-rw-r--r--media-plugins/vdr-vcd/files/confd11
-rw-r--r--media-plugins/vdr-vcd/files/digest-vdr-vcd-0.76
-rwxr-xr-xmedia-plugins/vdr-vcd/files/rc-addon.sh13
3 files changed, 30 insertions, 0 deletions
diff --git a/media-plugins/vdr-vcd/files/confd b/media-plugins/vdr-vcd/files/confd
new file mode 100644
index 000000000000..1febcf872899
--- /dev/null
+++ b/media-plugins/vdr-vcd/files/confd
@@ -0,0 +1,11 @@
+# /etc/conf.d/vdr.vcd:
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vcd/files/confd,v 1.1 2006/03/05 10:28:43 zzam Exp $
+
+# Config file for vdr plugin vcd
+
+#Device to read VCDs from
+# allowed values: cdrom-device names
+# default: VDR_CDREADER from /etc/conf.d/vdr.cd-dvd
+# (or if file does not exist /dev/cdrom)
+#VCD_DEVICE="/dev/cdrom"
+
diff --git a/media-plugins/vdr-vcd/files/digest-vdr-vcd-0.7 b/media-plugins/vdr-vcd/files/digest-vdr-vcd-0.7
new file mode 100644
index 000000000000..813cfc9ec654
--- /dev/null
+++ b/media-plugins/vdr-vcd/files/digest-vdr-vcd-0.7
@@ -0,0 +1,6 @@
+MD5 b7547a7019d08335381092f2678dee38 vcd-0.7.patch 1661
+RMD160 bf8300228d3e56457c107538572065ed67b52250 vcd-0.7.patch 1661
+SHA256 1d238289bbf59bdd69a8c8b43608d0f3845b5b43e6bd2d4bfc90291d59495c9d vcd-0.7.patch 1661
+MD5 3a76237ad1e464a7c82ac1b306a99882 vdr-vcd-0.7.tgz 33510
+RMD160 7fa73b30279f192a14558f0d88b95ee3b326507e vdr-vcd-0.7.tgz 33510
+SHA256 6896e4ae0e67dc548ef854e725d151b20507ea1f45c73032453bdf2c91a72f60 vdr-vcd-0.7.tgz 33510
diff --git a/media-plugins/vdr-vcd/files/rc-addon.sh b/media-plugins/vdr-vcd/files/rc-addon.sh
new file mode 100755
index 000000000000..ecc8f8761490
--- /dev/null
+++ b/media-plugins/vdr-vcd/files/rc-addon.sh
@@ -0,0 +1,13 @@
+# plugin-startup-skript for vcd-plugin
+
+plugin_pre_vdr_start() {
+ [[ -e /etc/conf.d/vdr.cd-dvd ]] && source /etc/conf.d/vdr.cd-dvd
+ : ${VDR_CDREADER:=/dev/cdrom}
+ : ${VCD_DEVICE:=${VDR_CDREADER}}
+ add_plugin_param "--vcd ${VCD_DEVICE}"
+}
+
+# for compatibility
+if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
+ plugin_pre_vdr_start
+fi