From: | "Matthias Schwarzott (zzam)" <zzam@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-xineliboutput: ChangeLog vdr-xineliboutput-1.0.0.ebuild |
Date: | Thu, 24 Apr 2008 20:03:37 |
Message-Id: | E1Jp7fF-0004nR-Ql@stork.gentoo.org |
1 | zzam 08/04/24 20:03:29 |
2 | |
3 | Modified: ChangeLog |
4 | Added: vdr-xineliboutput-1.0.0.ebuild |
5 | Log: |
6 | Version bumped. Changes based on ebuild from mpz in #gentoo-vdr. |
7 | (Portage version: 2.1.5_rc6) |
8 | |
9 | Revision Changes Path |
10 | 1.38 media-plugins/vdr-xineliboutput/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog?rev=1.38&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog?rev=1.38&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog?r1=1.37&r2=1.38 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v |
19 | retrieving revision 1.37 |
20 | retrieving revision 1.38 |
21 | diff -u -r1.37 -r1.38 |
22 | --- ChangeLog 18 Apr 2008 20:40:16 -0000 1.37 |
23 | +++ ChangeLog 24 Apr 2008 20:03:29 -0000 1.38 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for media-plugins/vdr-xineliboutput |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.37 2008/04/18 20:40:16 zzam Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.38 2008/04/24 20:03:29 zzam Exp $ |
29 | + |
30 | +*vdr-xineliboutput-1.0.0 (24 Apr 2008) |
31 | + |
32 | + 24 Apr 2008; Matthias Schwarzott <zzam@g.o> |
33 | + +vdr-xineliboutput-1.0.0.ebuild: |
34 | + Version bumped. Changes based on ebuild from mpz in #gentoo-vdr. |
35 | |
36 | 18 Apr 2008; Matthias Schwarzott <zzam@g.o> |
37 | vdr-xineliboutput-1.0.0_rc2.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: vdr-xineliboutput-1.0.0.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0.ebuild,v 1.1 2008/04/24 20:03:29 zzam Exp $ |
51 | |
52 | inherit vdr-plugin eutils multilib versionator |
53 | |
54 | MY_PV=${PV/_/} |
55 | MY_P=${PN}-${MY_PV} |
56 | |
57 | SO_VERSION="${PV%_p*}" |
58 | SO_VERSION="${SO_VERSION/_/}" |
59 | |
60 | DESCRIPTION="Video Disk Recorder Xinelib PlugIn" |
61 | HOMEPAGE="http://sourceforge.net/projects/xineliboutput/" |
62 | SRC_URI="mirror://sourceforge/${PN#vdr-}/${MY_P}-1.tgz" |
63 | |
64 | SLOT="0" |
65 | LICENSE="GPL-2" |
66 | KEYWORDS="~amd64 ~x86" |
67 | IUSE="fbcon X libextractor" |
68 | |
69 | RDEPEND=">=media-video/vdr-1.4.0 |
70 | >=media-libs/xine-lib-1.1.1 |
71 | media-libs/jpeg |
72 | libextractor? ( >=media-libs/libextractor-0.5.20 ) |
73 | X? ( |
74 | x11-proto/xextproto |
75 | x11-proto/xf86vidmodeproto |
76 | x11-proto/xproto |
77 | x11-proto/renderproto |
78 | )" |
79 | |
80 | DEPEND="${RDEPEND} |
81 | sys-kernel/linux-headers |
82 | X? ( |
83 | x11-libs/libX11 |
84 | x11-libs/libXv |
85 | x11-libs/libXext |
86 | x11-libs/libXrender |
87 | )" |
88 | |
89 | S=${WORKDIR}/${MY_P#vdr-} |
90 | |
91 | VDR_CONFD_FILE=${FILESDIR}/confd-1.0.0_pre6 |
92 | |
93 | NO_GETTEXT_HACK=1 |
94 | |
95 | use_onoff() { |
96 | if use "$1"; then |
97 | echo 1 |
98 | else |
99 | echo 0 |
100 | fi |
101 | } |
102 | |
103 | src_unpack() { |
104 | vdr-plugin_src_unpack |
105 | |
106 | cd "${S}" |
107 | |
108 | XINE_PLUGIN_DIR=$(xine-config --plugindir) |
109 | if [[ ${XINE_PLUGIN_DIR} = "" ]]; then |
110 | eerror "Could not find xine plugin dir" |
111 | die "Could not find xine plugin dir" |
112 | fi |
113 | # stop some automagic overwriting the stuff we set |
114 | sed -e '/XINELIBOUTPUT_VDRPLUGIN = 1/s/^/#/' \ |
115 | -e '/HAVE_EXTRACTOR_H = 1/s/^/#/' \ |
116 | -i Makefile |
117 | |
118 | cat >>Make.config <<-EOF |
119 | XINELIBOUTPUT_XINEPLUGIN = 1 |
120 | XINELIBOUTPUT_VDRPLUGIN = 1 |
121 | |
122 | XINELIBOUTPUT_FB = $(use_onoff fbcon) |
123 | XINELIBOUTPUT_X11 = $(use_onoff X) |
124 | |
125 | HAVE_XRENDER = 1 |
126 | HAVE_XDPMS = 1 |
127 | HAVE_EXTRACTOR_H = $(use_onoff libextractor) |
128 | EOF |
129 | |
130 | # patching makefile to work with this |
131 | # $ rm ${outdir}/file; cp file ${outdir}/file |
132 | # work in the sandbox |
133 | sed -i Makefile \ |
134 | -e 's:XINEPLUGINDIR.*=.*:XINEPLUGINDIR = '"${WORKDIR}/lib:" \ |
135 | -e 's:VDRINCDIR.*=.*:VDRINCDIR ?= /usr/include:' |
136 | mkdir -p "${WORKDIR}/lib" |
137 | } |
138 | |
139 | src_install() { |
140 | vdr-plugin_src_install |
141 | |
142 | use fbcon && dobin vdr-fbfe |
143 | use X && dobin vdr-sxfe |
144 | |
145 | # There may be no sub-plugin, depending on use-flags |
146 | insinto ${VDR_PLUGIN_DIR} |
147 | local f |
148 | for f in libxineliboutput*.so.${SO_VERSION}; do |
149 | [[ -f "$f" ]] || continue |
150 | doins "${f}" || die "could not install sub-plugin ${f}" |
151 | done |
152 | |
153 | insinto "${XINE_PLUGIN_DIR}" |
154 | doins xineplug_inp_*.so |
155 | |
156 | insinto "${XINE_PLUGIN_DIR}"/post |
157 | doins xineplug_post_*.so |
158 | } |
159 | |
160 | |
161 | |
162 | -- |
163 | gentoo-commits@l.g.o mailing list |