/[gentoo-x86]/media-plugins/vdr-xine/vdr-xine-0.9.4.ebuild
Gentoo

Contents of /media-plugins/vdr-xine/vdr-xine-0.9.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Feb 23 21:10:57 2014 UTC (5 years, 7 months ago) by hd_brummy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
cleanup old, depended on vdr-plugin.eclass

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

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xine/vdr-xine-0.9.4.ebuild,v 1.2 2012/01/10 21:50:41 idl0r Exp $
4
5 EAPI=3
6
7 inherit vdr-plugin
8
9 DESCRIPTION="VDR plugin: for 'software only' playback using xine"
10 HOMEPAGE="http://home.vr-web.de/~rnissl/"
11 SRC_URI="http://home.vr-web.de/~rnissl/${P}.tgz"
12
13 SLOT="0"
14 LICENSE="GPL-2"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="nls yaepg"
17
18 COMMON_DEP=">=media-video/vdr-1.3.9
19 >=media-libs/xine-lib-1.1.8[vdr]"
20 DEPEND="${COMMON_DEP}
21 nls? ( sys-devel/gettext )"
22 RDEPEND="${COMMON_DEP}
23 media-video/mjpegtools
24 media-libs/netpbm
25 media-video/y4mscaler"
26
27 src_prepare() {
28 epatch "${FILESDIR}/${P}-gentoo.diff"
29 epatch "${FILESDIR}/${P}-build-system.patch"
30
31 use yaepg && sed -i Makefile -e "s:#VDR_XINE_SET_VIDEO_WINDOW:VDR_XINE_SET_VIDEO_WINDOW:"
32
33 vdr-plugin_src_prepare
34 }
35
36 src_compile() {
37 BUILD_PARAMS="VDR_XINE_FIFO_DIR=/var/vdr/xine"
38
39 if use nls; then
40 BUILD_PARAMS+=" ENABLE_I18N=yes"
41 fi
42
43 vdr-plugin_src_compile
44 }
45
46 src_install() {
47 vdr-plugin_src_install
48
49 dobin xineplayer || die
50
51 insinto /usr/share/vdr/xine
52 doins data/* || die
53
54 dodoc MANUAL
55 }
56
57 pkg_postinst() {
58 vdr-plugin_pkg_postinst
59
60 if [[ -d ${ROOT}/etc/vdr/plugins/xine ]]; then
61 ewarn "You have a leftover directory of vdr-xine."
62 ewarn "You can safely remove it with:"
63 ewarn "# rm -rf /etc/vdr/plugins/xine"
64 fi
65 }

  ViewVC Help
Powered by ViewVC 1.1.20