/[gentoo-x86]/media-plugins/vdr-mplayer/vdr-mplayer-0.10.0.ebuild
Gentoo

Contents of /media-plugins/vdr-mplayer/vdr-mplayer-0.10.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Mar 31 15:25:50 2011 UTC (3 years, 5 months ago) by ssuominen
Branch: MAIN
Changes since 1.4: +4 -4 lines
Use virtual/eject instead of sys-apps/eject.

(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/vdr-mplayer-0.10.0.ebuild,v 1.4 2009/11/11 18:53:22 zzam Exp $
4
5 inherit vdr-plugin eutils
6
7 DESCRIPTION="VDR Plugin: Play video files not supported by VDR with mplayer (divx and more)"
8 HOMEPAGE="http://www.muempf.de/"
9 SRC_URI="http://www.muempf.de/down/vdr-mp3-${PV}.tar.gz"
10
11 SLOT="0"
12 LICENSE="GPL-2"
13 KEYWORDS="~amd64 x86"
14 IUSE=""
15
16 DEPEND=">=media-video/vdr-1.4.2"
17
18 RDEPEND="${DEPEND}
19 || ( media-video/mplay-sh >=media-video/mplayer-sh-0.8.6-r1 )
20 virtual/eject"
21
22 S=${WORKDIR}/mp3-${PV}
23
24 PATCHES=("${FILESDIR}/${PV}/01_gentoo.diff")
25
26 VDR_RCADDON_FILE=${FILESDIR}/rc-addon-0.9.15.sh
27 VDR_CONFD_FILE=${FILESDIR}/confd-0.9.15.sh
28
29 src_install() {
30
31 vdr-plugin_src_install
32
33 insinto /etc/vdr/plugins/mplayer
34 doins "${FILESDIR}/mplayersources.conf"
35
36 into /usr/share/vdr/mplayer
37 newbin examples/mount.sh.example mount-mplayer.sh
38
39 dodoc HISTORY MANUAL README examples/{image_convert,network}.sh.example
40 }
41
42 pkg_postinst() {
43
44 vdr-plugin_pkg_postinst
45
46 echo
47 elog "Edit all config's /etc/vdr/plugins/mplayer"
48 echo
49
50 if ! has_version "media-plugins/vdr-mp3ng" ; then
51 elog "Splitted ebuild!, no support for Audio files"
52 elog "To play mp3, ogg and wav files,"
53 elog "emerge media-plugins/vdr-mp3ng -pv"
54 echo
55 fi
56 }

  ViewVC Help
Powered by ViewVC 1.1.20