/[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.204 Revision 1.207
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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.204 2013/11/10 15:41:55 tomwij Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.207 2013/12/15 23:07:19 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
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
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 ) )
241 epatch "${FILESDIR}"/${PN}-2.1.0-newer-rdp.patch 241 epatch "${FILESDIR}"/${PN}-2.1.0-newer-rdp.patch
242 epatch "${FILESDIR}"/${PN}-2.1.0-libva-1.2.1-compat.patch 242 epatch "${FILESDIR}"/${PN}-2.1.0-libva-1.2.1-compat.patch
243 243
244 # Fix up broken audio when skipping using a fixed reversed bisected commit. 244 # 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 245 epatch "${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch
246
247 # Disable avcodec checks when avcodec is not used.
248 sed -i 's/^#if LIBAVCODEC_VERSION_CHECK(.*)$/#if 0/' modules/codec/avcodec/fourcc.c || die
249
250 # Don't use --started-from-file when not using dbus.
251 if ! use dbus ; then
252 sed -i 's/ --started-from-file//' share/vlc.desktop.in || die
253 fi
246 254
247 eautoreconf 255 eautoreconf
248 256
249 # Disable automatic running of tests. 257 # Disable automatic running of tests.
250 find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die 258 find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die

Legend:
Removed from v.1.204  
changed lines
  Added in v.1.207

  ViewVC Help
Powered by ViewVC 1.1.20