Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/xine-lib: xine-lib-1.2.9999.ebuild xine-lib-1.2.6.ebuild ChangeLog
Date: Thu, 10 Jul 2014 13:23:54
Message-Id: 20140710132349.197ED2004E@flycatcher.gentoo.org
1 ssuominen 14/07/10 13:23:49
2
3 Modified: xine-lib-1.2.9999.ebuild ChangeLog
4 Added: xine-lib-1.2.6.ebuild
5 Log:
6 Version bump; based on 1.2.9999 wrt #514474
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.27 media-libs/xine-lib/xine-lib-1.2.9999.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.9999.ebuild?rev=1.27&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.9999.ebuild?rev=1.27&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.9999.ebuild?r1=1.26&r2=1.27
16
17 Index: xine-lib-1.2.9999.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.9999.ebuild,v
20 retrieving revision 1.26
21 retrieving revision 1.27
22 diff -u -r1.26 -r1.27
23 --- xine-lib-1.2.9999.ebuild 10 Jul 2014 13:04:15 -0000 1.26
24 +++ xine-lib-1.2.9999.ebuild 10 Jul 2014 13:23:48 -0000 1.27
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.9999.ebuild,v 1.26 2014/07/10 13:04:15 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.9999.ebuild,v 1.27 2014/07/10 13:23:48 ssuominen Exp $
30
31 EAPI=5
32
33 @@ -25,7 +25,7 @@
34
35 LICENSE="GPL-2"
36 SLOT="1"
37 -IUSE="a52 aac aalib +alsa altivec bluray +css directfb dts dvb dxr3 fbcon flac fusion gtk imagemagick ipv6 jack jpeg libcaca mad +mmap mng modplug musepack opengl oss pulseaudio samba sdl speex theora truetype v4l vaapi vcd vdpau vdr vidix +vis vorbis wavpack +X +xcb xinerama +xv xvmc ${NLS_IUSE}"
38 +IUSE="a52 aac aalib +alsa altivec bluray +css directfb dts dvb dxr3 fbcon flac fusion gtk imagemagick ipv6 jack jpeg libcaca mad +mmap mng modplug musepack opengl oss pulseaudio samba sdl speex theora truetype v4l vaapi vcd vdpau vdr vidix +vis vorbis vpx wavpack +X +xcb xinerama +xv xvmc ${NLS_IUSE}"
39
40 RDEPEND="${NLS_RDEPEND}
41 dev-libs/libxdg-basedir
42 @@ -84,6 +84,7 @@
43 media-libs/libogg
44 media-libs/libvorbis
45 )
46 + vpx? ( media-libs/libvpx )
47 wavpack? ( media-sound/wavpack )
48 X? (
49 x11-libs/libX11
50 @@ -138,8 +139,12 @@
51 win32dir=/usr/$(get_libdir)/win32
52 fi
53
54 - local myconf
55 - [[ ${PV} == *9999* ]] || myconf="$(use_enable nls)"
56 + local myconf=()
57 + [[ ${PV} == *9999* ]] || myconf=( $(use_enable nls) )
58 +
59 + if has_version '>=media-video/ffmpeg-2.2:0'; then
60 + myconf+=( --enable-avformat ) #507474
61 + fi
62
63 econf \
64 $(use_enable ipv6) \
65 @@ -176,6 +181,7 @@
66 $(use_enable mng) \
67 --disable-real-codecs \
68 --disable-w32dll \
69 + $(use_enable vpx) \
70 $(use_with truetype freetype) $(use_with truetype fontconfig) \
71 $(use_with X x) \
72 $(use_with alsa) \
73 @@ -196,7 +202,7 @@
74 --with-real-codecs-path=/usr/$(get_libdir)/codecs \
75 --with-w32-path=${win32dir} \
76 $(use_with wavpack) \
77 - ${myconf}
78 + ${myconf[@]}
79 }
80
81 src_compile() {
82
83
84
85 1.709 media-libs/xine-lib/ChangeLog
86
87 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/ChangeLog?rev=1.709&view=markup
88 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/ChangeLog?rev=1.709&content-type=text/plain
89 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/ChangeLog?r1=1.708&r2=1.709
90
91 Index: ChangeLog
92 ===================================================================
93 RCS file: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v
94 retrieving revision 1.708
95 retrieving revision 1.709
96 diff -u -r1.708 -r1.709
97 --- ChangeLog 10 Jul 2014 13:04:15 -0000 1.708
98 +++ ChangeLog 10 Jul 2014 13:23:48 -0000 1.709
99 @@ -1,6 +1,12 @@
100 # ChangeLog for media-libs/xine-lib
101 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
102 -# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.708 2014/07/10 13:04:15 ssuominen Exp $
103 +# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.709 2014/07/10 13:23:48 ssuominen Exp $
104 +
105 +*xine-lib-1.2.6 (10 Jul 2014)
106 +
107 + 10 Jul 2014; Samuli Suominen <ssuominen@g.o> +xine-lib-1.2.6.ebuild,
108 + xine-lib-1.2.9999.ebuild:
109 + Version bump; based on 1.2.9999 wrt #514474
110
111 10 Jul 2014; Samuli Suominen <ssuominen@g.o> xine-lib-1.2.5.ebuild,
112 xine-lib-1.2.9999.ebuild:
113
114
115
116 1.1 media-libs/xine-lib/xine-lib-1.2.6.ebuild
117
118 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.6.ebuild?rev=1.1&view=markup
119 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.6.ebuild?rev=1.1&content-type=text/plain
120
121 Index: xine-lib-1.2.6.ebuild
122 ===================================================================
123 # Copyright 1999-2014 Gentoo Foundation
124 # Distributed under the terms of the GNU General Public License v2
125 # $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.6.ebuild,v 1.1 2014/07/10 13:23:48 ssuominen Exp $
126
127 EAPI=5
128
129 inherit flag-o-matic libtool multilib
130
131 if [[ ${PV} == *9999* ]]; then
132 EHG_REPO_URI="http://hg.debian.org/hg/xine-lib/xine-lib-1.2"
133 inherit autotools mercurial eutils
134 unset NLS_IUSE
135 NLS_DEPEND="sys-devel/gettext"
136 NLS_RDEPEND="virtual/libintl"
137 else
138 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
139 SRC_URI="mirror://sourceforge/xine/${P}.tar.xz"
140 NLS_IUSE="nls"
141 NLS_DEPEND="nls? ( sys-devel/gettext )"
142 NLS_RDEPEND="nls? ( virtual/libintl )"
143 fi
144
145 DESCRIPTION="Core libraries for Xine movie player"
146 HOMEPAGE="http://xine.sourceforge.net/"
147
148 LICENSE="GPL-2"
149 SLOT="1"
150 IUSE="a52 aac aalib +alsa altivec bluray +css directfb dts dvb dxr3 fbcon flac fusion gtk imagemagick ipv6 jack jpeg libcaca mad +mmap mng modplug musepack opengl oss pulseaudio samba sdl speex theora truetype v4l vaapi vcd vdpau vdr vidix +vis vorbis vpx wavpack +X +xcb xinerama +xv xvmc ${NLS_IUSE}"
151
152 RDEPEND="${NLS_RDEPEND}
153 dev-libs/libxdg-basedir
154 media-libs/libdvdnav
155 sys-libs/zlib
156 || ( media-video/ffmpeg:0 media-libs/libpostproc <media-video/libav-0.8.2-r1 )
157 virtual/ffmpeg
158 virtual/libiconv
159 a52? ( media-libs/a52dec )
160 aac? ( media-libs/faad2 )
161 aalib? ( media-libs/aalib )
162 alsa? ( media-libs/alsa-lib )
163 bluray? ( >=media-libs/libbluray-0.2.1 )
164 css? ( >=media-libs/libdvdcss-1.2.10 )
165 directfb? ( dev-libs/DirectFB )
166 dts? ( media-libs/libdca )
167 dxr3? ( media-libs/libfame )
168 flac? ( media-libs/flac )
169 fusion? ( media-libs/FusionSound )
170 gtk? ( x11-libs/gdk-pixbuf:2 )
171 imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick ) )
172 jack? ( >=media-sound/jack-audio-connection-kit-0.100 )
173 jpeg? ( virtual/jpeg:0 )
174 libcaca? ( media-libs/libcaca )
175 mad? ( media-libs/libmad )
176 mng? ( media-libs/libmng )
177 modplug? ( >=media-libs/libmodplug-0.8.8.1 )
178 musepack? ( >=media-sound/musepack-tools-444 )
179 opengl? (
180 virtual/glu
181 virtual/opengl
182 )
183 pulseaudio? ( media-sound/pulseaudio )
184 samba? ( net-fs/samba )
185 sdl? ( media-libs/libsdl )
186 speex? (
187 media-libs/libogg
188 media-libs/speex
189 )
190 theora? (
191 media-libs/libogg
192 media-libs/libtheora
193 )
194 truetype? (
195 media-libs/fontconfig
196 media-libs/freetype:2
197 )
198 v4l? ( media-libs/libv4l )
199 vaapi? ( x11-libs/libva )
200 vcd? (
201 >=media-video/vcdimager-0.7.23
202 dev-libs/libcdio[-minimal]
203 )
204 vdpau? ( x11-libs/libvdpau )
205 vorbis? (
206 media-libs/libogg
207 media-libs/libvorbis
208 )
209 vpx? ( media-libs/libvpx )
210 wavpack? ( media-sound/wavpack )
211 X? (
212 x11-libs/libX11
213 x11-libs/libXext
214 )
215 xcb? ( x11-libs/libxcb )
216 xinerama? ( x11-libs/libXinerama )
217 xv? ( x11-libs/libXv )
218 xvmc? ( x11-libs/libXvMC )"
219 DEPEND="${RDEPEND}
220 ${NLS_DEPEND}
221 app-arch/xz-utils
222 virtual/pkgconfig
223 >=sys-devel/libtool-2.2.6b
224 oss? ( virtual/os-headers )
225 v4l? ( virtual/os-headers )
226 X? (
227 x11-libs/libXt
228 x11-proto/xf86vidmodeproto
229 x11-proto/xproto
230 )
231 xv? ( x11-proto/videoproto )
232 xvmc? ( x11-proto/videoproto )
233 xinerama? ( x11-proto/xineramaproto )"
234 REQUIRED_USE="vidix? ( || ( X fbcon ) )
235 xv? ( X )
236 xinerama? ( X )"
237
238 src_prepare() {
239 sed -i -e '/define VDR_ABS_FIFO_DIR/s|".*"|"/var/vdr/xine"|' src/vdr/input_vdr.c || die
240
241 if [[ ${PV} == *9999* ]]; then
242 epatch_user
243 eautoreconf
244 else
245 elibtoolize
246 fi
247
248 local x
249 for x in 0 1 2 3; do
250 sed -i -e "/^O${x}_CFLAGS=\"-O${x}\"/d" configure || die
251 done
252 }
253
254 src_configure() {
255 [[ ${CHOST} == i?86-* ]] && append-flags -fomit-frame-pointer #422519
256
257 local win32dir #197236
258 if has_multilib_profile; then
259 win32dir=/usr/$(ABI="x86" get_libdir)/win32
260 else
261 win32dir=/usr/$(get_libdir)/win32
262 fi
263
264 local myconf=()
265 [[ ${PV} == *9999* ]] || myconf=( $(use_enable nls) )
266
267 if has_version '>=media-video/ffmpeg-2.2:0'; then
268 myconf+=( --enable-avformat ) #507474
269 fi
270
271 econf \
272 $(use_enable ipv6) \
273 $(use_enable altivec) \
274 $(use_enable vis) \
275 --disable-optimizations \
276 $(use_enable mmap) \
277 $(use_enable oss) \
278 $(use_enable aalib) \
279 $(use_enable directfb) \
280 $(use_enable dxr3) \
281 $(use_enable fbcon fb) \
282 $(use_enable opengl) $(use_enable opengl glu) \
283 $(use_enable vidix) \
284 $(use_enable xinerama) \
285 $(use_enable xvmc) \
286 $(use_enable vdpau) \
287 $(use_enable vaapi) \
288 $(use_enable dvb) \
289 --disable-gnomevfs \
290 $(use_enable samba) \
291 --disable-v4l $(use_enable v4l v4l2) $(use_enable v4l libv4l) \
292 $(use_enable vcd) \
293 $(use_enable vdr) \
294 $(use_enable bluray) \
295 $(use_enable a52 a52dec) \
296 $(use_enable aac faad) \
297 $(use_enable gtk gdkpixbuf) \
298 $(use_enable jpeg libjpeg) \
299 $(use_enable dts) \
300 $(use_enable mad) \
301 $(use_enable modplug) \
302 $(use_enable musepack) \
303 $(use_enable mng) \
304 --disable-real-codecs \
305 --disable-w32dll \
306 $(use_enable vpx) \
307 $(use_with truetype freetype) $(use_with truetype fontconfig) \
308 $(use_with X x) \
309 $(use_with alsa) \
310 --without-esound \
311 $(use_with fusion fusionsound) \
312 $(use_with jack) \
313 $(use_with pulseaudio) \
314 $(use_with libcaca caca) \
315 $(use_with sdl) \
316 $(use_with xcb) \
317 --with-xv-path=/usr/$(get_libdir) \
318 $(use_with imagemagick) \
319 --with-external-dvdnav \
320 $(use_with flac libflac) \
321 $(use_with speex) \
322 $(use_with theora) \
323 $(use_with vorbis) \
324 --with-real-codecs-path=/usr/$(get_libdir)/codecs \
325 --with-w32-path=${win32dir} \
326 $(use_with wavpack) \
327 ${myconf[@]}
328 }
329
330 src_compile() {
331 # enable verbose building, bug #448140
332 emake V=1
333 }
334
335 src_install() {
336 emake \
337 DESTDIR="${D}" \
338 docdir="/usr/share/doc/${PF}" \
339 htmldir="/usr/share/doc/${PF}/html" \
340 install
341
342 rm -f \
343 "${ED}"usr/lib*/libxine*.la \
344 "${ED}"usr/share/doc/${PF}/COPYING
345 }