/[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.148 Revision 1.165
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 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.148 2011/09/21 08:58:32 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.165 2012/05/05 08:58:52 jdhore Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
25DESCRIPTION="VLC media player - Video player and streamer" 25DESCRIPTION="VLC media player - Video player and streamer"
26HOMEPAGE="http://www.videolan.org/vlc/" 26HOMEPAGE="http://www.videolan.org/vlc/"
27if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild 27if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
28 SRC_URI="" 28 SRC_URI=""
29elif [[ "${MY_P}" == "${P}" ]]; then 29elif [[ "${MY_P}" == "${P}" ]]; then
30 SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2" 30 SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz"
31else 31else
32 SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.bz2" 32 SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz"
33fi 33fi
34 34
35SRC_URI="${SRC_URI} 35SRC_URI="${SRC_URI}
36 mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" 36 mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
37 37
38LICENSE="GPL-2" 38LICENSE="LGPL-2.1 GPL-2"
39SLOT="0" 39SLOT="0"
40 40
41if [ "${PV%9999}" = "${PV}" ] ; then 41if [ "${PV%9999}" = "${PV}" ] ; then
42 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" 42 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
43else 43else
44 KEYWORDS="" 44 KEYWORDS=""
45fi 45fi
46IUSE="a52 aac aalib alsa altivec atmo +audioqueue avahi +avcodec 46IUSE="a52 aac aalib alsa altivec atmo +audioqueue avahi +avcodec
47 +avformat bidi bluray cdda cddb dbus dc1394 debug dirac direct2d 47 +avformat bidi bluray cdda cddb dbus dc1394 debug dirac direct2d
48 directfb directx dshow dts dvb dvd dxva2 elibc_glibc egl +encode 48 directfb directx dshow dts dvb +dvbpsi dvd dxva2 elibc_glibc egl +encode
49 fbosd fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls 49 fbosd fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls
50 growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify 50 growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify
51 libproxy libsamplerate libtiger libv4l2 linsys libtar lirc live lua +macosx 51 libproxy libsamplerate libtiger linsys libtar lirc live lua +macosx
52 +macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext 52 +macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext
53 +macosx-qtcapture +macosx-vout matroska media-library mmx modplug mp3 mpeg 53 +macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg
54 mtp musepack ncurses neon ogg omxil opengl optimisememory oss png portaudio 54 mtp musepack ncurses neon ogg omxil opengl optimisememory oss png
55 +postproc projectm pulseaudio pvr +qt4 rtsp run-as-root samba schroedinger 55 +postproc projectm pulseaudio pvr +qt4 rtsp run-as-root samba schroedinger
56 sdl sdl-image shine shout sid skins speex sqlite sse svg +swscale switcher 56 sdl sdl-image shine shout sid skins speex sqlite sse svg +swscale switcher
57 taglib theora truetype twolame udev upnp vaapi vcdx vlm vorbis waveout 57 taglib theora truetype twolame udev upnp vaapi v4l vcdx vlm vorbis waveout
58 win32codecs wingdi wma-fixed +X x264 +xcb xml xosd xv zvbi" 58 win32codecs wingdi wma-fixed +X x264 +xcb xml xosd xv zvbi"
59 59
60RDEPEND=" 60RDEPEND="
61 sys-libs/zlib 61 >=sys-libs/zlib-1.2.5.1-r2[minizip]
62 a52? ( >=media-libs/a52dec-0.7.4-r3 ) 62 a52? ( >=media-libs/a52dec-0.7.4-r3 )
63 aalib? ( media-libs/aalib ) 63 aalib? ( media-libs/aalib )
64 aac? ( >=media-libs/faad2-2.6.1 ) 64 aac? ( >=media-libs/faad2-2.6.1 )
65 alsa? ( >=media-libs/alsa-lib-1.0.23 ) 65 alsa? ( >=media-libs/alsa-lib-1.0.23 )
66 avahi? ( >=net-dns/avahi-0.6[dbus] ) 66 avahi? ( >=net-dns/avahi-0.6[dbus] )
67 avcodec? ( virtual/ffmpeg ) 67 avcodec? ( virtual/ffmpeg )
68 avformat? ( virtual/ffmpeg ) 68 avformat? ( virtual/ffmpeg )
69 bidi? ( >=dev-libs/fribidi-0.10.4 ) 69 bidi? ( >=dev-libs/fribidi-0.10.4 )
70 bluray? ( media-libs/libbluray >=dev-libs/libxml2-2.6:2 ) 70 bluray? ( >=media-libs/libbluray-0.2.1 )
71 cddb? ( >=media-libs/libcddb-1.2.0 ) 71 cddb? ( >=media-libs/libcddb-1.2.0 )
72 dbus? ( >=sys-apps/dbus-1.0.2 ) 72 dbus? ( >=sys-apps/dbus-1.0.2 )
73 dc1394? ( >=sys-libs/libraw1394-2.0.1 >=media-libs/libdc1394-2.0.2 ) 73 dc1394? ( >=sys-libs/libraw1394-2.0.1 >=media-libs/libdc1394-2.0.2 )
74 dirac? ( >=media-video/dirac-0.10.0 ) 74 dirac? ( >=media-video/dirac-0.10.0 )
75 directfb? ( dev-libs/DirectFB sys-libs/zlib ) 75 directfb? ( dev-libs/DirectFB sys-libs/zlib )
76 dts? ( media-libs/libdca ) 76 dts? ( media-libs/libdca )
77 dvb? ( >=media-libs/libdvbpsi-0.1.6 ) 77 dvbpsi? ( >=media-libs/libdvbpsi-0.2.1 )
78 dvd? ( media-libs/libdvdread >=media-libs/libdvdnav-0.1.9 ) 78 dvd? ( media-libs/libdvdread >=media-libs/libdvdnav-0.1.9 )
79 egl? ( virtual/opengl ) 79 egl? ( virtual/opengl )
80 elibc_glibc? ( >=sys-libs/glibc-2.8 ) 80 elibc_glibc? ( >=sys-libs/glibc-2.8 )
81 flac? ( media-libs/libogg >=media-libs/flac-1.1.2 ) 81 flac? ( media-libs/libogg >=media-libs/flac-1.1.2 )
82 fluidsynth? ( media-sound/fluidsynth ) 82 fluidsynth? ( >=media-sound/fluidsynth-1.1.0 )
83 fontconfig? ( media-libs/fontconfig ) 83 fontconfig? ( media-libs/fontconfig )
84 gcrypt? ( >=dev-libs/libgcrypt-1.2.0 ) 84 gcrypt? ( >=dev-libs/libgcrypt-1.2.0 )
85 gme? ( media-libs/game-music-emu ) 85 gme? ( media-libs/game-music-emu )
86 gnome? ( gnome-base/gnome-vfs ) 86 gnome? ( gnome-base/gnome-vfs )
87 gnutls? ( >=net-libs/gnutls-2.0.0 ) 87 gnutls? ( >=net-libs/gnutls-2.0.0 )
96 libsamplerate? ( media-libs/libsamplerate ) 96 libsamplerate? ( media-libs/libsamplerate )
97 libtar? ( >=dev-libs/libtar-1.2.11-r3 ) 97 libtar? ( >=dev-libs/libtar-1.2.11-r3 )
98 libtiger? ( media-libs/libtiger ) 98 libtiger? ( media-libs/libtiger )
99 linsys? ( >=media-libs/zvbi-0.2.28 ) 99 linsys? ( >=media-libs/zvbi-0.2.28 )
100 lirc? ( app-misc/lirc ) 100 lirc? ( app-misc/lirc )
101 live? ( >=media-plugins/live-2010.10.15 ) 101 live? ( >=media-plugins/live-2011.12.23 )
102 lua? ( >=dev-lang/lua-5.1 ) 102 lua? ( >=dev-lang/lua-5.1 )
103 macosx-vout? ( virtual/opengl ) 103 macosx-vout? ( virtual/opengl )
104 matroska? ( >=dev-libs/libebml-1.0.0 >=media-libs/libmatroska-1.0.0 ) 104 matroska? ( >=dev-libs/libebml-1.0.0 >=media-libs/libmatroska-1.0.0 )
105 modplug? ( >=media-libs/libmodplug-0.8.8.1 ) 105 modplug? ( >=media-libs/libmodplug-0.8.8.1 )
106 mp3? ( media-libs/libmad ) 106 mp3? ( media-libs/libmad )
107 mpeg? ( >=media-libs/libmpeg2-0.3.2 ) 107 mpeg? ( >=media-libs/libmpeg2-0.3.2 )
108 mtp? ( >=media-libs/libmtp-1.0.0 ) 108 mtp? ( >=media-libs/libmtp-1.0.0 )
109 musepack? ( >=media-sound/musepack-tools-444 ) 109 musepack? ( >=media-sound/musepack-tools-444 )
110 ncurses? ( sys-libs/ncurses ) 110 ncurses? ( sys-libs/ncurses[unicode] )
111 ogg? ( media-libs/libogg ) 111 ogg? ( media-libs/libogg )
112 opengl? ( virtual/opengl || ( >=x11-libs/libX11-1.3.99.901 <x11-libs/libX11-1.3.99.901[xcb] ) ) 112 opengl? ( virtual/opengl >=x11-libs/libX11-1.3.99.901 )
113 png? ( media-libs/libpng sys-libs/zlib ) 113 png? ( media-libs/libpng sys-libs/zlib )
114 portaudio? ( >=media-libs/portaudio-19_pre )
115 postproc? ( virtual/ffmpeg ) 114 postproc? ( virtual/ffmpeg )
116 projectm? ( media-libs/libprojectm ) 115 projectm? ( media-libs/libprojectm )
117 pulseaudio? ( >=media-sound/pulseaudio-0.9.22 ) 116 pulseaudio? ( >=media-sound/pulseaudio-0.9.22 )
118 qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 ) 117 qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 )
119 samba? ( || ( >=net-fs/samba-3.4.6[smbclient] <net-fs/samba-3.4 ) ) 118 samba? ( >=net-fs/samba-3.4.6[smbclient] )
120 schroedinger? ( >=media-libs/schroedinger-1.0.10 ) 119 schroedinger? ( >=media-libs/schroedinger-1.0.10 )
121 sdl? ( >=media-libs/libsdl-1.2.8 120 sdl? ( >=media-libs/libsdl-1.2.8
122 sdl-image? ( media-libs/sdl-image sys-libs/zlib ) ) 121 sdl-image? ( media-libs/sdl-image sys-libs/zlib ) )
123 shout? ( media-libs/libshout ) 122 shout? ( media-libs/libshout )
124 sid? ( media-libs/libsidplay:2 ) 123 sid? ( media-libs/libsidplay:2 )
127 sqlite? ( >=dev-db/sqlite-3.6.0:3 ) 126 sqlite? ( >=dev-db/sqlite-3.6.0:3 )
128 svg? ( >=gnome-base/librsvg-2.9.0 ) 127 svg? ( >=gnome-base/librsvg-2.9.0 )
129 swscale? ( virtual/ffmpeg ) 128 swscale? ( virtual/ffmpeg )
130 taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib ) 129 taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib )
131 theora? ( >=media-libs/libtheora-1.0_beta3 ) 130 theora? ( >=media-libs/libtheora-1.0_beta3 )
132 truetype? ( media-libs/freetype media-fonts/dejavu ) 131 truetype? ( media-libs/freetype virtual/ttf-fonts
132 !fontconfig? ( media-fonts/dejavu ) )
133 twolame? ( media-sound/twolame ) 133 twolame? ( media-sound/twolame )
134 udev? ( >=sys-fs/udev-142 ) 134 udev? ( >=sys-fs/udev-142 )
135 upnp? ( net-libs/libupnp ) 135 upnp? ( net-libs/libupnp )
136 libv4l2? ( media-libs/libv4l ) 136 v4l? ( media-libs/libv4l )
137 vaapi? ( x11-libs/libva ) 137 vaapi? ( x11-libs/libva )
138 vcdx? ( >=dev-libs/libcdio-0.78.2 >=media-video/vcdimager-0.7.22 ) 138 vcdx? ( >=dev-libs/libcdio-0.78.2 >=media-video/vcdimager-0.7.22 )
139 vorbis? ( media-libs/libvorbis ) 139 vorbis? ( media-libs/libvorbis )
140 win32codecs? ( media-libs/win32codecs ) 140 win32codecs? ( media-libs/win32codecs )
141 X? ( x11-libs/libX11 ) 141 X? ( x11-libs/libX11 )
149DEPEND="${RDEPEND} 149DEPEND="${RDEPEND}
150 alsa? ( >=media-sound/alsa-headers-1.0.23 ) 150 alsa? ( >=media-sound/alsa-headers-1.0.23 )
151 fbosd? ( sys-kernel/linux-headers ) 151 fbosd? ( sys-kernel/linux-headers )
152 kde? ( >=kde-base/kdelibs-4 ) 152 kde? ( >=kde-base/kdelibs-4 )
153 xcb? ( x11-proto/xproto ) 153 xcb? ( x11-proto/xproto )
154 app-arch/xz-utils
154 dev-util/pkgconfig" 155 virtual/pkgconfig"
155 156
156REQUIRED_USE=" 157REQUIRED_USE="
157 aalib? ( X ) 158 aalib? ( X )
158 bidi? ( truetype ) 159 bidi? ( truetype )
159 cddb? ( cdda ) 160 cddb? ( cdda )
161 dvb? ( dvbpsi )
160 dxva2? ( avcodec ) 162 dxva2? ( avcodec )
161 egl? ( X ) 163 egl? ( X )
162 ffmpeg? ( avcodec avformat postproc swscale ) 164 ffmpeg? ( avcodec avformat postproc swscale )
163 fontconfig? ( truetype ) 165 fontconfig? ( truetype )
164 gnutls? ( gcrypt ) 166 gnutls? ( gcrypt )
169 sdl? ( X ) 171 sdl? ( X )
170 skins? ( truetype qt4 X ) 172 skins? ( truetype qt4 X )
171 switcher? ( avcodec ) 173 switcher? ( avcodec )
172 vaapi? ( avcodec X ) 174 vaapi? ( avcodec X )
173 vlm? ( encode ) 175 vlm? ( encode )
176 xosd? ( X )
174 xv? ( xcb ) 177 xv? ( xcb )
175" 178"
176 179
177S="${WORKDIR}/${MY_P}" 180S="${WORKDIR}/${MY_P}"
178 181
219 $(use_enable directx) \ 222 $(use_enable directx) \
220 $(use_enable dc1394) \ 223 $(use_enable dc1394) \
221 $(use_enable debug) \ 224 $(use_enable debug) \
222 $(use_enable dshow) \ 225 $(use_enable dshow) \
223 $(use_enable dts dca) \ 226 $(use_enable dts dca) \
224 $(use_enable dvb dvbpsi) \ 227 $(use_enable dvbpsi) \
225 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ 228 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \
226 $(use_enable dxva2) \ 229 $(use_enable dxva2) \
227 $(use_enable egl) \ 230 $(use_enable egl) \
228 $(use_enable encode sout) \ 231 $(use_enable encode sout) \
229 $(use_enable fbosd) \ 232 $(use_enable fbosd) \
246 $(use_enable libnotify notify) \ 249 $(use_enable libnotify notify) \
247 $(use_enable libproxy) \ 250 $(use_enable libproxy) \
248 $(use_enable libsamplerate samplerate) \ 251 $(use_enable libsamplerate samplerate) \
249 $(use_enable libtar) \ 252 $(use_enable libtar) \
250 $(use_enable libtiger tiger) \ 253 $(use_enable libtiger tiger) \
251 $(use_enable libv4l2) \
252 $(use_enable linsys) \ 254 $(use_enable linsys) \
253 $(use_enable lirc) \ 255 $(use_enable lirc) \
254 $(use_enable live live555) \ 256 $(use_enable live live555) \
255 $(use_enable lua) \ 257 $(use_enable lua) \
256 $(use_enable macosx-audio) \ 258 $(use_enable macosx-audio) \
257 $(use_enable macosx-dialog-provider) \ 259 $(use_enable macosx-dialog-provider) \
258 $(use_enable macosx-eyetv) \ 260 $(use_enable macosx-eyetv) \
259 $(use_enable macosx-qtcapture) \ 261 $(use_enable macosx-qtkit) \
260 $(use_enable macosx-quartztext) \ 262 $(use_enable macosx-quartztext) \
261 $(use_enable macosx-vout) \ 263 $(use_enable macosx-vout) \
262 $(use_enable matroska mkv) \ 264 $(use_enable matroska mkv) \
263 $(use_enable media-library) \ 265 $(use_enable media-library) \
264 $(use_enable mmx) \ 266 $(use_enable mmx) \
273 $(use_enable omxil) \ 275 $(use_enable omxil) \
274 $(use_enable opengl glx) \ 276 $(use_enable opengl glx) \
275 $(use_enable optimisememory optimize-memory) \ 277 $(use_enable optimisememory optimize-memory) \
276 $(use_enable oss) \ 278 $(use_enable oss) \
277 $(use_enable png) \ 279 $(use_enable png) \
278 $(use_enable portaudio) \
279 $(use_enable postproc) \ 280 $(use_enable postproc) \
280 $(use_enable projectm) \ 281 $(use_enable projectm) \
281 $(use_enable pulseaudio pulse) \ 282 $(use_enable pulseaudio pulse) \
282 $(use_enable pvr) \ 283 $(use_enable pvr) \
283 $(use_enable qt4) \ 284 $(use_enable qt4) \
301 $(use_enable theora) \ 302 $(use_enable theora) \
302 $(use_enable truetype freetype) \ 303 $(use_enable truetype freetype) \
303 $(use_enable twolame) \ 304 $(use_enable twolame) \
304 $(use_enable udev) \ 305 $(use_enable udev) \
305 $(use_enable upnp) \ 306 $(use_enable upnp) \
307 $(use_enable v4l v4l2) \
308 $(use_enable vaapi libva) \
306 $(use_enable vcdx) \ 309 $(use_enable vcdx) \
307 $(use_enable vaapi libva) \
308 $(use_enable vlm) \ 310 $(use_enable vlm) \
309 $(use_enable vorbis) \ 311 $(use_enable vorbis) \
310 $(use_enable waveout) \ 312 $(use_enable waveout) \
311 $(use_enable win32codecs loader) \ 313 $(use_enable win32codecs loader) \
312 $(use_enable wingdi) \ 314 $(use_enable wingdi) \
317 $(use_enable xml libxml2) \ 319 $(use_enable xml libxml2) \
318 $(use_enable xosd) \ 320 $(use_enable xosd) \
319 $(use_enable xv xvideo) \ 321 $(use_enable xv xvideo) \
320 $(use_enable zvbi) $(use_enable !zvbi telx) \ 322 $(use_enable zvbi) $(use_enable !zvbi telx) \
321 --disable-optimizations \ 323 --disable-optimizations \
324 --without-tuning \
322 --enable-fast-install 325 --enable-fast-install
323} 326}
324 327
325src_install() { 328src_install() {
326 emake DESTDIR="${D}" install || die "make install failed" 329 emake DESTDIR="${D}" install || die "make install failed"

Legend:
Removed from v.1.148  
changed lines
  Added in v.1.165

  ViewVC Help
Powered by ViewVC 1.1.20