1 |
idl0r 14/01/27 19:12:07 |
2 |
|
3 |
Modified: vdr-xineliboutput-9999.ebuild metadata.xml |
4 |
ChangeLog |
5 |
Added: vdr-xineliboutput-1.1.0.ebuild |
6 |
Log: |
7 |
Version bump, bug 499342 |
8 |
|
9 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key B427ABC8) |
10 |
|
11 |
Revision Changes Path |
12 |
1.15 media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild?rev=1.15&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild?rev=1.15&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild?r1=1.14&r2=1.15 |
17 |
|
18 |
Index: vdr-xineliboutput-9999.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild,v |
21 |
retrieving revision 1.14 |
22 |
retrieving revision 1.15 |
23 |
diff -u -r1.14 -r1.15 |
24 |
--- vdr-xineliboutput-9999.ebuild 19 Oct 2013 18:40:11 -0000 1.14 |
25 |
+++ vdr-xineliboutput-9999.ebuild 27 Jan 2014 19:12:06 -0000 1.15 |
26 |
@@ -1,15 +1,12 @@ |
27 |
-# Copyright 1999-2013 Gentoo Foundation |
28 |
+# Copyright 1999-2014 Gentoo Foundation |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild,v 1.14 2013/10/19 18:40:11 idl0r Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-9999.ebuild,v 1.15 2014/01/27 19:12:06 idl0r Exp $ |
32 |
|
33 |
EAPI=5 |
34 |
GENTOO_VDR_CONDITIONAL=yes |
35 |
|
36 |
inherit vdr-plugin-2 cvs toolchain-funcs eutils |
37 |
|
38 |
-MY_PV=${PV#*_p} |
39 |
-MY_P=${PN} |
40 |
- |
41 |
DESCRIPTION="Video Disk Recorder Xinelib PlugIn" |
42 |
HOMEPAGE="http://sourceforge.net/projects/xineliboutput/" |
43 |
|
44 |
@@ -19,7 +16,7 @@ |
45 |
SLOT="0" |
46 |
LICENSE="GPL-2" |
47 |
KEYWORDS="" |
48 |
-IUSE="caps dbus fbcon jpeg libextractor nls +vdr vdpau +X +xine xinerama" |
49 |
+IUSE="bluray caps cec dbus fbcon jpeg libextractor nls opengl +vdr vdpau +X +xine xinerama" |
50 |
|
51 |
COMMON_DEPEND=" |
52 |
vdr? ( |
53 |
@@ -39,8 +36,12 @@ |
54 |
dbus? ( dev-libs/dbus-glib dev-libs/glib:2 ) |
55 |
vdpau? ( x11-libs/libvdpau >=media-libs/xine-lib-1.2 ) |
56 |
jpeg? ( virtual/jpeg ) |
57 |
+ bluray? ( media-libs/libbluray ) |
58 |
+ opengl? ( virtual/opengl ) |
59 |
) |
60 |
- )" |
61 |
+ ) |
62 |
+ |
63 |
+ cec? ( dev-libs/libcec )" |
64 |
|
65 |
DEPEND="${COMMON_DEPEND} |
66 |
virtual/pkgconfig |
67 |
@@ -54,8 +55,7 @@ |
68 |
)" |
69 |
RDEPEND="${COMMON_DEPEND}" |
70 |
|
71 |
-S=${WORKDIR}/${MY_P} |
72 |
- |
73 |
+S=${WORKDIR}/${PN} |
74 |
VDR_CONFD_FILE="${FILESDIR}/confd-1.0.0_pre6" |
75 |
|
76 |
pkg_setup() { |
77 |
@@ -72,16 +72,10 @@ |
78 |
} |
79 |
|
80 |
src_prepare() { |
81 |
- epatch "${FILESDIR}/${P}-build-system.patch" |
82 |
- |
83 |
# Allow user patches to be applied without modifyfing the ebuild |
84 |
epatch_user |
85 |
|
86 |
vdr-plugin-2_src_prepare |
87 |
- |
88 |
- sed -i -e 's:^\(LOCALEDIR\) .*:\1 = $(DESTDIR)/usr/share/vdr/locale:' \ |
89 |
- -e "s:LIBDIR .*:LIBDIR = ${VDR_PLUGIN_DIR}:" \ |
90 |
- Makefile || die |
91 |
} |
92 |
|
93 |
src_configure() { |
94 |
@@ -94,8 +88,6 @@ |
95 |
fi |
96 |
|
97 |
# No autotools based configure script |
98 |
- # There is no real opengl support, just the switch and some help text is |
99 |
- # left... |
100 |
./configure \ |
101 |
--cc=$(tc-getCC) \ |
102 |
--cxx=$(tc-getCXX) \ |
103 |
@@ -114,8 +106,10 @@ |
104 |
$(use_enable vdpau) \ |
105 |
$(use_enable dbus dbus-glib-1) \ |
106 |
$(use_enable nls i18n) \ |
107 |
+ $(use_enable bluray libbluray) \ |
108 |
+ $(use_enable opengl) \ |
109 |
+ $(use_enable cec libcec) \ |
110 |
${myconf} \ |
111 |
- --disable-opengl \ |
112 |
|| die |
113 |
} |
114 |
|
115 |
|
116 |
|
117 |
|
118 |
1.8 media-plugins/vdr-xineliboutput/metadata.xml |
119 |
|
120 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-xineliboutput/metadata.xml?rev=1.8&view=markup |
121 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-xineliboutput/metadata.xml?rev=1.8&content-type=text/plain |
122 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-xineliboutput/metadata.xml?r1=1.7&r2=1.8 |
123 |
|
124 |
Index: metadata.xml |
125 |
=================================================================== |
126 |
RCS file: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/metadata.xml,v |
127 |
retrieving revision 1.7 |
128 |
retrieving revision 1.8 |
129 |
diff -u -r1.7 -r1.8 |
130 |
--- metadata.xml 26 Nov 2012 14:29:26 -0000 1.7 |
131 |
+++ metadata.xml 27 Jan 2014 19:12:06 -0000 1.8 |
132 |
@@ -10,6 +10,8 @@ |
133 |
Video Disk Recorder Xinelib PlugIn ( VDR ) |
134 |
</longdescription> |
135 |
<use> |
136 |
+ <flag name="cec">Enable CEC support through <pkg>dev-libs/libcec</pkg></flag> |
137 |
+ <flag name="bluray">Enable BluRay metadata support through <pkg>media-libs/libbluray</pkg></flag> |
138 |
<flag name="libextractor">Use <pkg>media-libs/libextract</pkg> to gather |
139 |
files' metadata in media-player</flag> |
140 |
<flag name="vdr">Compile the vdr output plugin to use local or remote xine as output</flag> |
141 |
|
142 |
|
143 |
|
144 |
1.72 media-plugins/vdr-xineliboutput/ChangeLog |
145 |
|
146 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog?rev=1.72&view=markup |
147 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog?rev=1.72&content-type=text/plain |
148 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog?r1=1.71&r2=1.72 |
149 |
|
150 |
Index: ChangeLog |
151 |
=================================================================== |
152 |
RCS file: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v |
153 |
retrieving revision 1.71 |
154 |
retrieving revision 1.72 |
155 |
diff -u -r1.71 -r1.72 |
156 |
--- ChangeLog 8 Jan 2014 19:42:13 -0000 1.71 |
157 |
+++ ChangeLog 27 Jan 2014 19:12:06 -0000 1.72 |
158 |
@@ -1,6 +1,12 @@ |
159 |
# ChangeLog for media-plugins/vdr-xineliboutput |
160 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
161 |
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.71 2014/01/08 19:42:13 hd_brummy Exp $ |
162 |
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.72 2014/01/27 19:12:06 idl0r Exp $ |
163 |
+ |
164 |
+*vdr-xineliboutput-1.1.0 (27 Jan 2014) |
165 |
+ |
166 |
+ 27 Jan 2014; Christian Ruppert <idl0r@g.o> |
167 |
+ +vdr-xineliboutput-1.1.0.ebuild, vdr-xineliboutput-9999.ebuild, metadata.xml: |
168 |
+ Version bump, bug 499342 |
169 |
|
170 |
*vdr-xineliboutput-1.0.5-r2 (08 Jan 2014) |
171 |
|
172 |
|
173 |
|
174 |
|
175 |
1.1 media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.1.0.ebuild |
176 |
|
177 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.1.0.ebuild?rev=1.1&view=markup |
178 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.1.0.ebuild?rev=1.1&content-type=text/plain |
179 |
|
180 |
Index: vdr-xineliboutput-1.1.0.ebuild |
181 |
=================================================================== |
182 |
# Copyright 1999-2014 Gentoo Foundation |
183 |
# Distributed under the terms of the GNU General Public License v2 |
184 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.1.0.ebuild,v 1.1 2014/01/27 19:12:07 idl0r Exp $ |
185 |
|
186 |
EAPI=5 |
187 |
GENTOO_VDR_CONDITIONAL=yes |
188 |
|
189 |
inherit vdr-plugin-2 toolchain-funcs eutils |
190 |
|
191 |
DESCRIPTION="Video Disk Recorder Xinelib PlugIn" |
192 |
HOMEPAGE="http://sourceforge.net/projects/xineliboutput/" |
193 |
SRC_URI="mirror://sourceforge/${PN#vdr-}/${P}.tgz" |
194 |
|
195 |
SLOT="0" |
196 |
LICENSE="GPL-2" |
197 |
KEYWORDS="~amd64 ~x86" |
198 |
IUSE="bluray caps dbus fbcon jpeg libextractor nls opengl +vdr vdpau +X +xine xinerama" |
199 |
|
200 |
COMMON_DEPEND=" |
201 |
vdr? ( |
202 |
>=media-video/vdr-1.6.0 |
203 |
libextractor? ( >=media-libs/libextractor-0.5.20 ) |
204 |
caps? ( sys-libs/libcap ) |
205 |
) |
206 |
|
207 |
xine? ( |
208 |
|| ( <media-libs/xine-lib-1.2 ( >=media-libs/xine-lib-1.2 virtual/ffmpeg ) ) |
209 |
fbcon? ( jpeg? ( virtual/jpeg ) ) |
210 |
X? ( |
211 |
x11-libs/libX11 |
212 |
x11-libs/libXext |
213 |
x11-libs/libXrender |
214 |
xinerama? ( x11-libs/libXinerama ) |
215 |
dbus? ( dev-libs/dbus-glib dev-libs/glib:2 ) |
216 |
vdpau? ( x11-libs/libvdpau >=media-libs/xine-lib-1.2 ) |
217 |
jpeg? ( virtual/jpeg ) |
218 |
bluray? ( media-libs/libbluray ) |
219 |
opengl? ( virtual/opengl ) |
220 |
) |
221 |
)" |
222 |
|
223 |
DEPEND="${COMMON_DEPEND} |
224 |
virtual/pkgconfig |
225 |
sys-kernel/linux-headers |
226 |
nls? ( sys-devel/gettext ) |
227 |
xine? ( |
228 |
X? ( |
229 |
x11-proto/xproto |
230 |
x11-libs/libXxf86vm |
231 |
) |
232 |
)" |
233 |
RDEPEND="${COMMON_DEPEND}" |
234 |
|
235 |
VDR_CONFD_FILE="${FILESDIR}/confd-1.0.0_pre6" |
236 |
|
237 |
pkg_setup() { |
238 |
if ! use vdr && ! use xine; then |
239 |
die "You either need at least one of these flags: vdr xine" |
240 |
fi |
241 |
|
242 |
vdr-plugin-2_pkg_setup |
243 |
|
244 |
if use xine; then |
245 |
XINE_PLUGIN_DIR=$(pkg-config --variable=plugindir libxine) |
246 |
[ -z "${XINE_PLUGIN_DIR}" ] && die "Could not find xine plugin dir" |
247 |
fi |
248 |
} |
249 |
|
250 |
src_prepare() { |
251 |
# Allow user patches to be applied without modifyfing the ebuild |
252 |
epatch_user |
253 |
|
254 |
vdr-plugin-2_src_prepare |
255 |
} |
256 |
|
257 |
src_configure() { |
258 |
local myconf |
259 |
|
260 |
if has_version ">=media-libs/xine-lib-1.2"; then |
261 |
myconf="${myconf} --enable-libavutil" |
262 |
else |
263 |
myconf="${myconf} --disable-libavutil" |
264 |
fi |
265 |
|
266 |
# No autotools based configure script |
267 |
./configure \ |
268 |
--cc=$(tc-getCC) \ |
269 |
--cxx=$(tc-getCXX) \ |
270 |
$(use_enable X x11) \ |
271 |
$(use_enable X xshm) \ |
272 |
$(use_enable X xdpms) \ |
273 |
$(use_enable X xshape) \ |
274 |
$(use_enable X xrender) \ |
275 |
$(use_enable fbcon fb) \ |
276 |
$(use_enable vdr) \ |
277 |
$(use_enable xine libxine) \ |
278 |
$(use_enable libextractor) \ |
279 |
$(use_enable caps libcap) \ |
280 |
$(use_enable jpeg libjpeg) \ |
281 |
$(use_enable xinerama) \ |
282 |
$(use_enable vdpau) \ |
283 |
$(use_enable dbus dbus-glib-1) \ |
284 |
$(use_enable nls i18n) \ |
285 |
$(use_enable bluray libbluray) \ |
286 |
$(use_enable opengl) \ |
287 |
${myconf} \ |
288 |
|| die |
289 |
} |
290 |
|
291 |
src_install() { |
292 |
if use vdr; then |
293 |
vdr-plugin-2_src_install |
294 |
|
295 |
# bug 346989 |
296 |
insinto /etc/vdr/plugins/xineliboutput/ |
297 |
doins examples/allowed_hosts.conf |
298 |
fowners -R vdr:vdr /etc/vdr/ |
299 |
|
300 |
if use nls; then |
301 |
emake DESTDIR="${D}" i18n |
302 |
fi |
303 |
|
304 |
if use xine; then |
305 |
insinto $XINE_PLUGIN_DIR |
306 |
doins xineplug_inp_xvdr.so |
307 |
|
308 |
insinto $XINE_PLUGIN_DIR/post |
309 |
doins xineplug_post_*.so |
310 |
|
311 |
if use fbcon; then |
312 |
dobin vdr-fbfe |
313 |
|
314 |
insinto $VDR_PLUGIN_DIR |
315 |
doins libxineliboutput-fbfe.so.* |
316 |
fi |
317 |
|
318 |
if use X; then |
319 |
dobin vdr-sxfe |
320 |
|
321 |
insinto $VDR_PLUGIN_DIR |
322 |
doins libxineliboutput-sxfe.so.* |
323 |
fi |
324 |
fi |
325 |
else |
326 |
emake DESTDIR="${D}" install |
327 |
|
328 |
dodoc HISTORY README |
329 |
fi |
330 |
} |