/[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.226 Revision 1.227
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.226 2014/11/15 11:56:20 hwoarang Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.227 2014/11/16 14:37:22 dlan Exp $
4 4
5EAPI="5" 5EAPI="5"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
114 png? ( media-libs/libpng:0= sys-libs/zlib:0 ) 114 png? ( media-libs/libpng:0= sys-libs/zlib:0 )
115 postproc? ( || ( >=media-video/ffmpeg-1.2:0 media-libs/libpostproc:0 ) ) 115 postproc? ( || ( >=media-video/ffmpeg-1.2:0 media-libs/libpostproc:0 ) )
116 projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) 116 projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 )
117 pulseaudio? ( >=media-sound/pulseaudio-1:0 ) 117 pulseaudio? ( >=media-sound/pulseaudio-1:0 )
118 qt4? ( >=dev-qt/qtgui-4.6:4 >=dev-qt/qtcore-4.6:4 ) 118 qt4? ( >=dev-qt/qtgui-4.6:4 >=dev-qt/qtcore-4.6:4 )
119 qt5? ( >=dev-qt/qtgui-5.1:5 >=dev-qt/qtcore-5.1:5 dev-qt/qtwidgets:5 ) 119 qt5? ( >=dev-qt/qtgui-5.1:5 >=dev-qt/qtcore-5.1:5 >=dev-qt/qtwidgets-5.1:5 >=dev-qt/qtx11extras-5.1:5 )
120 rdp? ( >=net-misc/freerdp-1.0.1:0= ) 120 rdp? ( >=net-misc/freerdp-1.0.1:0= )
121 samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4:0[client] ) ) 121 samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4:0[client] ) )
122 schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) 122 schroedinger? ( >=media-libs/schroedinger-1.0.10:0 )
123 sdl? ( >=media-libs/libsdl-1.2.10:0 123 sdl? ( >=media-libs/libsdl-1.2.10:0
124 sdl-image? ( >=media-libs/sdl-image-1.2.10:0 sys-libs/zlib:0 ) ) 124 sdl-image? ( >=media-libs/sdl-image-1.2.10:0 sys-libs/zlib:0 ) )
244 epatch "${FILESDIR}"/${P}-libva-1.2.1-compat.patch 244 epatch "${FILESDIR}"/${P}-libva-1.2.1-compat.patch
245 245
246 # 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.
247 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
248 248
249 # Disable avcodec checks when avcodec is not used.
250 if ! use avcodec; then
251 sed -i 's/^#if LIBAVCODEC_VERSION_CHECK(.*)$/#if 0/' modules/codec/avcodec/fourcc.c || die
252 fi
253
254 # Don't use --started-from-file when not using dbus. 249 # Don't use --started-from-file when not using dbus.
255 if ! use dbus ; then 250 if ! use dbus ; then
256 sed -i 's/ --started-from-file//' share/vlc.desktop.in || die 251 sed -i 's/ --started-from-file//' share/vlc.desktop.in || die
257 fi 252 fi
258 253
263} 258}
264 259
265src_configure() { 260src_configure() {
266 # Compatibility fix for Samba 4. 261 # Compatibility fix for Samba 4.
267 use samba && append-cppflags "-I/usr/include/samba-4.0" 262 use samba && append-cppflags "-I/usr/include/samba-4.0"
263
264 # We need to disable -fstack-check if use >=gcc 4.8.0.
265 # See bug #499996
266 use x86 && append-cflags $(test-flags-CC -fno-stack-check)
268 267
269 # Needs libresid-builder from libsidplay:2 which is in another directory... 268 # Needs libresid-builder from libsidplay:2 which is in another directory...
270 # FIXME! 269 # FIXME!
271 append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" 270 append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/"
272 271

Legend:
Removed from v.1.226  
changed lines
  Added in v.1.227

  ViewVC Help
Powered by ViewVC 1.1.20