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

Legend:
Removed from v.1.120  
changed lines
  Added in v.1.142

  ViewVC Help
Powered by ViewVC 1.1.20