| 1 |
# Copyright 1999-2009 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-video/mplay-sh/mplay-sh-0.5.3.ebuild,v 1.1 2007/05/15 11:57:30 zzam Exp $
|
| 4 |
|
| 5 |
inherit eutils
|
| 6 |
|
| 7 |
MY_P="mplay-${PV}"
|
| 8 |
|
| 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 |
http://dev.gentoo.org/~zzam/distfiles/${MY_P}.tgz"
|
| 13 |
|
| 14 |
KEYWORDS="~x86 ~amd64"
|
| 15 |
SLOT="0"
|
| 16 |
LICENSE="GPL-2"
|
| 17 |
IUSE=""
|
| 18 |
|
| 19 |
RDEPEND=">=media-video/mplayer-0.90_rc4"
|
| 20 |
|
| 21 |
S=${WORKDIR}/${MY_P}
|
| 22 |
|
| 23 |
src_unpack() {
|
| 24 |
unpack ${A}
|
| 25 |
cd "${S}"
|
| 26 |
sed -i mplay.sh \
|
| 27 |
-e 's#$CONFDIR/silence.wav#/usr/share/vdr/mplay-sh/silence.wav#'
|
| 28 |
}
|
| 29 |
|
| 30 |
src_install() {
|
| 31 |
exeinto /usr/share/vdr/mplayer/bin
|
| 32 |
doexe mplay.sh
|
| 33 |
|
| 34 |
insinto /etc/vdr/plugins/mplay
|
| 35 |
doins conf.examples/*.conf conf.examples/mplayrc
|
| 36 |
|
| 37 |
insinto /usr/share/vdr/mplay-sh
|
| 38 |
doins conf.examples/silence.wav
|
| 39 |
|
| 40 |
dodoc README* HISTORY
|
| 41 |
}
|