diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-03-05 11:49:34 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-03-05 11:49:34 +0000 |
commit | 43d318f0dc9eabf90e9dfa6d3933443f02947f5d (patch) | |
tree | 33e6e8fae3bcc0ab3bc1f727c63fd230c2cb6d37 /media-plugins/vdr-bitstreamout | |
parent | imported ebuild from gentoo.de (diff) | |
download | gentoo-2-43d318f0dc9eabf90e9dfa6d3933443f02947f5d.tar.gz gentoo-2-43d318f0dc9eabf90e9dfa6d3933443f02947f5d.tar.bz2 gentoo-2-43d318f0dc9eabf90e9dfa6d3933443f02947f5d.zip |
added config file/rc-script
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'media-plugins/vdr-bitstreamout')
-rw-r--r-- | media-plugins/vdr-bitstreamout/ChangeLog | 6 | ||||
-rw-r--r-- | media-plugins/vdr-bitstreamout/files/confd | 12 | ||||
-rwxr-xr-x | media-plugins/vdr-bitstreamout/files/rc-addon.sh | 10 |
3 files changed, 27 insertions, 1 deletions
diff --git a/media-plugins/vdr-bitstreamout/ChangeLog b/media-plugins/vdr-bitstreamout/ChangeLog index 041f5b34443a..7b20a1883d7f 100644 --- a/media-plugins/vdr-bitstreamout/ChangeLog +++ b/media-plugins/vdr-bitstreamout/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/vdr-bitstreamout # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-bitstreamout/ChangeLog,v 1.1 2006/03/05 11:47:29 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-bitstreamout/ChangeLog,v 1.2 2006/03/05 11:49:34 zzam Exp $ + + 05 Mar 2006; Matthias Schwarzott <zzam@gentoo.org> +files/confd, + +files/rc-addon.sh: + added config file/rc-script *vdr-bitstreamout-0.84 (05 Mar 2006) diff --git a/media-plugins/vdr-bitstreamout/files/confd b/media-plugins/vdr-bitstreamout/files/confd new file mode 100644 index 000000000000..cbf26c77428c --- /dev/null +++ b/media-plugins/vdr-bitstreamout/files/confd @@ -0,0 +1,12 @@ +# /etc/conf.d/vdr.bitstreamout: +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-bitstreamout/files/confd,v 1.1 2006/03/05 11:49:34 zzam Exp $ + +# Global config file for vdr plugin bitstreamout + +# You may use mute.sh for muting the S/P-DIF out of the +# sound card even if not used for AC3. Note that this +# script is designed for a C-Media PCI CMI8738 based sound card. +# Please modify vdr_mute.sh depending of your sound-card +#BITSTREAMOUT_MUTE="/usr/lib/vdr/cmi8738.sh" +#BITSTREAMOUT_MUTE="/usr/lib/vdr/soundblaster.sh" + diff --git a/media-plugins/vdr-bitstreamout/files/rc-addon.sh b/media-plugins/vdr-bitstreamout/files/rc-addon.sh new file mode 100755 index 000000000000..a6815bf3a955 --- /dev/null +++ b/media-plugins/vdr-bitstreamout/files/rc-addon.sh @@ -0,0 +1,10 @@ +# plugin-startup-skript for bitstreamout-plugin + +plugin_pre_vdr_start() { + [[ -n "${BITSTREAMOUT_MUTE}" ]] && "--mute=${BITSTREAMOUT_MUTE}" +} + +if [[ ${SCRIPT_API:-1} -lt 2 ]]; then + plugin_pre_vdr_start +fi + |