/[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.224 Revision 1.225
1# Copyright 1999-2014 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.224 2014/09/10 22:06:30 zerochaos Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.225 2014/11/10 08:42:52 dlan Exp $
4 4
5EAPI="5" 5EAPI="5"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
50 matroska media-library mmx modplug mp3 mpeg 50 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 x265 +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
73 dbus? ( >=sys-apps/dbus-1.6:0 ) 73 dbus? ( >=sys-apps/dbus-1.6:0 )
74 dc1394? ( >=sys-libs/libraw1394-2.0.1:0 >=media-libs/libdc1394-2.1:2 ) 74 dc1394? ( >=sys-libs/libraw1394-2.0.1:0 >=media-libs/libdc1394-2.1:2 )
75 directfb? ( dev-libs/DirectFB:0 sys-libs/zlib:0 ) 75 directfb? ( dev-libs/DirectFB:0 sys-libs/zlib:0 )
76 dts? ( >=media-libs/libdca-0.0.5:0 ) 76 dts? ( >=media-libs/libdca-0.0.5:0 )
77 dvbpsi? ( >=media-libs/libdvbpsi-0.2.1:0 ) 77 dvbpsi? ( >=media-libs/libdvbpsi-0.2.1:0 )
78 dvd? ( >=media-libs/libdvdread-4.9:0 >=media-libs/libdvdnav-4.2.1:0 ) 78 dvd? ( >=media-libs/libdvdread-4.9:0 >=media-libs/libdvdnav-4.9.0:0 )
79 elibc_glibc? ( >=sys-libs/glibc-2.8:2.2 ) 79 elibc_glibc? ( >=sys-libs/glibc-2.8:2.2 )
80 faad? ( >=media-libs/faad2-2.6.1:0 ) 80 faad? ( >=media-libs/faad2-2.6.1:0 )
81 fdk? ( media-libs/fdk-aac:0 ) 81 fdk? ( media-libs/fdk-aac:0 )
82 flac? ( >=media-libs/libogg-1:0 >=media-libs/flac-1.1.2:0 ) 82 flac? ( >=media-libs/libogg-1:0 >=media-libs/flac-1.1.2:0 )
83 fluidsynth? ( >=media-sound/fluidsynth-1.1.2:0 ) 83 fluidsynth? ( >=media-sound/fluidsynth-1.1.2:0 )
154 vnc? ( >=net-libs/libvncserver-0.9.9:0 ) 154 vnc? ( >=net-libs/libvncserver-0.9.9:0 )
155 vorbis? ( >=media-libs/libvorbis-1.1:0 ) 155 vorbis? ( >=media-libs/libvorbis-1.1:0 )
156 vpx? ( media-libs/libvpx:0 ) 156 vpx? ( media-libs/libvpx:0 )
157 X? ( x11-libs/libX11:0 ) 157 X? ( x11-libs/libX11:0 )
158 x264? ( >=media-libs/x264-0.0.20090923:0= ) 158 x264? ( >=media-libs/x264-0.0.20090923:0= )
159 x265? ( media-libs/x265:0= )
159 xcb? ( >=x11-libs/libxcb-1.6:0 >=x11-libs/xcb-util-0.3.4:0 >=x11-libs/xcb-util-keysyms-0.3.4:0 ) 160 xcb? ( >=x11-libs/libxcb-1.6:0 >=x11-libs/xcb-util-0.3.4:0 >=x11-libs/xcb-util-keysyms-0.3.4:0 )
160 xml? ( >=dev-libs/libxml2-2.5:2 ) 161 xml? ( >=dev-libs/libxml2-2.5:2 )
161 zvbi? ( >=media-libs/zvbi-0.2.25:0 ) 162 zvbi? ( >=media-libs/zvbi-0.2.25:0 )
162" 163"
163 164
164DEPEND="${RDEPEND} 165DEPEND="${RDEPEND}
165 kde? ( >=kde-base/kdelibs-4:4 ) 166 kde? ( >=kde-base/kdelibs-4:4 )
166 xcb? ( x11-proto/xproto:0 ) 167 xcb? ( x11-proto/xproto:0 )
167 app-arch/xz-utils:0 168 app-arch/xz-utils:0
168 dev-lang/yasm:* 169 dev-lang/yasm:*
169 >=sys-devel/gettext-0.18.3:* 170 >=sys-devel/gettext-0.19.2:*
170 virtual/pkgconfig:* 171 virtual/pkgconfig:*
171" 172"
172 173
173REQUIRED_USE=" 174REQUIRED_USE="
174 aalib? ( X ) 175 aalib? ( X )
193" 194"
194 195
195S="${WORKDIR}/${MY_P}" 196S="${WORKDIR}/${MY_P}"
196 197
197pkg_setup() { 198pkg_setup() {
198 if [[ "$(tc-getCC)" == *"gcc"* ]] ; then 199 if [[ "${MERGE_TYPE}" != "binary" && "$(tc-getCC)" == *"gcc"* ]] ; then
199 if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then 200 if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then
200 die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754." 201 die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754."
201 fi 202 fi
202 fi 203 fi
203} 204}
244 245
245 # Fix up broken audio when skipping using a fixed reversed bisected commit. 246 # Fix up broken audio when skipping using a fixed reversed bisected commit.
246 epatch "${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch 247 epatch "${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch
247 248
248 # Disable avcodec checks when avcodec is not used. 249 # Disable avcodec checks when avcodec is not used.
250 if ! use avcodec; then
249 sed -i 's/^#if LIBAVCODEC_VERSION_CHECK(.*)$/#if 0/' modules/codec/avcodec/fourcc.c || die 251 sed -i 's/^#if LIBAVCODEC_VERSION_CHECK(.*)$/#if 0/' modules/codec/avcodec/fourcc.c || die
252 fi
250 253
251 # Don't use --started-from-file when not using dbus. 254 # Don't use --started-from-file when not using dbus.
252 if ! use dbus ; then 255 if ! use dbus ; then
253 sed -i 's/ --started-from-file//' share/vlc.desktop.in || die 256 sed -i 's/ --started-from-file//' share/vlc.desktop.in || die
254 fi 257 fi
399 $(use_with X x) \ 402 $(use_with X x) \
400 $(use_enable x264) \ 403 $(use_enable x264) \
401 $(use_enable xcb) \ 404 $(use_enable xcb) \
402 $(use_enable xml libxml2) \ 405 $(use_enable xml libxml2) \
403 $(use_enable xv xvideo) \ 406 $(use_enable xv xvideo) \
407 $(use_enable x265) \
404 $(use_enable zvbi) $(use_enable !zvbi telx) \ 408 $(use_enable zvbi) $(use_enable !zvbi telx) \
405 --disable-asdcp \ 409 --disable-asdcp \
406 --disable-coverage \ 410 --disable-coverage \
407 --disable-cprof \ 411 --disable-cprof \
408 --disable-crystalhd \ 412 --disable-crystalhd \
421 --disable-oss \ 425 --disable-oss \
422 --disable-quicktime \ 426 --disable-quicktime \
423 --disable-rpi-omxil \ 427 --disable-rpi-omxil \
424 --disable-shine \ 428 --disable-shine \
425 --disable-sndio \ 429 --disable-sndio \
426 --disable-x265 \
427 --disable-vda \ 430 --disable-vda \
428 --disable-vsxu \ 431 --disable-vsxu \
429 --disable-wasapi 432 --disable-wasapi
430 433
431 # ^ We don't have these disabled libraries in the Portage tree yet. 434 # ^ We don't have these disabled libraries in the Portage tree yet.

Legend:
Removed from v.1.224  
changed lines
  Added in v.1.225

  ViewVC Help
Powered by ViewVC 1.1.20