/[gentoo-x86]/media-video/vlc/vlc-9999.ebuild
Gentoo

Diff of /media-video/vlc/vlc-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.202 Revision 1.214
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.202 2013/10/27 07:04:09 tomwij Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.214 2014/03/12 16:15:16 tomwij Exp $
4 4
5EAPI="5" 5EAPI="5"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
30else 30else
31 SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz" 31 SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz"
32fi 32fi
33 33
34LICENSE="LGPL-2.1 GPL-2" 34LICENSE="LGPL-2.1 GPL-2"
35SLOT="0" 35SLOT="0/5-7" # vlc - vlccore
36 36
37if [ "${PV%9999}" = "${PV}" ] ; then 37if [ "${PV%9999}" = "${PV}" ] ; then
38 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 -sparc ~x86 ~amd64-fbsd ~x86-fbsd" 38 KEYWORDS="~amd64 ~arm ~ppc -sparc ~x86 ~amd64-fbsd ~x86-fbsd"
39else 39else
40 KEYWORDS="" 40 KEYWORDS=""
41fi 41fi
42 42
43IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec 43IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec
44 +avformat bidi bluray cdda cddb chromaprint dbus dc1394 debug dirac 44 +avformat bidi bluray cdda cddb chromaprint dbus dc1394 debug
45 directfb directx dts dvb +dvbpsi dvd dxva2 elibc_glibc egl +encode faad fdk 45 directfb directx dts dvb +dvbpsi dvd dxva2 elibc_glibc egl +encode faad fdk
46 fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls 46 fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls
47 growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify 47 growl httpd ieee1394 ios-vout jack jpeg kate kde libass libcaca libnotify
48 libsamplerate libtiger linsys libtar lirc live lua +macosx 48 libsamplerate libtiger linsys libtar lirc live lua +macosx
49 +macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext 49 +macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext
50 +macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg 50 +macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg
51 mtp musepack ncurses neon ogg omxil opencv opengl optimisememory opus 51 mtp musepack ncurses neon ogg omxil opencv opengl optimisememory opus
52 png +postproc projectm pulseaudio +qt4 qt5 rdp rtsp run-as-root samba 52 png +postproc projectm pulseaudio +qt4 qt5 rdp rtsp run-as-root samba
53 schroedinger sdl sdl-image sftp shout sid skins speex sse svg +swscale 53 schroedinger sdl sdl-image sftp shout sid skins speex sse svg +swscale
54 taglib theora tremor truetype twolame udev upnp vaapi v4l vcdx vdpau 54 taglib theora tremor truetype twolame udev upnp vaapi v4l vcdx vdpau
55 vlm vnc vorbis vpx wma-fixed +X x264 +xcb xml xv zvbi" 55 vlm vnc vorbis vpx wma-fixed +X x264 +xcb xml xv zvbi"
56 56
57RDEPEND=" 57RDEPEND="
58 !<media-video/ffmpeg-1.2:0 58 !<media-video/ffmpeg-1.2:0
59 dev-libs/libgpg-error:0 59 dev-libs/libgpg-error:0
60 net-dns/libidn:0 60 net-dns/libidn:0
61 >=sys-devel/gettext-0.18.3:0
62 >=sys-libs/zlib-1.2.5.1-r2:0[minizip] 61 >=sys-libs/zlib-1.2.5.1-r2:0[minizip]
62 virtual/libintl:0
63 a52? ( >=media-libs/a52dec-0.7.4-r3:0 ) 63 a52? ( >=media-libs/a52dec-0.7.4-r3:0 )
64 aalib? ( media-libs/aalib:0 ) 64 aalib? ( media-libs/aalib:0 )
65 alsa? ( >=media-libs/alsa-lib-1.0.24:0 ) 65 alsa? ( >=media-libs/alsa-lib-1.0.24:0 )
66 avahi? ( >=net-dns/avahi-0.6:0[dbus] ) 66 avahi? ( >=net-dns/avahi-0.6:0[dbus] )
67 avcodec? ( virtual/ffmpeg:0 ) 67 avcodec? ( virtual/ffmpeg:0 )
68 avformat? ( virtual/ffmpeg:0 ) 68 avformat? ( virtual/ffmpeg:0 )
69 bidi? ( >=dev-libs/fribidi-0.10.4:0 ) 69 bidi? ( >=dev-libs/fribidi-0.10.4:0 )
70 bluray? ( >=media-libs/libbluray-0.2.1:0 ) 70 bluray? ( >=media-libs/libbluray-0.3.0:0 )
71 cddb? ( >=media-libs/libcddb-1.2.0:0 ) 71 cddb? ( >=media-libs/libcddb-1.2.0:0 )
72 chromaprint? ( >=media-libs/chromaprint-0.6:0 ) 72 chromaprint? ( >=media-libs/chromaprint-0.6:0 )
73 dbus? ( >=sys-apps/dbus-1.0.2:0 ) 73 dbus? ( >=sys-apps/dbus-1.0.2:0 )
74 dc1394? ( >=sys-libs/libraw1394-2.0.1:0 >=media-libs/libdc1394-2.1.0:2 ) 74 dc1394? ( >=sys-libs/libraw1394-2.0.1:0 >=media-libs/libdc1394-2.1.0:2 )
75 dirac? ( >=media-video/dirac-0.10.0:0 )
76 directfb? ( dev-libs/DirectFB:0 sys-libs/zlib:0 ) 75 directfb? ( dev-libs/DirectFB:0 sys-libs/zlib:0 )
77 dts? ( media-libs/libdca:0 ) 76 dts? ( media-libs/libdca:0 )
78 dvbpsi? ( >=media-libs/libdvbpsi-0.2.1:0 ) 77 dvbpsi? ( >=media-libs/libdvbpsi-0.2.1:0 )
79 dvd? ( media-libs/libdvdread:0 >=media-libs/libdvdnav-0.1.9:0 ) 78 dvd? ( media-libs/libdvdread:0 >=media-libs/libdvdnav-0.1.9:0 )
80 egl? ( virtual/opengl:0 ) 79 egl? ( virtual/opengl:0 )
89 gnome? ( gnome-base/gnome-vfs:2 dev-libs/glib:2 ) 88 gnome? ( gnome-base/gnome-vfs:2 dev-libs/glib:2 )
90 gnutls? ( >=net-libs/gnutls-3.0.20:0 ) 89 gnutls? ( >=net-libs/gnutls-3.0.20:0 )
91 ieee1394? ( >=sys-libs/libraw1394-2.0.1:0 >=sys-libs/libavc1394-0.5.3:0 ) 90 ieee1394? ( >=sys-libs/libraw1394-2.0.1:0 >=sys-libs/libavc1394-0.5.3:0 )
92 ios-vout? ( virtual/opengl:0 ) 91 ios-vout? ( virtual/opengl:0 )
93 jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1:0 ) 92 jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1:0 )
93 jpeg? ( virtual/jpeg:0 )
94 kate? ( >=media-libs/libkate-0.3.0:0 ) 94 kate? ( >=media-libs/libkate-0.3.0:0 )
95 libass? ( >=media-libs/libass-0.9.8:0 media-libs/fontconfig:1.0 ) 95 libass? ( >=media-libs/libass-0.9.8:0 media-libs/fontconfig:1.0 )
96 libcaca? ( >=media-libs/libcaca-0.99_beta14:0 ) 96 libcaca? ( >=media-libs/libcaca-0.99_beta14:0 )
97 libnotify? ( x11-libs/libnotify:0 x11-libs/gtk+:2 x11-libs/gdk-pixbuf:2 dev-libs/glib:2 ) 97 libnotify? ( x11-libs/libnotify:0 x11-libs/gtk+:2 x11-libs/gdk-pixbuf:2 dev-libs/glib:2 )
98 libsamplerate? ( media-libs/libsamplerate:0 ) 98 libsamplerate? ( media-libs/libsamplerate:0 )
117 png? ( media-libs/libpng:0= sys-libs/zlib:0 ) 117 png? ( media-libs/libpng:0= sys-libs/zlib:0 )
118 postproc? ( || ( >=media-video/ffmpeg-1.2:0= media-libs/libpostproc:0 ) ) 118 postproc? ( || ( >=media-video/ffmpeg-1.2:0= media-libs/libpostproc:0 ) )
119 projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) 119 projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 )
120 pulseaudio? ( >=media-sound/pulseaudio-0.9.22:0 ) 120 pulseaudio? ( >=media-sound/pulseaudio-0.9.22:0 )
121 qt4? ( >=dev-qt/qtgui-4.6.0:4 >=dev-qt/qtcore-4.6.0:4 ) 121 qt4? ( >=dev-qt/qtgui-4.6.0:4 >=dev-qt/qtcore-4.6.0:4 )
122 qt5? ( >=dev-qt/qtgui-5.1.0:5 >=dev-qt/qtcore-5.1.0:5 ) 122 qt5? ( >=dev-qt/qtgui-5.1.0:5 >=dev-qt/qtcore-5.1.0:5 dev-qt/qtwidgets:5 )
123 rdp? ( net-misc/freerdp:0= ) 123 rdp? ( net-misc/freerdp:0= )
124 samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4.0.0:0[client] ) ) 124 samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4.0.0:0[client] ) )
125 schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) 125 schroedinger? ( >=media-libs/schroedinger-1.0.10:0 )
126 sdl? ( >=media-libs/libsdl-1.2.10:0 126 sdl? ( >=media-libs/libsdl-1.2.10:0
127 sdl-image? ( >=media-libs/sdl-image-1.2.10:0 sys-libs/zlib:0 ) ) 127 sdl-image? ( >=media-libs/sdl-image-1.2.10:0 sys-libs/zlib:0 ) )
139 !fontconfig? ( media-fonts/dejavu:0 ) ) 139 !fontconfig? ( media-fonts/dejavu:0 ) )
140 twolame? ( media-sound/twolame:0 ) 140 twolame? ( media-sound/twolame:0 )
141 udev? ( >=virtual/udev-142:0 ) 141 udev? ( >=virtual/udev-142:0 )
142 upnp? ( net-libs/libupnp:0 ) 142 upnp? ( net-libs/libupnp:0 )
143 v4l? ( media-libs/libv4l:0 ) 143 v4l? ( media-libs/libv4l:0 )
144 vaapi? ( x11-libs/libva:0 ) 144 vaapi? ( x11-libs/libva:0 virtual/ffmpeg[vaapi] )
145 vcdx? ( >=dev-libs/libcdio-0.78.2:0 >=media-video/vcdimager-0.7.22:0 ) 145 vcdx? ( >=dev-libs/libcdio-0.78.2:0 >=media-video/vcdimager-0.7.22:0 )
146 vdpau? ( >=x11-libs/libvdpau-0.6:0 ) 146 vdpau? ( >=x11-libs/libvdpau-0.6:0 !<media-video/libav-10_beta1 )
147 vnc? ( >=net-libs/libvncserver-0.9.9:0 ) 147 vnc? ( >=net-libs/libvncserver-0.9.9:0 )
148 vorbis? ( media-libs/libvorbis:0 ) 148 vorbis? ( media-libs/libvorbis:0 )
149 vpx? ( media-libs/libvpx:0 ) 149 vpx? ( media-libs/libvpx:0 )
150 X? ( x11-libs/libX11:0 ) 150 X? ( x11-libs/libX11:0 )
151 x264? ( >=media-libs/x264-0.0.20090923:0= ) 151 x264? ( >=media-libs/x264-0.0.20090923:0= )
156 156
157DEPEND="${RDEPEND} 157DEPEND="${RDEPEND}
158 kde? ( >=kde-base/kdelibs-4:4 ) 158 kde? ( >=kde-base/kdelibs-4:4 )
159 xcb? ( x11-proto/xproto:0 ) 159 xcb? ( x11-proto/xproto:0 )
160 app-arch/xz-utils:0 160 app-arch/xz-utils:0
161 dev-lang/yasm:*
162 >=sys-devel/gettext-0.18.3:*
161 virtual/pkgconfig:0 163 virtual/pkgconfig:*
162" 164"
163 165
164REQUIRED_USE=" 166REQUIRED_USE="
165 aalib? ( X ) 167 aalib? ( X )
166 bidi? ( truetype ) 168 bidi? ( truetype )
236 238
237 # Fix build system mistake. 239 # Fix build system mistake.
238 epatch "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch 240 epatch "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch
239 241
240 # Patch up incompatibilities and reconfigure autotools. 242 # Patch up incompatibilities and reconfigure autotools.
241 epatch "${FILESDIR}"/${PN}-2.1.0-newer-rdp.patch
242 epatch "${FILESDIR}"/${PN}-2.1.0-libva-1.2.1-compat.patch 243 epatch "${FILESDIR}"/${PN}-2.1.0-libva-1.2.1-compat.patch
243 244
244 # Fix up broken audio when skipping using a fixed reversed bisected commit. 245 # Fix up broken audio when skipping using a fixed reversed bisected commit.
245 epatch "${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch 246 epatch "${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch
247
248 # Disable avcodec checks when avcodec is not used.
249 sed -i 's/^#if LIBAVCODEC_VERSION_CHECK(.*)$/#if 0/' modules/codec/avcodec/fourcc.c || die
250
251 # Don't use --started-from-file when not using dbus.
252 if ! use dbus ; then
253 sed -i 's/ --started-from-file//' share/vlc.desktop.in || die
254 fi
246 255
247 eautoreconf 256 eautoreconf
248 257
249 # Disable automatic running of tests. 258 # Disable automatic running of tests.
250 find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die 259 find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die
293 $(use_enable bluray) \ 302 $(use_enable bluray) \
294 $(use_enable cdda vcd) \ 303 $(use_enable cdda vcd) \
295 $(use_enable cddb libcddb) \ 304 $(use_enable cddb libcddb) \
296 $(use_enable chromaprint) \ 305 $(use_enable chromaprint) \
297 $(use_enable dbus) \ 306 $(use_enable dbus) \
298 $(use_enable dirac) \
299 $(use_enable directfb) \ 307 $(use_enable directfb) \
300 $(use_enable directx) \ 308 $(use_enable directx) \
301 $(use_enable dc1394) \ 309 $(use_enable dc1394) \
302 $(use_enable debug) \ 310 $(use_enable debug) \
303 $(use_enable dts dca) \ 311 $(use_enable dts dca) \
316 $(use_enable gnome gnomevfs) \ 324 $(use_enable gnome gnomevfs) \
317 $(use_enable gnutls) \ 325 $(use_enable gnutls) \
318 $(use_enable growl) \ 326 $(use_enable growl) \
319 $(use_enable httpd) \ 327 $(use_enable httpd) \
320 $(use_enable ieee1394 dv1394) \ 328 $(use_enable ieee1394 dv1394) \
321 $(use_enable ios-vout) \ 329 $(use_enable ios-vout ios-vout2) \
322 $(use_enable jack) \ 330 $(use_enable jack) \
331 $(use_enable jpeg) \
323 $(use_enable kate) \ 332 $(use_enable kate) \
324 $(use_with kde kde-solid) \ 333 $(use_with kde kde-solid) \
325 $(use_enable libass) \ 334 $(use_enable libass) \
326 $(use_enable libcaca caca) \ 335 $(use_enable libcaca caca) \
327 $(use_enable libnotify notify) \ 336 $(use_enable libnotify notify) \
347 $(use_enable musepack mpc) \ 356 $(use_enable musepack mpc) \
348 $(use_enable ncurses) \ 357 $(use_enable ncurses) \
349 $(use_enable neon) \ 358 $(use_enable neon) \
350 $(use_enable ogg) $(use_enable ogg mux_ogg) \ 359 $(use_enable ogg) $(use_enable ogg mux_ogg) \
351 $(use_enable omxil) \ 360 $(use_enable omxil) \
361 $(use_enable omxil omxil-vout) \
352 $(use_enable opencv) \ 362 $(use_enable opencv) \
353 $(use_enable opengl glx) $(use_enable opengl glspectrum) \ 363 $(use_enable opengl glx) $(use_enable opengl glspectrum) \
354 $(use_enable opus) \ 364 $(use_enable opus) \
355 $(use_enable optimisememory optimize-memory) \ 365 $(use_enable optimisememory optimize-memory) \
356 $(use_enable png) \ 366 $(use_enable png) \
393 $(use_enable x264) \ 403 $(use_enable x264) \
394 $(use_enable xcb) \ 404 $(use_enable xcb) \
395 $(use_enable xml libxml2) \ 405 $(use_enable xml libxml2) \
396 $(use_enable xv xvideo) \ 406 $(use_enable xv xvideo) \
397 $(use_enable zvbi) $(use_enable !zvbi telx) \ 407 $(use_enable zvbi) $(use_enable !zvbi telx) \
408 --disable-asdcp \
409 --disable-coregraphicslayer-vout \
410 --disable-coverage \
411 --disable-cprof \
398 --disable-crystalhd \ 412 --disable-crystalhd \
399 --disable-decklink \ 413 --disable-decklink \
414 --disable-gles1 \
415 --disable-gles2 \
400 --disable-goom \ 416 --disable-goom \
417 --disable-ios-audio \
401 --disable-kai \ 418 --disable-kai \
402 --disable-kva \ 419 --disable-kva \
420 --disable-maintainer-mode \
421 --disable-merge-ffmpeg \
403 --disable-mfx \ 422 --disable-mfx \
423 --disable-opensles \
404 --disable-oss \ 424 --disable-oss \
425 --disable-quicktime \
426 --disable-rpi-omxil \
405 --disable-shine \ 427 --disable-shine \
406 --disable-sndio \ 428 --disable-sndio \
407 --disable-x265 \ 429 --disable-x265 \
408 --disable-vda \ 430 --disable-vda \
409 --disable-vsxu 431 --disable-vsxu \
432 --disable-wasapi
410 433
411 # ^ We don't have these disables libraries in the Portage tree yet. 434 # ^ We don't have these disabled libraries in the Portage tree yet.
412} 435}
413 436
414src_test() { 437src_test() {
415 Xemake check-TESTS 438 Xemake check-TESTS
416} 439}

Legend:
Removed from v.1.202  
changed lines
  Added in v.1.214

  ViewVC Help
Powered by ViewVC 1.1.20