/[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.228 Revision 1.231
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2015 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.228 2014/12/15 05:50:48 dlan Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.231 2015/01/30 05:25:45 mgorny Exp $
4 4
5EAPI="5" 5EAPI="5"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
45 directfb directx dts dvb +dvbpsi dvd dxva2 elibc_glibc +encode faad fdk 45 directfb directx dts dvb +dvbpsi dvd dxva2 elibc_glibc +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 jack jpeg kate kde libass libcaca libnotify 47 growl httpd ieee1394 jack jpeg kate kde libass libcaca libnotify
48 libsamplerate libtiger linsys libtar lirc live lua 48 libsamplerate libtiger linsys libtar lirc live lua
49 macosx-dialog-provider macosx-eyetv macosx-quartztext macosx-qtkit 49 macosx-dialog-provider macosx-eyetv macosx-quartztext macosx-qtkit
50 matroska media-library mmx modplug mp3 mpeg 50 matroska media-library cpu_flags_x86_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 cpu_flags_x86_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 x265 +xcb xml xv zvbi" 55 vlm vnc vorbis vpx wma-fixed +X x264 x265 +xcb xml xv zvbi"
56 56
57RDEPEND=" 57RDEPEND="
58 !<media-video/ffmpeg-1.2:0 58 !<media-video/ffmpeg-1.2:0
221 # http://gcc.gnu.org/c99status.html 221 # http://gcc.gnu.org/c99status.html
222 if [[ "$(tc-getCC)" == *"gcc"* ]] ; then 222 if [[ "$(tc-getCC)" == *"gcc"* ]] ; then
223 sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die 223 sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die
224 fi 224 fi
225 225
226 # _FORTIFY_SOURCE is set to 2 by default on Gentoo, remove redefine warnings.
227 sed -i '/_FORTIFY_SOURCE.*, 2,/d' configure.ac || die
228
229 # Bootstrap when we are on a git checkout. 226 # Bootstrap when we are on a git checkout.
230 if [[ "${PV%9999}" != "${PV}" ]] ; then 227 if [[ "${PV%9999}" != "${PV}" ]] ; then
231 ./bootstrap 228 ./bootstrap
232 fi 229 fi
233 230
352 $(use_enable macosx-dialog-provider) \ 349 $(use_enable macosx-dialog-provider) \
353 $(use_enable macosx-eyetv) \ 350 $(use_enable macosx-eyetv) \
354 $(use_enable macosx-qtkit) \ 351 $(use_enable macosx-qtkit) \
355 $(use_enable macosx-quartztext) \ 352 $(use_enable macosx-quartztext) \
356 $(use_enable matroska mkv) \ 353 $(use_enable matroska mkv) \
357 $(use_enable mmx) \ 354 $(use_enable cpu_flags_x86_mmx mmx) \
358 $(use_enable modplug mod) \ 355 $(use_enable modplug mod) \
359 $(use_enable mp3 mad) \ 356 $(use_enable mp3 mad) \
360 $(use_enable mpeg libmpeg2) \ 357 $(use_enable mpeg libmpeg2) \
361 $(use_enable mtp) \ 358 $(use_enable mtp) \
362 $(use_enable musepack mpc) \ 359 $(use_enable musepack mpc) \
384 $(use_enable sid) \ 381 $(use_enable sid) \
385 $(use_enable sftp) \ 382 $(use_enable sftp) \
386 $(use_enable shout) \ 383 $(use_enable shout) \
387 $(use_enable skins skins2) \ 384 $(use_enable skins skins2) \
388 $(use_enable speex) \ 385 $(use_enable speex) \
389 $(use_enable sse) \ 386 $(use_enable cpu_flags_x86_sse sse) \
390 $(use_enable svg) \ 387 $(use_enable svg) \
391 $(use_enable svg svgdec) \ 388 $(use_enable svg svgdec) \
392 $(use_enable swscale) \ 389 $(use_enable swscale) \
393 $(use_enable taglib) \ 390 $(use_enable taglib) \
394 $(use_enable theora) \ 391 $(use_enable theora) \
437 --disable-vda \ 434 --disable-vda \
438 --disable-vsxu \ 435 --disable-vsxu \
439 --disable-wasapi 436 --disable-wasapi
440 437
441 # ^ We don't have these disabled libraries in the Portage tree yet. 438 # ^ We don't have these disabled libraries in the Portage tree yet.
439
440 # _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo.
441 # Other values of _FORTIFY_SOURCE may break the build (bug 523144), so definition should not be removed from config.h.
442 # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the very start of config.h file
443 sed -i '1i#undef _FORTIFY_SOURCE' "${S}"/config.h || die
442} 444}
443 445
444src_test() { 446src_test() {
445 Xemake check-TESTS 447 Xemake check-TESTS
446} 448}

Legend:
Removed from v.1.228  
changed lines
  Added in v.1.231

  ViewVC Help
Powered by ViewVC 1.1.20