/[gentoo-x86]/media-video/mplayer-sh/mplayer-sh-0.8.6-r2.ebuild
Gentoo

Contents of /media-video/mplayer-sh/mplayer-sh-0.8.6-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Nov 27 11:48:52 2007 UTC (6 years, 11 months ago) by zzam
Branch: MAIN
Changes since 1.3: +5 -5 lines
Fixed quoting.
(Portage version: 2.1.4_rc3)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/mplayer-sh/mplayer-sh-0.8.6-r2.ebuild,v 1.3 2007/07/12 02:40:42 mr_bones_ Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Video Disk Recorder Mplayer API Script"
8 HOMEPAGE="http://batleth.sapienti-sat.org/"
9 SRC_URI="http://batleth.sapienti-sat.org/projects/VDR/mplayer.sh-${PV}.tar.gz"
10
11 KEYWORDS="x86 ~amd64"
12 SLOT="0"
13 LICENSE="as-is"
14 IUSE=""
15
16 RDEPEND=">=media-video/mplayer-0.90_rc4"
17
18 S=${WORKDIR}
19
20 src_unpack() {
21
22 unpack ${A}
23 cd "${S}"
24
25 epatch "${FILESDIR}/${P}-parameter-aid.diff"
26
27 sed -i "s:^declare CFGFIL.*$:declare CFGFIL=\"\/etc\/vdr\/plugins\/mplayer\/mplayer.sh.conf\":" mplayer.sh
28 sed -i mplayer.sh.conf -e "s:^LIRCRC.*$:LIRCRC=\/etc\/lircd.conf:" \
29 -e "s:^MPLAYER=.*$:MPLAYER=\/usr\/bin\/mplayer:"
30 }
31
32 src_install() {
33
34 insinto /etc/vdr/plugins/mplayer
35 doins mplayer.sh.conf
36
37 into /usr/share/vdr/mplayer
38 dobin mplayer.sh
39
40 dodir /etc/vdr/plugins/DVD-VCD
41 touch "${D}"/etc/vdr/plugins/DVD-VCD/{DVD,VCD}
42 fowners vdr:video /etc/vdr/plugins/DVD-VCD/{DVD,VCD}
43 }

  ViewVC Help
Powered by ViewVC 1.1.20