Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/vlc: vlc-9999.ebuild ChangeLog vlc-2.0.0_rc1.ebuild vlc-2.0.9999.ebuild
Date: Sat, 28 Jan 2012 15:29:26
Message-Id: 20120128152917.574652004B@flycatcher.gentoo.org
1 aballier 12/01/28 15:29:17
2
3 Modified: vlc-9999.ebuild ChangeLog vlc-2.0.9999.ebuild
4 Added: vlc-2.0.0_rc1.ebuild
5 Log:
6 libv44l has been renamed to v4l and bump to 2.0.0 rc1
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.158 media-video/vlc/vlc-9999.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-9999.ebuild?rev=1.158&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-9999.ebuild?rev=1.158&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-9999.ebuild?r1=1.157&r2=1.158
16
17 Index: vlc-9999.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v
20 retrieving revision 1.157
21 retrieving revision 1.158
22 diff -u -r1.157 -r1.158
23 --- vlc-9999.ebuild 16 Dec 2011 12:48:44 -0000 1.157
24 +++ vlc-9999.ebuild 28 Jan 2012 15:29:17 -0000 1.158
25 @@ -1,6 +1,6 @@
26 -# Copyright 1999-2011 Gentoo Foundation
27 +# Copyright 1999-2012 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.157 2011/12/16 12:48:44 aballier Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.158 2012/01/28 15:29:17 aballier Exp $
31
32 EAPI="4"
33
34 @@ -48,13 +48,13 @@
35 directfb directx dshow dts dvb dvd dxva2 elibc_glibc egl +encode
36 fbosd fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls
37 growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify
38 - libproxy libsamplerate libtiger libv4l2 linsys libtar lirc live lua +macosx
39 + libproxy libsamplerate libtiger linsys libtar lirc live lua +macosx
40 +macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext
41 +macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg
42 mtp musepack ncurses neon ogg omxil opengl optimisememory oss png portaudio
43 +postproc projectm pulseaudio pvr +qt4 rtsp run-as-root samba schroedinger
44 sdl sdl-image shine shout sid skins speex sqlite sse svg +swscale switcher
45 - taglib theora truetype twolame udev upnp vaapi vcdx vlm vorbis waveout
46 + taglib theora truetype twolame udev upnp vaapi v4l vcdx vlm vorbis waveout
47 win32codecs wingdi wma-fixed +X x264 +xcb xml xosd xv zvbi"
48
49 RDEPEND="
50 @@ -98,7 +98,7 @@
51 libtiger? ( media-libs/libtiger )
52 linsys? ( >=media-libs/zvbi-0.2.28 )
53 lirc? ( app-misc/lirc )
54 - live? ( >=media-plugins/live-2011.12.02 )
55 + live? ( >=media-plugins/live-2011.12.23 )
56 lua? ( >=dev-lang/lua-5.1 )
57 macosx-vout? ( virtual/opengl )
58 matroska? ( >=dev-libs/libebml-1.0.0 >=media-libs/libmatroska-1.0.0 )
59 @@ -134,7 +134,7 @@
60 twolame? ( media-sound/twolame )
61 udev? ( >=sys-fs/udev-142 )
62 upnp? ( net-libs/libupnp )
63 - libv4l2? ( media-libs/libv4l )
64 + v4l? ( media-libs/libv4l )
65 vaapi? ( x11-libs/libva )
66 vcdx? ( >=dev-libs/libcdio-0.78.2 >=media-video/vcdimager-0.7.22 )
67 vorbis? ( media-libs/libvorbis )
68 @@ -251,7 +251,6 @@
69 $(use_enable libsamplerate samplerate) \
70 $(use_enable libtar) \
71 $(use_enable libtiger tiger) \
72 - $(use_enable libv4l2) \
73 $(use_enable linsys) \
74 $(use_enable lirc) \
75 $(use_enable live live555) \
76 @@ -306,8 +305,9 @@
77 $(use_enable twolame) \
78 $(use_enable udev) \
79 $(use_enable upnp) \
80 - $(use_enable vcdx) \
81 + $(use_enable v4l v4l2) \
82 $(use_enable vaapi libva) \
83 + $(use_enable vcdx) \
84 $(use_enable vlm) \
85 $(use_enable vorbis) \
86 $(use_enable waveout) \
87
88
89
90 1.774 media-video/vlc/ChangeLog
91
92 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?rev=1.774&view=markup
93 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?rev=1.774&content-type=text/plain
94 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?r1=1.773&r2=1.774
95
96 Index: ChangeLog
97 ===================================================================
98 RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v
99 retrieving revision 1.773
100 retrieving revision 1.774
101 diff -u -r1.773 -r1.774
102 --- ChangeLog 28 Jan 2012 14:55:44 -0000 1.773
103 +++ ChangeLog 28 Jan 2012 15:29:17 -0000 1.774
104 @@ -1,6 +1,12 @@
105 # ChangeLog for media-video/vlc
106 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
107 -# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.773 2012/01/28 14:55:44 aballier Exp $
108 +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.774 2012/01/28 15:29:17 aballier Exp $
109 +
110 +*vlc-2.0.0_rc1 (28 Jan 2012)
111 +
112 + 28 Jan 2012; Alexis Ballier <aballier@g.o> +vlc-2.0.0_rc1.ebuild,
113 + vlc-2.0.9999.ebuild, vlc-9999.ebuild:
114 + libv44l has been renamed to v4l and bump to 2.0.0 rc1
115
116 *vlc-2.0.9999 (28 Jan 2012)
117
118
119
120
121 1.2 media-video/vlc/vlc-2.0.9999.ebuild
122
123 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.9999.ebuild?rev=1.2&view=markup
124 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.9999.ebuild?rev=1.2&content-type=text/plain
125 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.9999.ebuild?r1=1.1&r2=1.2
126
127 Index: vlc-2.0.9999.ebuild
128 ===================================================================
129 RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.9999.ebuild,v
130 retrieving revision 1.1
131 retrieving revision 1.2
132 diff -u -r1.1 -r1.2
133 --- vlc-2.0.9999.ebuild 28 Jan 2012 14:55:44 -0000 1.1
134 +++ vlc-2.0.9999.ebuild 28 Jan 2012 15:29:17 -0000 1.2
135 @@ -1,6 +1,6 @@
136 # Copyright 1999-2012 Gentoo Foundation
137 # Distributed under the terms of the GNU General Public License v2
138 -# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.9999.ebuild,v 1.1 2012/01/28 14:55:44 aballier Exp $
139 +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.9999.ebuild,v 1.2 2012/01/28 15:29:17 aballier Exp $
140
141 EAPI="4"
142
143 @@ -48,13 +48,13 @@
144 directfb directx dshow dts dvb dvd dxva2 elibc_glibc egl +encode
145 fbosd fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls
146 growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify
147 - libproxy libsamplerate libtiger libv4l2 linsys libtar lirc live lua +macosx
148 + libproxy libsamplerate libtiger linsys libtar lirc live lua +macosx
149 +macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext
150 +macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg
151 mtp musepack ncurses neon ogg omxil opengl optimisememory oss png portaudio
152 +postproc projectm pulseaudio pvr +qt4 rtsp run-as-root samba schroedinger
153 sdl sdl-image shine shout sid skins speex sqlite sse svg +swscale switcher
154 - taglib theora truetype twolame udev upnp vaapi vcdx vlm vorbis waveout
155 + taglib theora truetype twolame udev upnp vaapi v4l vcdx vlm vorbis waveout
156 win32codecs wingdi wma-fixed +X x264 +xcb xml xosd xv zvbi"
157
158 RDEPEND="
159 @@ -134,7 +134,7 @@
160 twolame? ( media-sound/twolame )
161 udev? ( >=sys-fs/udev-142 )
162 upnp? ( net-libs/libupnp )
163 - libv4l2? ( media-libs/libv4l )
164 + v4l? ( media-libs/libv4l )
165 vaapi? ( x11-libs/libva )
166 vcdx? ( >=dev-libs/libcdio-0.78.2 >=media-video/vcdimager-0.7.22 )
167 vorbis? ( media-libs/libvorbis )
168 @@ -251,7 +251,6 @@
169 $(use_enable libsamplerate samplerate) \
170 $(use_enable libtar) \
171 $(use_enable libtiger tiger) \
172 - $(use_enable libv4l2) \
173 $(use_enable linsys) \
174 $(use_enable lirc) \
175 $(use_enable live live555) \
176 @@ -306,8 +305,9 @@
177 $(use_enable twolame) \
178 $(use_enable udev) \
179 $(use_enable upnp) \
180 - $(use_enable vcdx) \
181 + $(use_enable v4l v4l2) \
182 $(use_enable vaapi libva) \
183 + $(use_enable vcdx) \
184 $(use_enable vlm) \
185 $(use_enable vorbis) \
186 $(use_enable waveout) \
187
188
189
190 1.1 media-video/vlc/vlc-2.0.0_rc1.ebuild
191
192 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.0_rc1.ebuild?rev=1.1&view=markup
193 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.0_rc1.ebuild?rev=1.1&content-type=text/plain
194
195 Index: vlc-2.0.0_rc1.ebuild
196 ===================================================================
197 # Copyright 1999-2012 Gentoo Foundation
198 # Distributed under the terms of the GNU General Public License v2
199 # $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.0_rc1.ebuild,v 1.1 2012/01/28 15:29:17 aballier Exp $
200
201 EAPI="4"
202
203 SCM=""
204 if [ "${PV%9999}" != "${PV}" ] ; then
205 SCM=git-2
206 EGIT_BOOTSTRAP="bootstrap"
207 if [ "${PV%.9999}" != "${PV}" ] ; then
208 EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git"
209 else
210 EGIT_REPO_URI="git://git.videolan.org/vlc.git"
211 fi
212 fi
213
214 inherit eutils multilib autotools toolchain-funcs flag-o-matic ${SCM}
215
216 MY_PV="${PV/_/-}"
217 MY_PV="${MY_PV/-beta/-test}"
218 MY_P="${PN}-${MY_PV}"
219
220 PATCHLEVEL="101"
221 DESCRIPTION="VLC media player - Video player and streamer"
222 HOMEPAGE="http://www.videolan.org/vlc/"
223 if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
224 SRC_URI=""
225 elif [[ "${MY_P}" == "${P}" ]]; then
226 SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz"
227 else
228 SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz"
229 fi
230
231 SRC_URI="${SRC_URI}
232 mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
233
234 LICENSE="GPL-2"
235 SLOT="0"
236
237 if [ "${PV%9999}" = "${PV}" ] ; then
238 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
239 else
240 KEYWORDS=""
241 fi
242 IUSE="a52 aac aalib alsa altivec atmo +audioqueue avahi +avcodec
243 +avformat bidi bluray cdda cddb dbus dc1394 debug dirac direct2d
244 directfb directx dshow dts dvb dvd dxva2 elibc_glibc egl +encode
245 fbosd fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls
246 growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify
247 libproxy libsamplerate libtiger linsys libtar lirc live lua +macosx
248 +macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext
249 +macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg
250 mtp musepack ncurses neon ogg omxil opengl optimisememory oss png portaudio
251 +postproc projectm pulseaudio pvr +qt4 rtsp run-as-root samba schroedinger
252 sdl sdl-image shine shout sid skins speex sqlite sse svg +swscale switcher
253 taglib theora truetype twolame udev upnp vaapi v4l vcdx vlm vorbis waveout
254 win32codecs wingdi wma-fixed +X x264 +xcb xml xosd xv zvbi"
255
256 RDEPEND="
257 >=sys-libs/zlib-1.2.5.1-r2[minizip]
258 a52? ( >=media-libs/a52dec-0.7.4-r3 )
259 aalib? ( media-libs/aalib )
260 aac? ( >=media-libs/faad2-2.6.1 )
261 alsa? ( >=media-libs/alsa-lib-1.0.23 )
262 avahi? ( >=net-dns/avahi-0.6[dbus] )
263 avcodec? ( virtual/ffmpeg )
264 avformat? ( virtual/ffmpeg )
265 bidi? ( >=dev-libs/fribidi-0.10.4 )
266 bluray? ( >=media-libs/libbluray-0.2.1 )
267 cddb? ( >=media-libs/libcddb-1.2.0 )
268 dbus? ( >=sys-apps/dbus-1.0.2 )
269 dc1394? ( >=sys-libs/libraw1394-2.0.1 >=media-libs/libdc1394-2.0.2 )
270 dirac? ( >=media-video/dirac-0.10.0 )
271 directfb? ( dev-libs/DirectFB sys-libs/zlib )
272 dts? ( media-libs/libdca )
273 dvb? ( >=media-libs/libdvbpsi-0.1.6 )
274 dvd? ( media-libs/libdvdread >=media-libs/libdvdnav-0.1.9 )
275 egl? ( virtual/opengl )
276 elibc_glibc? ( >=sys-libs/glibc-2.8 )
277 flac? ( media-libs/libogg >=media-libs/flac-1.1.2 )
278 fluidsynth? ( media-sound/fluidsynth )
279 fontconfig? ( media-libs/fontconfig )
280 gcrypt? ( >=dev-libs/libgcrypt-1.2.0 )
281 gme? ( media-libs/game-music-emu )
282 gnome? ( gnome-base/gnome-vfs )
283 gnutls? ( >=net-libs/gnutls-2.0.0 )
284 ieee1394? ( >=sys-libs/libraw1394-2.0.1 >=sys-libs/libavc1394-0.5.3 )
285 ios-vout? ( virtual/opengl )
286 jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 )
287 kate? ( >=media-libs/libkate-0.1.1 )
288 libass? ( >=media-libs/libass-0.9.8 media-libs/fontconfig )
289 libcaca? ( >=media-libs/libcaca-0.99_beta14 )
290 libnotify? ( x11-libs/libnotify x11-libs/gtk+:2 )
291 libproxy? ( net-libs/libproxy )
292 libsamplerate? ( media-libs/libsamplerate )
293 libtar? ( >=dev-libs/libtar-1.2.11-r3 )
294 libtiger? ( media-libs/libtiger )
295 linsys? ( >=media-libs/zvbi-0.2.28 )
296 lirc? ( app-misc/lirc )
297 live? ( >=media-plugins/live-2011.12.23 )
298 lua? ( >=dev-lang/lua-5.1 )
299 macosx-vout? ( virtual/opengl )
300 matroska? ( >=dev-libs/libebml-1.0.0 >=media-libs/libmatroska-1.0.0 )
301 modplug? ( >=media-libs/libmodplug-0.8.8.1 )
302 mp3? ( media-libs/libmad )
303 mpeg? ( >=media-libs/libmpeg2-0.3.2 )
304 mtp? ( >=media-libs/libmtp-1.0.0 )
305 musepack? ( >=media-sound/musepack-tools-444 )
306 ncurses? ( sys-libs/ncurses )
307 ogg? ( media-libs/libogg )
308 opengl? ( virtual/opengl >=x11-libs/libX11-1.3.99.901 )
309 png? ( media-libs/libpng sys-libs/zlib )
310 portaudio? ( >=media-libs/portaudio-19_pre )
311 postproc? ( virtual/ffmpeg )
312 projectm? ( media-libs/libprojectm )
313 pulseaudio? ( >=media-sound/pulseaudio-0.9.22 )
314 qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 )
315 samba? ( >=net-fs/samba-3.4.6[smbclient] )
316 schroedinger? ( >=media-libs/schroedinger-1.0.10 )
317 sdl? ( >=media-libs/libsdl-1.2.8
318 sdl-image? ( media-libs/sdl-image sys-libs/zlib ) )
319 shout? ( media-libs/libshout )
320 sid? ( media-libs/libsidplay:2 )
321 skins? ( x11-libs/libXext x11-libs/libXpm )
322 speex? ( media-libs/speex )
323 sqlite? ( >=dev-db/sqlite-3.6.0:3 )
324 svg? ( >=gnome-base/librsvg-2.9.0 )
325 swscale? ( virtual/ffmpeg )
326 taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib )
327 theora? ( >=media-libs/libtheora-1.0_beta3 )
328 truetype? ( media-libs/freetype virtual/ttf-fonts
329 !fontconfig? ( media-fonts/dejavu ) )
330 twolame? ( media-sound/twolame )
331 udev? ( >=sys-fs/udev-142 )
332 upnp? ( net-libs/libupnp )
333 v4l? ( media-libs/libv4l )
334 vaapi? ( x11-libs/libva )
335 vcdx? ( >=dev-libs/libcdio-0.78.2 >=media-video/vcdimager-0.7.22 )
336 vorbis? ( media-libs/libvorbis )
337 win32codecs? ( media-libs/win32codecs )
338 X? ( x11-libs/libX11 )
339 x264? ( >=media-libs/x264-0.0.20090923 )
340 xcb? ( >=x11-libs/libxcb-1.6 >=x11-libs/xcb-util-0.3.4 )
341 xml? ( dev-libs/libxml2 )
342 xosd? ( x11-libs/xosd )
343 zvbi? ( >=media-libs/zvbi-0.2.25 )
344 "
345
346 DEPEND="${RDEPEND}
347 alsa? ( >=media-sound/alsa-headers-1.0.23 )
348 fbosd? ( sys-kernel/linux-headers )
349 kde? ( >=kde-base/kdelibs-4 )
350 xcb? ( x11-proto/xproto )
351 app-arch/xz-utils
352 dev-util/pkgconfig"
353
354 REQUIRED_USE="
355 aalib? ( X )
356 bidi? ( truetype )
357 cddb? ( cdda )
358 dxva2? ( avcodec )
359 egl? ( X )
360 ffmpeg? ( avcodec avformat postproc swscale )
361 fontconfig? ( truetype )
362 gnutls? ( gcrypt )
363 libtar? ( skins )
364 libtiger? ( kate )
365 media-library? ( sqlite )
366 qt4? ( X )
367 sdl? ( X )
368 skins? ( truetype qt4 X )
369 switcher? ( avcodec )
370 vaapi? ( avcodec X )
371 vlm? ( encode )
372 xosd? ( X )
373 xv? ( xcb )
374 "
375
376 S="${WORKDIR}/${MY_P}"
377
378 src_unpack() {
379 unpack ${A}
380 if [ "${PV%9999}" != "${PV}" ] ; then
381 git-2_src_unpack
382 fi
383 }
384
385 src_prepare() {
386 # Make it build with libtool 1.5
387 rm -f m4/lt* m4/libtool.m4
388
389 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
390 eautoreconf
391 }
392
393 src_configure() {
394 # needs libresid-builder from libsidplay:2 which is in another directory...
395 # FIXME!
396 use sid && append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/"
397
398 econf \
399 --docdir=/usr/share/doc/${PF} \
400 $(use_enable a52) \
401 $(use_enable aalib aa) \
402 $(use_enable aac faad) \
403 $(use_enable alsa) \
404 $(use_enable altivec) \
405 $(use_enable atmo) \
406 $(use_enable audioqueue) \
407 $(use_enable avahi bonjour) \
408 $(use_enable avcodec) \
409 $(use_enable avformat) \
410 $(use_enable bidi fribidi) \
411 $(use_enable bluray) \
412 $(use_enable cdda vcd) \
413 $(use_enable cddb libcddb) \
414 $(use_enable dbus) $(use_enable dbus dbus-control) \
415 $(use_enable dirac) \
416 $(use_enable direct2d) \
417 $(use_enable directfb) \
418 $(use_enable directx) \
419 $(use_enable dc1394) \
420 $(use_enable debug) \
421 $(use_enable dshow) \
422 $(use_enable dts dca) \
423 $(use_enable dvb dvbpsi) \
424 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \
425 $(use_enable dxva2) \
426 $(use_enable egl) \
427 $(use_enable encode sout) \
428 $(use_enable fbosd) \
429 $(use_enable flac) \
430 $(use_enable fluidsynth) \
431 $(use_enable fontconfig) \
432 $(use_enable gcrypt libgcrypt) \
433 $(use_enable gme) \
434 $(use_enable gnome gnomevfs) \
435 $(use_enable gnutls) \
436 $(use_enable growl) \
437 $(use_enable httpd) \
438 $(use_enable ieee1394 dv) \
439 $(use_enable ios-vout) \
440 $(use_enable jack) \
441 $(use_enable kate) \
442 $(use_with kde kde-solid) \
443 $(use_enable libass) \
444 $(use_enable libcaca caca) \
445 $(use_enable libnotify notify) \
446 $(use_enable libproxy) \
447 $(use_enable libsamplerate samplerate) \
448 $(use_enable libtar) \
449 $(use_enable libtiger tiger) \
450 $(use_enable linsys) \
451 $(use_enable lirc) \
452 $(use_enable live live555) \
453 $(use_enable lua) \
454 $(use_enable macosx-audio) \
455 $(use_enable macosx-dialog-provider) \
456 $(use_enable macosx-eyetv) \
457 $(use_enable macosx-qtkit) \
458 $(use_enable macosx-quartztext) \
459 $(use_enable macosx-vout) \
460 $(use_enable matroska mkv) \
461 $(use_enable media-library) \
462 $(use_enable mmx) \
463 $(use_enable modplug mod) \
464 $(use_enable mp3 mad) \
465 $(use_enable mpeg libmpeg2) \
466 $(use_enable mtp) \
467 $(use_enable musepack mpc) \
468 $(use_enable ncurses) \
469 $(use_enable neon) \
470 $(use_enable ogg) \
471 $(use_enable omxil) \
472 $(use_enable opengl glx) \
473 $(use_enable optimisememory optimize-memory) \
474 $(use_enable oss) \
475 $(use_enable png) \
476 $(use_enable portaudio) \
477 $(use_enable postproc) \
478 $(use_enable projectm) \
479 $(use_enable pulseaudio pulse) \
480 $(use_enable pvr) \
481 $(use_enable qt4) \
482 $(use_enable rtsp realrtsp) \
483 $(use_enable run-as-root) \
484 $(use_enable samba smb) \
485 $(use_enable schroedinger) \
486 $(use_enable sdl) \
487 $(use_enable sdl-image) \
488 $(use_enable shine) \
489 $(use_enable sid) \
490 $(use_enable shout) \
491 $(use_enable skins skins2) \
492 $(use_enable speex) \
493 $(use_enable sqlite) \
494 $(use_enable sse) \
495 $(use_enable svg) \
496 $(use_enable switcher) \
497 $(use_enable swscale) \
498 $(use_enable taglib) \
499 $(use_enable theora) \
500 $(use_enable truetype freetype) \
501 $(use_enable twolame) \
502 $(use_enable udev) \
503 $(use_enable upnp) \
504 $(use_enable v4l v4l2) \
505 $(use_enable vaapi libva) \
506 $(use_enable vcdx) \
507 $(use_enable vlm) \
508 $(use_enable vorbis) \
509 $(use_enable waveout) \
510 $(use_enable win32codecs loader) \
511 $(use_enable wingdi) \
512 $(use_enable wma-fixed) \
513 $(use_with X x) \
514 $(use_enable x264) \
515 $(use_enable xcb) \
516 $(use_enable xml libxml2) \
517 $(use_enable xosd) \
518 $(use_enable xv xvideo) \
519 $(use_enable zvbi) $(use_enable !zvbi telx) \
520 --disable-optimizations \
521 --without-tuning \
522 --enable-fast-install
523 }
524
525 src_install() {
526 emake DESTDIR="${D}" install || die "make install failed"
527
528 dodoc AUTHORS THANKS NEWS README \
529 doc/fortunes.txt doc/intf-vcd.txt
530
531 # Punt useless libtool's .la files
532 find "${D}" -name '*.la' -delete
533 }
534
535 pkg_postinst() {
536 if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then
537 einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/"
538 "/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/"
539 else
540 ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)"
541 ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually"
542 ewarn "If you do not do it, vlc will take a long time to load."
543 fi
544 }