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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jan 9 21:48:55 2013 UTC (18 months, 3 weeks ago) by hd_brummy
Branch: MAIN
Changes since 1.2: +6 -6 lines
vdr-plugin-2.eclass; eapi=5

(Portage version: 2.1.11.31/cvs/Linux i686, signed Manifest commit with key 34C2808A)

1 # Copyright 1999-2013 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.2.ebuild,v 1.2 2011/03/31 15:25:50 ssuominen Exp $
4
5 EAPI="5"
6
7 inherit vdr-plugin-2
8
9 DESCRIPTION="VDR Plugin: Play video files not supported by VDR with mplayer (divx and more)"
10 HOMEPAGE="http://www.muempf.de/"
11 SRC_URI="http://www.muempf.de/down/vdr-mp3-${PV}.tar.gz"
12
13 SLOT="0"
14 LICENSE="GPL-2"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 DEPEND=">=media-video/vdr-1.4.2"
19
20 RDEPEND="${DEPEND}
21 || ( media-video/mplay-sh >=media-video/mplayer-sh-0.8.6-r1 )
22 virtual/eject"
23
24 S=${WORKDIR}/mp3-${PV}
25
26 PATCHES=( "${FILESDIR}/${PV}/01_gentoo.diff" )
27
28 VDR_RCADDON_FILE=${FILESDIR}/rc-addon-0.9.15.sh
29 VDR_CONFD_FILE=${FILESDIR}/confd-0.9.15.sh
30
31 src_install() {
32 vdr-plugin-2_src_install
33
34 insinto /etc/vdr/plugins/mplayer
35 doins "${FILESDIR}/mplayersources.conf"
36
37 into /usr/share/vdr/mplayer
38 newbin examples/mount.sh.example mount-mplayer.sh
39
40 dodoc HISTORY MANUAL README examples/{image_convert,network}.sh.example
41 }
42
43 pkg_postinst() {
44 vdr-plugin-2_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 elog "or"
55 elog "emerge media-plugins/vdr-mp3 -pv"
56 echo
57 fi
58 }

  ViewVC Help
Powered by ViewVC 1.1.20