1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="mplayer wrapper script as backend for vdr-mplayer"
10 HOMEPAGE="http://www.vdr-portal.de/board/thread.php?threadid=62306"
11 SRC_URI="mirror://gentoo/${MY_P}.tgz
12 https://dev.gentoo.org/~zzam/distfiles/${MY_P}.tgz"
19 DEPEND="media-tv/gentoo-vdr-scripts"
20 RDEPEND=">=media-video/mplayer-0.90_rc4"
28 -e 's#$CONFDIR/silence.wav#/usr/share/vdr/mplay-sh/silence.wav#'
29 sed -i conf.examples/mplayrc \
30 -e 's#^MPLAY_PLAY.*#MPLAY_PLAY="/var/vdr/tmp/mplay.play"#'
34 exeinto /usr/share/vdr/mplayer/bin
37 insinto /etc/vdr/plugins/mplay
38 doins conf.examples/*.conf conf.examples/mplayrc
40 insinto /usr/share/vdr/mplay-sh
41 doins conf.examples/silence.wav
45 chown vdr:vdr -R "${D}/var/vdr"