/[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.128 Revision 1.146
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.128 2011/02/22 13:53:01 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.146 2011/09/08 18:16:38 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="101"
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 libtar lirc live lua +macosx +macosx-audio 53 libproxy libtiger libv4l2 linsys libtar lirc live lua +macosx +macosx-audio
54 +macosx-dialog-provider +macosx-eyetv +macosx-quartztext +macosx-qtcapture 54 +macosx-dialog-provider +macosx-eyetv +macosx-quartztext +macosx-qtcapture
55 +macosx-vout matroska media-library mmx modplug mp3 mpeg mtp musepack 55 +macosx-vout matroska media-library mmx modplug mp3 mpeg mtp musepack
56 ncurses neon ogg omxil opengl optimisememory oss png portaudio +postproc 56 ncurses neon ogg omxil opengl optimisememory oss png portaudio +postproc
57 projectm pulseaudio pvr +qt4 rtsp run-as-root samba schroedinger sdl 57 projectm pulseaudio pvr +qt4 rtsp run-as-root samba schroedinger sdl
58 sdl-image shine shout sid skins snapshot speex sqlite sse svg +swscale 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 59 switcher taglib theora truetype twolame udev upnp vaapi vcdx vlm vorbis
60 waveout win32codecs wingdi wma-fixed +X x264 +xcb xml xosd xv zvbi" 60 waveout win32codecs wingdi wma-fixed +X x264 +xcb xml xosd xv 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 libtar? ( >=dev-libs/libtar-1.2.11-r3 )
99 libtiger? ( media-libs/libtiger ) 99 libtiger? ( media-libs/libtiger )
111 ncurses? ( sys-libs/ncurses ) 111 ncurses? ( sys-libs/ncurses )
112 ogg? ( media-libs/libogg ) 112 ogg? ( media-libs/libogg )
113 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] ) )
114 png? ( media-libs/libpng sys-libs/zlib ) 114 png? ( media-libs/libpng sys-libs/zlib )
115 portaudio? ( >=media-libs/portaudio-19_pre ) 115 portaudio? ( >=media-libs/portaudio-19_pre )
116 postproc? ( >=media-video/ffmpeg-0.6 ) 116 postproc? ( virtual/ffmpeg )
117 projectm? ( media-libs/libprojectm ) 117 projectm? ( media-libs/libprojectm )
118 pulseaudio? ( >=media-sound/pulseaudio-0.9.22 ) 118 pulseaudio? ( >=media-sound/pulseaudio-0.9.22 )
119 qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 ) 119 qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 )
120 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 ) )
121 schroedinger? ( >=media-libs/schroedinger-1.0.6 ) 121 schroedinger? ( >=media-libs/schroedinger-1.0.10 )
122 sdl? ( >=media-libs/libsdl-1.2.8 122 sdl? ( >=media-libs/libsdl-1.2.8
123 sdl-image? ( media-libs/sdl-image sys-libs/zlib ) ) 123 sdl-image? ( media-libs/sdl-image sys-libs/zlib ) )
124 shout? ( media-libs/libshout ) 124 shout? ( media-libs/libshout )
125 sid? ( media-libs/libsidplay:2 ) 125 sid? ( media-libs/libsidplay:2 )
126 skins? ( x11-libs/libXext x11-libs/libXpm ) 126 skins? ( x11-libs/libXext x11-libs/libXpm )
127 speex? ( media-libs/speex ) 127 speex? ( media-libs/speex )
128 sqlite? ( >=dev-db/sqlite-3.6.0:3 ) 128 sqlite? ( >=dev-db/sqlite-3.6.0:3 )
129 svg? ( >=gnome-base/librsvg-2.9.0 ) 129 svg? ( >=gnome-base/librsvg-2.9.0 )
130 swscale? ( >=media-video/ffmpeg-0.6 ) 130 swscale? ( virtual/ffmpeg )
131 taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib ) 131 taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib )
132 theora? ( >=media-libs/libtheora-1.0_beta3 ) 132 theora? ( >=media-libs/libtheora-1.0_beta3 )
133 truetype? ( media-libs/freetype media-fonts/dejavu ) 133 truetype? ( media-libs/freetype media-fonts/dejavu )
134 twolame? ( media-sound/twolame ) 134 twolame? ( media-sound/twolame )
135 udev? ( >=sys-fs/udev-142 ) 135 udev? ( >=sys-fs/udev-142 )
139 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 )
140 vorbis? ( media-libs/libvorbis ) 140 vorbis? ( media-libs/libvorbis )
141 win32codecs? ( media-libs/win32codecs ) 141 win32codecs? ( media-libs/win32codecs )
142 X? ( x11-libs/libX11 ) 142 X? ( x11-libs/libX11 )
143 x264? ( >=media-libs/x264-0.0.20090923 ) 143 x264? ( >=media-libs/x264-0.0.20090923 )
144 xcb? ( >=x11-libs/libxcb-1.1.90.1 >=x11-libs/xcb-util-0.3.4 ) 144 xcb? ( >=x11-libs/libxcb-1.6 >=x11-libs/xcb-util-0.3.4 )
145 xml? ( dev-libs/libxml2 ) 145 xml? ( dev-libs/libxml2 )
146 xosd? ( x11-libs/xosd ) 146 xosd? ( x11-libs/xosd )
147 zvbi? ( >=media-libs/zvbi-0.2.25 ) 147 zvbi? ( >=media-libs/zvbi-0.2.25 )
148 " 148 "
149 149
150DEPEND="${RDEPEND} 150DEPEND="${RDEPEND}
151 !!<=media-video/vlc-1.1.99999
152 alsa? ( >=media-sound/alsa-headers-1.0.23 ) 151 alsa? ( >=media-sound/alsa-headers-1.0.23 )
153 dvb? ( sys-kernel/linux-headers )
154 fbosd? ( sys-kernel/linux-headers ) 152 fbosd? ( sys-kernel/linux-headers )
155 kde? ( >=kde-base/kdelibs-4 ) 153 kde? ( >=kde-base/kdelibs-4 )
156 v4l2? ( >=sys-kernel/linux-headers-2.6.25 )
157 xcb? ( x11-proto/xproto ) 154 xcb? ( x11-proto/xproto )
158 dev-util/pkgconfig" 155 dev-util/pkgconfig"
159 156
160REQUIRED_USE=" 157REQUIRED_USE="
161 aalib? ( X ) 158 aalib? ( X )
162 bidi? ( truetype ) 159 bidi? ( truetype )
163 cddb? ( cdda ) 160 cddb? ( cdda )
164 dvb? ( dvbpsi )
165 dxva2? ( avcodec ) 161 dxva2? ( avcodec )
166 egl? ( X ) 162 egl? ( X )
167 ffmpeg? ( avcodec avformat postproc swscale ) 163 ffmpeg? ( avcodec avformat postproc swscale )
168 fontconfig? ( truetype ) 164 fontconfig? ( truetype )
169 gnutls? ( gcrypt ) 165 gnutls? ( gcrypt )
170 libtar? ( skins ) 166 libtar? ( skins )
171 libtiger? ( kate ) 167 libtiger? ( kate )
172 libv4l2? ( v4l2 )
173 media-library? ( sqlite ) 168 media-library? ( sqlite )
174 qt4? ( X ) 169 qt4? ( X )
175 sdl? ( X ) 170 sdl? ( X )
176 skins? ( truetype qt4 X ) 171 skins? ( truetype qt4 X )
177 switcher? ( avcodec ) 172 switcher? ( avcodec )
215 $(use_enable atmo) \ 210 $(use_enable atmo) \
216 $(use_enable audioqueue) \ 211 $(use_enable audioqueue) \
217 $(use_enable avahi bonjour) \ 212 $(use_enable avahi bonjour) \
218 $(use_enable avcodec) \ 213 $(use_enable avcodec) \
219 $(use_enable avformat) \ 214 $(use_enable avformat) \
220 $(use_enable bda) \
221 $(use_enable bidi fribidi) \ 215 $(use_enable bidi fribidi) \
222 $(use_enable bluray) \ 216 $(use_enable bluray) \
223 $(use_enable cdda vcd) \ 217 $(use_enable cdda vcd) \
224 $(use_enable cddb libcddb) \ 218 $(use_enable cddb libcddb) \
225 $(use_enable dbus) $(use_enable dbus dbus-control) \ 219 $(use_enable dbus) $(use_enable dbus dbus-control) \
229 $(use_enable directx) \ 223 $(use_enable directx) \
230 $(use_enable dc1394) \ 224 $(use_enable dc1394) \
231 $(use_enable debug) \ 225 $(use_enable debug) \
232 $(use_enable dshow) \ 226 $(use_enable dshow) \
233 $(use_enable dts dca) \ 227 $(use_enable dts dca) \
234 $(use_enable dvb) \
235 $(use_enable dvbpsi) \ 228 $(use_enable dvb dvbpsi) \
236 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ 229 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \
237 $(use_enable dxva2) \ 230 $(use_enable dxva2) \
238 $(use_enable egl) \ 231 $(use_enable egl) \
239 $(use_enable encode sout) \ 232 $(use_enable encode sout) \
240 $(use_enable fbcon fb) \
241 $(use_enable fbosd) \ 233 $(use_enable fbosd) \
242 $(use_enable flac) \ 234 $(use_enable flac) \
243 $(use_enable fluidsynth) \ 235 $(use_enable fluidsynth) \
244 $(use_enable fontconfig) \ 236 $(use_enable fontconfig) \
245 $(use_enable gme) \ 237 $(use_enable gme) \
300 $(use_enable sdl-image) \ 292 $(use_enable sdl-image) \
301 $(use_enable shine) \ 293 $(use_enable shine) \
302 $(use_enable sid) \ 294 $(use_enable sid) \
303 $(use_enable shout) \ 295 $(use_enable shout) \
304 $(use_enable skins skins2) \ 296 $(use_enable skins skins2) \
305 $(use_enable snapshot) \
306 $(use_enable speex) \ 297 $(use_enable speex) \
307 $(use_enable sqlite) \ 298 $(use_enable sqlite) \
308 $(use_enable sse) \ 299 $(use_enable sse) \
309 $(use_enable svg) \ 300 $(use_enable svg) \
310 $(use_enable switcher) \ 301 $(use_enable switcher) \
313 $(use_enable theora) \ 304 $(use_enable theora) \
314 $(use_enable truetype freetype) \ 305 $(use_enable truetype freetype) \
315 $(use_enable twolame) \ 306 $(use_enable twolame) \
316 $(use_enable udev) \ 307 $(use_enable udev) \
317 $(use_enable upnp) \ 308 $(use_enable upnp) \
318 $(use_enable v4l2) \
319 $(use_enable vcdx) \ 309 $(use_enable vcdx) \
320 $(use_enable vaapi libva) \ 310 $(use_enable vaapi libva) \
321 $(use_enable vlm) \ 311 $(use_enable vlm) \
322 $(use_enable vorbis) \ 312 $(use_enable vorbis) \
323 $(use_enable waveout) \ 313 $(use_enable waveout) \
336} 326}
337 327
338src_install() { 328src_install() {
339 emake DESTDIR="${D}" install || die "make install failed" 329 emake DESTDIR="${D}" install || die "make install failed"
340 330
341 dodoc AUTHORS HACKING THANKS NEWS README \ 331 dodoc AUTHORS THANKS NEWS README \
342 doc/fortunes.txt doc/intf-vcd.txt 332 doc/fortunes.txt doc/intf-vcd.txt
343 333
344 # Punt useless libtool's .la files 334 # Punt useless libtool's .la files
345 find "${D}" -name '*.la' -delete 335 find "${D}" -name '*.la' -delete
346} 336}

Legend:
Removed from v.1.128  
changed lines
  Added in v.1.146

  ViewVC Help
Powered by ViewVC 1.1.20