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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Mar 31 15:25:50 2011 UTC (3 years, 8 months ago) by ssuominen
Branch: MAIN
Changes since 1.5: +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.1.ebuild,v 1.5 2009/11/11 18:55:52 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 "${FILESDIR}/${P}-glibc-2.10.patch" )
26
27 VDR_RCADDON_FILE=${FILESDIR}/rc-addon-0.9.15.sh
28 VDR_CONFD_FILE=${FILESDIR}/confd-0.9.15.sh
29
30 src_unpack() {
31 vdr-plugin_src_unpack
32
33 sed -i Makefile -e "s:i18n.c:i18n.h:g"
34 }
35
36 src_install() {
37 vdr-plugin_src_install
38
39 insinto /etc/vdr/plugins/mplayer
40 doins "${FILESDIR}/mplayersources.conf"
41
42 into /usr/share/vdr/mplayer
43 newbin examples/mount.sh.example mount-mplayer.sh
44
45 dodoc HISTORY MANUAL README examples/{image_convert,network}.sh.example
46 }
47
48 pkg_postinst() {
49 vdr-plugin_pkg_postinst
50
51 echo
52 elog "Edit all config's /etc/vdr/plugins/mplayer"
53 echo
54
55 if ! has_version "media-plugins/vdr-mp3ng" ; then
56 elog "Splitted ebuild!, no support for Audio files"
57 elog "To play mp3, ogg and wav files,"
58 elog "emerge media-plugins/vdr-mp3ng -pv"
59 elog "or"
60 elog "emerge media-plugins/vdr-mp3 -pv"
61 echo
62 fi
63 }

  ViewVC Help
Powered by ViewVC 1.1.20