/[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.119 Revision 1.143
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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.119 2011/02/16 20:45:26 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.143 2011/05/30 16:52:43 aballier Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
21 21
22MY_PV="${PV/_/-}" 22MY_PV="${PV/_/-}"
23MY_PV="${MY_PV/-beta/-test}" 23MY_PV="${MY_PV/-beta/-test}"
24MY_P="${PN}-${MY_PV}" 24MY_P="${PN}-${MY_PV}"
25 25
26PATCHLEVEL="89" 26PATCHLEVEL="96"
27DESCRIPTION="VLC media player - Video player and streamer" 27DESCRIPTION="VLC media player - Video player and streamer"
28HOMEPAGE="http://www.videolan.org/vlc/" 28HOMEPAGE="http://www.videolan.org/vlc/"
29if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild 29if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
30 SRC_URI="" 30 SRC_URI=""
31elif [[ "${MY_P}" == "${P}" ]]; then 31elif [[ "${MY_P}" == "${P}" ]]; then
43if [ "${PV%9999}" = "${PV}" ] ; then 43if [ "${PV%9999}" = "${PV}" ] ; then
44 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" 44 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
45else 45else
46 KEYWORDS="" 46 KEYWORDS=""
47fi 47fi
48IUSE="a52 aac aalib alsa altivec atmo +audioqueue avahi bda bidi bluray cdda 48IUSE="a52 aac aalib alsa altivec atmo +audioqueue avahi +avcodec
49 cddb dbus dc1394 debug dirac direct2d directfb directx dshow dts dvb +dvbpsi 49 +avformat bidi bluray cdda cddb dbus dc1394 debug dirac direct2d
50 dvd dxva2 elibc_glibc egl +encode fbcon fbosd fluidsynth +ffmpeg flac fontconfig 50 directfb directx dshow dts dvb dvd dxva2 elibc_glibc egl +encode
51 +gcrypt gme gnome gnutls growl httpd ieee1394 ios-vout jack kate kde libass 51 fbosd fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls
52 libcaca libnotify libproxy libtiger libv4l2 linsys lirc live lua +macosx 52 growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify
53 libproxy libtiger libv4l2 linsys libtar lirc live lua +macosx +macosx-audio
53 +macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext 54 +macosx-dialog-provider +macosx-eyetv +macosx-quartztext +macosx-qtcapture
54 +macosx-qtcapture +macosx-vout matroska mmx modplug mp3 mpeg mtp musepack 55 +macosx-vout matroska media-library mmx modplug mp3 mpeg mtp musepack
55 ncurses ogg omxil opengl optimisememory oss png projectm pulseaudio pvr +qt4 56 ncurses neon ogg omxil opengl optimisememory oss png portaudio +postproc
56 rtsp run-as-root samba schroedinger sdl sdl-image shine shout sid skins 57 projectm pulseaudio pvr +qt4 rtsp run-as-root samba schroedinger sdl
57 speex sqlite sse svg switcher taglib theora truetype twolame udev upnp v4l2 58 sdl-image shine shout sid skins speex sqlite sse svg +swscale
59 switcher taglib theora truetype twolame udev upnp v4l2 vaapi vcdx vlm vorbis
58 vaapi vcdx vlm vorbis waveout win32codecs wingdi wma-fixed +X x264 +xcb xml 60 waveout win32codecs wingdi wma-fixed +X x264 +xcb xml xosd xv zvbi"
59 xosd xv zvbi"
60 61
61RDEPEND=" 62RDEPEND="
62 sys-libs/zlib 63 sys-libs/zlib
63 a52? ( >=media-libs/a52dec-0.7.4-r3 ) 64 a52? ( >=media-libs/a52dec-0.7.4-r3 )
64 aalib? ( media-libs/aalib ) 65 aalib? ( media-libs/aalib )
65 aac? ( >=media-libs/faad2-2.6.1 ) 66 aac? ( >=media-libs/faad2-2.6.1 )
66 alsa? ( >=media-libs/alsa-lib-1.0.23 ) 67 alsa? ( >=media-libs/alsa-lib-1.0.23 )
67 avahi? ( >=net-dns/avahi-0.6[dbus] ) 68 avahi? ( >=net-dns/avahi-0.6[dbus] )
69 avcodec? ( virtual/ffmpeg )
70 avformat? ( virtual/ffmpeg )
68 bidi? ( >=dev-libs/fribidi-0.10.4 ) 71 bidi? ( >=dev-libs/fribidi-0.10.4 )
69 bluray? ( media-libs/libbluray ) 72 bluray? ( media-libs/libbluray >=dev-libs/libxml2-2.6:2 )
70 cddb? ( >=media-libs/libcddb-1.2.0 ) 73 cddb? ( >=media-libs/libcddb-1.2.0 )
71 dbus? ( >=sys-apps/dbus-1.0.2 ) 74 dbus? ( >=sys-apps/dbus-1.0.2 )
72 dc1394? ( >=sys-libs/libraw1394-2.0.1 >=media-libs/libdc1394-2.0.2 ) 75 dc1394? ( >=sys-libs/libraw1394-2.0.1 >=media-libs/libdc1394-2.0.2 )
73 dirac? ( >=media-video/dirac-0.10.0 ) 76 dirac? ( >=media-video/dirac-0.10.0 )
74 directfb? ( dev-libs/DirectFB sys-libs/zlib ) 77 directfb? ( dev-libs/DirectFB sys-libs/zlib )
75 dts? ( media-libs/libdca ) 78 dts? ( media-libs/libdca )
76 dvbpsi? ( >=media-libs/libdvbpsi-0.1.6 ) 79 dvb? ( >=media-libs/libdvbpsi-0.1.6 )
77 dvd? ( media-libs/libdvdread >=media-libs/libdvdnav-0.1.9 ) 80 dvd? ( media-libs/libdvdread >=media-libs/libdvdnav-0.1.9 )
78 egl? ( virtual/opengl ) 81 egl? ( virtual/opengl )
79 elibc_glibc? ( >=sys-libs/glibc-2.8 ) 82 elibc_glibc? ( >=sys-libs/glibc-2.8 )
80 ffmpeg? ( >=media-video/ffmpeg-0.6 )
81 flac? ( media-libs/libogg >=media-libs/flac-1.1.2 ) 83 flac? ( media-libs/libogg >=media-libs/flac-1.1.2 )
82 fluidsynth? ( media-sound/fluidsynth ) 84 fluidsynth? ( media-sound/fluidsynth )
83 fontconfig? ( media-libs/fontconfig ) 85 fontconfig? ( media-libs/fontconfig )
84 gcrypt? ( >=dev-libs/libgcrypt-1.2.0 ) 86 gcrypt? ( >=dev-libs/libgcrypt-1.2.0 )
85 gme? ( media-libs/game-music-emu ) 87 gme? ( media-libs/game-music-emu )
86 gnome? ( gnome-base/gnome-vfs ) 88 gnome? ( gnome-base/gnome-vfs )
87 gnutls? ( >=net-libs/gnutls-1.7.4 ) 89 gnutls? ( >=net-libs/gnutls-2.0.0 )
88 ieee1394? ( >=sys-libs/libraw1394-2.0.1 >=sys-libs/libavc1394-0.5.3 ) 90 ieee1394? ( >=sys-libs/libraw1394-2.0.1 >=sys-libs/libavc1394-0.5.3 )
89 ios-vout? ( virtual/opengl ) 91 ios-vout? ( virtual/opengl )
90 jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 ) 92 jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 )
91 kate? ( >=media-libs/libkate-0.1.1 ) 93 kate? ( >=media-libs/libkate-0.1.1 )
92 libass? ( >=media-libs/libass-0.9.6 media-libs/fontconfig ) 94 libass? ( >=media-libs/libass-0.9.8 media-libs/fontconfig )
93 libcaca? ( >=media-libs/libcaca-0.99_beta14 ) 95 libcaca? ( >=media-libs/libcaca-0.99_beta14 )
94 libnotify? ( x11-libs/libnotify x11-libs/gtk+:2 ) 96 libnotify? ( x11-libs/libnotify x11-libs/gtk+:2 )
95 libproxy? ( net-libs/libproxy ) 97 libproxy? ( net-libs/libproxy )
98 libtar? ( >=dev-libs/libtar-1.2.11-r3 )
96 libtiger? ( media-libs/libtiger ) 99 libtiger? ( media-libs/libtiger )
97 linsys? ( >=media-libs/zvbi-0.2.28 ) 100 linsys? ( >=media-libs/zvbi-0.2.28 )
98 lirc? ( app-misc/lirc ) 101 lirc? ( app-misc/lirc )
99 live? ( >=media-plugins/live-2010.10.15 ) 102 live? ( >=media-plugins/live-2010.10.15 )
100 lua? ( >=dev-lang/lua-5.1 ) 103 lua? ( >=dev-lang/lua-5.1 )
107 musepack? ( >=media-sound/musepack-tools-444 ) 110 musepack? ( >=media-sound/musepack-tools-444 )
108 ncurses? ( sys-libs/ncurses ) 111 ncurses? ( sys-libs/ncurses )
109 ogg? ( media-libs/libogg ) 112 ogg? ( media-libs/libogg )
110 opengl? ( virtual/opengl || ( >=x11-libs/libX11-1.3.99.901 <x11-libs/libX11-1.3.99.901[xcb] ) ) 113 opengl? ( virtual/opengl || ( >=x11-libs/libX11-1.3.99.901 <x11-libs/libX11-1.3.99.901[xcb] ) )
111 png? ( media-libs/libpng sys-libs/zlib ) 114 png? ( media-libs/libpng sys-libs/zlib )
115 portaudio? ( >=media-libs/portaudio-19_pre )
116 postproc? ( virtual/ffmpeg )
112 projectm? ( media-libs/libprojectm ) 117 projectm? ( media-libs/libprojectm )
113 pulseaudio? ( >=media-sound/pulseaudio-0.9.22 ) 118 pulseaudio? ( >=media-sound/pulseaudio-0.9.22 )
114 qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 ) 119 qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 )
115 samba? ( || ( >=net-fs/samba-3.4.6[smbclient] <net-fs/samba-3.4 ) ) 120 samba? ( || ( >=net-fs/samba-3.4.6[smbclient] <net-fs/samba-3.4 ) )
116 schroedinger? ( >=media-libs/schroedinger-1.0.6 ) 121 schroedinger? ( >=media-libs/schroedinger-1.0.10 )
117 sdl? ( >=media-libs/libsdl-1.2.8 122 sdl? ( >=media-libs/libsdl-1.2.8
118 sdl-image? ( media-libs/sdl-image sys-libs/zlib ) ) 123 sdl-image? ( media-libs/sdl-image sys-libs/zlib ) )
119 shout? ( media-libs/libshout ) 124 shout? ( media-libs/libshout )
120 sid? ( media-libs/libsidplay:2 ) 125 sid? ( media-libs/libsidplay:2 )
121 skins? ( x11-libs/libXext x11-libs/libXpm ) 126 skins? ( x11-libs/libXext x11-libs/libXpm )
122 speex? ( media-libs/speex ) 127 speex? ( media-libs/speex )
123 sqlite? ( >=dev-db/sqlite-3.6.0:3 ) 128 sqlite? ( >=dev-db/sqlite-3.6.0:3 )
124 svg? ( >=gnome-base/librsvg-2.9.0 ) 129 svg? ( >=gnome-base/librsvg-2.9.0 )
130 swscale? ( virtual/ffmpeg )
125 taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib ) 131 taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib )
126 theora? ( >=media-libs/libtheora-1.0_beta3 ) 132 theora? ( >=media-libs/libtheora-1.0_beta3 )
127 truetype? ( media-libs/freetype media-fonts/dejavu ) 133 truetype? ( media-libs/freetype media-fonts/dejavu )
128 twolame? ( media-sound/twolame ) 134 twolame? ( media-sound/twolame )
129 udev? ( >=sys-fs/udev-142 ) 135 udev? ( >=sys-fs/udev-142 )
133 vcdx? ( >=dev-libs/libcdio-0.78.2 >=media-video/vcdimager-0.7.22 ) 139 vcdx? ( >=dev-libs/libcdio-0.78.2 >=media-video/vcdimager-0.7.22 )
134 vorbis? ( media-libs/libvorbis ) 140 vorbis? ( media-libs/libvorbis )
135 win32codecs? ( media-libs/win32codecs ) 141 win32codecs? ( media-libs/win32codecs )
136 X? ( x11-libs/libX11 ) 142 X? ( x11-libs/libX11 )
137 x264? ( >=media-libs/x264-0.0.20090923 ) 143 x264? ( >=media-libs/x264-0.0.20090923 )
138 xcb? ( x11-libs/libxcb x11-libs/xcb-util ) 144 xcb? ( >=x11-libs/libxcb-1.6 >=x11-libs/xcb-util-0.3.4 )
139 xml? ( dev-libs/libxml2 ) 145 xml? ( dev-libs/libxml2 )
140 xosd? ( x11-libs/xosd ) 146 xosd? ( x11-libs/xosd )
141 zvbi? ( >=media-libs/zvbi-0.2.25 ) 147 zvbi? ( >=media-libs/zvbi-0.2.25 )
142 " 148 "
143 149
144DEPEND="${RDEPEND} 150DEPEND="${RDEPEND}
145 !!<=media-video/vlc-1.1.99999
146 alsa? ( >=media-sound/alsa-headers-1.0.23 ) 151 alsa? ( >=media-sound/alsa-headers-1.0.23 )
147 dvb? ( sys-kernel/linux-headers )
148 fbosd? ( sys-kernel/linux-headers ) 152 fbosd? ( sys-kernel/linux-headers )
149 kde? ( >=kde-base/kdelibs-4 ) 153 kde? ( >=kde-base/kdelibs-4 )
150 v4l2? ( >=sys-kernel/linux-headers-2.6.25 ) 154 v4l2? ( >=sys-kernel/linux-headers-2.6.25 )
151 xcb? ( x11-proto/xproto ) 155 xcb? ( x11-proto/xproto )
152 dev-util/pkgconfig" 156 dev-util/pkgconfig"
153 157
154REQUIRED_USE=" 158REQUIRED_USE="
159 aalib? ( X )
155 bidi? ( truetype ) 160 bidi? ( truetype )
156 cddb? ( cdda ) 161 cddb? ( cdda )
157 dvb? ( dvbpsi ) 162 dxva2? ( avcodec )
158 dxva2? ( ffmpeg ) 163 egl? ( X )
164 ffmpeg? ( avcodec avformat postproc swscale )
159 fontconfig? ( truetype ) 165 fontconfig? ( truetype )
160 gnutls? ( gcrypt ) 166 gnutls? ( gcrypt )
167 libtar? ( skins )
161 libtiger? ( kate ) 168 libtiger? ( kate )
162 libv4l2? ( v4l2 ) 169 libv4l2? ( v4l2 )
170 media-library? ( sqlite )
163 qt4? ( X ) 171 qt4? ( X )
172 sdl? ( X )
164 skins? ( truetype qt4 X ) 173 skins? ( truetype qt4 X )
165 switcher? ( ffmpeg ) 174 switcher? ( avcodec )
166 vaapi? ( ffmpeg ) 175 vaapi? ( avcodec X )
167 vlm? ( encode ) 176 vlm? ( encode )
168 xv? ( xcb ) 177 xv? ( xcb )
169" 178"
170 179
171S="${WORKDIR}/${MY_P}" 180S="${WORKDIR}/${MY_P}"
201 $(use_enable alsa) \ 210 $(use_enable alsa) \
202 $(use_enable altivec) \ 211 $(use_enable altivec) \
203 $(use_enable atmo) \ 212 $(use_enable atmo) \
204 $(use_enable audioqueue) \ 213 $(use_enable audioqueue) \
205 $(use_enable avahi bonjour) \ 214 $(use_enable avahi bonjour) \
206 $(use_enable bda) \ 215 $(use_enable avcodec) \
216 $(use_enable avformat) \
207 $(use_enable bidi fribidi) \ 217 $(use_enable bidi fribidi) \
208 $(use_enable bluray) \ 218 $(use_enable bluray) \
209 $(use_enable cdda vcd) \ 219 $(use_enable cdda vcd) \
210 $(use_enable cddb libcddb) \ 220 $(use_enable cddb libcddb) \
211 $(use_enable dbus) $(use_enable dbus dbus-control) \ 221 $(use_enable dbus) $(use_enable dbus dbus-control) \
215 $(use_enable directx) \ 225 $(use_enable directx) \
216 $(use_enable dc1394) \ 226 $(use_enable dc1394) \
217 $(use_enable debug) \ 227 $(use_enable debug) \
218 $(use_enable dshow) \ 228 $(use_enable dshow) \
219 $(use_enable dts dca) \ 229 $(use_enable dts dca) \
220 $(use_enable dvb) \
221 $(use_enable dvbpsi) \ 230 $(use_enable dvb dvbpsi) \
222 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ 231 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \
223 $(use_enable dxva2) \ 232 $(use_enable dxva2) \
224 $(use_enable egl) \ 233 $(use_enable egl) \
225 $(use_enable encode sout) \ 234 $(use_enable encode sout) \
226 $(use_enable fbcon fb) \
227 $(use_enable fbosd) \ 235 $(use_enable fbosd) \
228 $(use_enable ffmpeg avcodec) $(use_enable ffmpeg avformat) $(use_enable ffmpeg swscale) $(use_enable ffmpeg postproc) \
229 $(use_enable flac) \ 236 $(use_enable flac) \
230 $(use_enable fluidsynth) \ 237 $(use_enable fluidsynth) \
231 $(use_enable fontconfig) \ 238 $(use_enable fontconfig) \
232 $(use_enable gme) \ 239 $(use_enable gme) \
233 $(use_enable gnome gnomevfs) \ 240 $(use_enable gnome gnomevfs) \
242 $(use_enable libass) \ 249 $(use_enable libass) \
243 $(use_enable libcaca caca) \ 250 $(use_enable libcaca caca) \
244 $(use_enable gcrypt libgcrypt) \ 251 $(use_enable gcrypt libgcrypt) \
245 $(use_enable libnotify notify) \ 252 $(use_enable libnotify notify) \
246 $(use_enable libproxy) \ 253 $(use_enable libproxy) \
247 --disable-libtar \ 254 $(use_enable libtar) \
248 $(use_enable libtiger tiger) \ 255 $(use_enable libtiger tiger) \
249 $(use_enable libv4l2) \ 256 $(use_enable libv4l2) \
250 $(use_enable linsys) \ 257 $(use_enable linsys) \
251 $(use_enable lirc) \ 258 $(use_enable lirc) \
252 $(use_enable live live555) \ 259 $(use_enable live live555) \
256 $(use_enable macosx-eyetv) \ 263 $(use_enable macosx-eyetv) \
257 $(use_enable macosx-qtcapture) \ 264 $(use_enable macosx-qtcapture) \
258 $(use_enable macosx-quartztext) \ 265 $(use_enable macosx-quartztext) \
259 $(use_enable macosx-vout) \ 266 $(use_enable macosx-vout) \
260 $(use_enable matroska mkv) \ 267 $(use_enable matroska mkv) \
268 $(use_enable media-library) \
261 $(use_enable mmx) \ 269 $(use_enable mmx) \
262 $(use_enable modplug mod) \ 270 $(use_enable modplug mod) \
263 $(use_enable mp3 mad) \ 271 $(use_enable mp3 mad) \
264 $(use_enable mpeg libmpeg2) \ 272 $(use_enable mpeg libmpeg2) \
265 $(use_enable mtp) \ 273 $(use_enable mtp) \
266 $(use_enable musepack mpc) \ 274 $(use_enable musepack mpc) \
267 $(use_enable ncurses) \ 275 $(use_enable ncurses) \
276 $(use_enable neon) \
268 $(use_enable ogg) \ 277 $(use_enable ogg) \
269 $(use_enable omxil) \ 278 $(use_enable omxil) \
270 $(use_enable opengl glx) \ 279 $(use_enable opengl glx) \
271 $(use_enable optimisememory optimize-memory) \ 280 $(use_enable optimisememory optimize-memory) \
272 $(use_enable oss) \ 281 $(use_enable oss) \
273 $(use_enable png) \ 282 $(use_enable png) \
274 --disable-portaudio \ 283 $(use_enable portaudio) \
284 $(use_enable postproc) \
275 $(use_enable projectm) \ 285 $(use_enable projectm) \
276 $(use_enable pulseaudio pulse) \ 286 $(use_enable pulseaudio pulse) \
277 $(use_enable pvr) \ 287 $(use_enable pvr) \
278 $(use_enable qt4) \ 288 $(use_enable qt4) \
279 $(use_enable rtsp realrtsp) \ 289 $(use_enable rtsp realrtsp) \
289 $(use_enable speex) \ 299 $(use_enable speex) \
290 $(use_enable sqlite) \ 300 $(use_enable sqlite) \
291 $(use_enable sse) \ 301 $(use_enable sse) \
292 $(use_enable svg) \ 302 $(use_enable svg) \
293 $(use_enable switcher) \ 303 $(use_enable switcher) \
304 $(use_enable swscale) \
294 $(use_enable taglib) \ 305 $(use_enable taglib) \
295 $(use_enable theora) \ 306 $(use_enable theora) \
296 $(use_enable truetype freetype) \ 307 $(use_enable truetype freetype) \
297 $(use_enable twolame) \ 308 $(use_enable twolame) \
298 $(use_enable udev) \ 309 $(use_enable udev) \
311 $(use_enable xcb) \ 322 $(use_enable xcb) \
312 $(use_enable xml libxml2) \ 323 $(use_enable xml libxml2) \
313 $(use_enable xosd) \ 324 $(use_enable xosd) \
314 $(use_enable xv xvideo) \ 325 $(use_enable xv xvideo) \
315 $(use_enable zvbi) $(use_enable !zvbi telx) \ 326 $(use_enable zvbi) $(use_enable !zvbi telx) \
316 --disable-snapshot \
317 --disable-optimizations \ 327 --disable-optimizations \
318 --enable-fast-install 328 --enable-fast-install
319} 329}
320 330
321src_install() { 331src_install() {

Legend:
Removed from v.1.119  
changed lines
  Added in v.1.143

  ViewVC Help
Powered by ViewVC 1.1.20