/[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.156 Revision 1.183
1# Copyright 1999-2011 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.156 2011/12/09 19:58:47 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.183 2013/03/02 22:44:15 hwoarang Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
19 19
20MY_PV="${PV/_/-}" 20MY_PV="${PV/_/-}"
21MY_PV="${MY_PV/-beta/-test}" 21MY_PV="${MY_PV/-beta/-test}"
22MY_P="${PN}-${MY_PV}" 22MY_P="${PN}-${MY_PV}"
23 23
24PATCHLEVEL="101" 24PATCHLEVEL="108"
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
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 ~amd64-fbsd ~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 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-qtkit +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 xv zvbi"
59 59
60RDEPEND=" 60RDEPEND="
61 >=sys-libs/zlib-1.2.5.1-r2[minizip] 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 )
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 ) 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 ) 114 postproc? ( || ( media-video/ffmpeg media-libs/libpostproc ) )
115 postproc? ( virtual/ffmpeg )
116 projectm? ( media-libs/libprojectm ) 115 projectm? ( media-libs/libprojectm media-fonts/dejavu )
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? ( dev-qt/qtgui:4 dev-qt/qtcore:4 )
119 samba? ( >=net-fs/samba-3.4.6[smbclient] ) 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 )
125 skins? ( x11-libs/libXext x11-libs/libXpm ) 124 skins? ( x11-libs/libXext x11-libs/libXpm x11-libs/libXinerama )
126 speex? ( media-libs/speex ) 125 speex? ( media-libs/speex )
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 virtual/ttf-fonts 131 truetype? ( media-libs/freetype virtual/ttf-fonts
133 !fontconfig? ( media-fonts/dejavu ) ) 132 !fontconfig? ( media-fonts/dejavu ) )
134 twolame? ( media-sound/twolame ) 133 twolame? ( media-sound/twolame )
135 udev? ( >=sys-fs/udev-142 ) 134 udev? ( virtual/udev )
136 upnp? ( net-libs/libupnp ) 135 upnp? ( net-libs/libupnp )
137 libv4l2? ( media-libs/libv4l ) 136 v4l? ( media-libs/libv4l )
138 vaapi? ( x11-libs/libva ) 137 vaapi? ( x11-libs/libva )
139 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 )
140 vorbis? ( media-libs/libvorbis ) 139 vorbis? ( media-libs/libvorbis )
141 win32codecs? ( media-libs/win32codecs ) 140 win32codecs? ( media-libs/win32codecs )
142 X? ( x11-libs/libX11 ) 141 X? ( x11-libs/libX11 )
143 x264? ( >=media-libs/x264-0.0.20090923 ) 142 x264? ( >=media-libs/x264-0.0.20090923 )
144 xcb? ( >=x11-libs/libxcb-1.6 >=x11-libs/xcb-util-0.3.4 ) 143 xcb? ( >=x11-libs/libxcb-1.6 >=x11-libs/xcb-util-0.3.4 )
145 xml? ( dev-libs/libxml2 ) 144 xml? ( dev-libs/libxml2 )
146 xosd? ( x11-libs/xosd )
147 zvbi? ( >=media-libs/zvbi-0.2.25 ) 145 zvbi? ( >=media-libs/zvbi-0.2.25 )
148 " 146 "
149 147
150DEPEND="${RDEPEND} 148DEPEND="${RDEPEND}
151 alsa? ( >=media-sound/alsa-headers-1.0.23 ) 149 alsa? ( >=media-sound/alsa-headers-1.0.23 )
152 fbosd? ( sys-kernel/linux-headers )
153 kde? ( >=kde-base/kdelibs-4 ) 150 kde? ( >=kde-base/kdelibs-4 )
154 xcb? ( x11-proto/xproto ) 151 xcb? ( x11-proto/xproto )
155 app-arch/xz-utils 152 app-arch/xz-utils
156 dev-util/pkgconfig" 153 virtual/pkgconfig"
157 154
158REQUIRED_USE=" 155REQUIRED_USE="
159 aalib? ( X ) 156 aalib? ( X )
160 bidi? ( truetype ) 157 bidi? ( truetype )
161 cddb? ( cdda ) 158 cddb? ( cdda )
159 dvb? ( dvbpsi )
162 dxva2? ( avcodec ) 160 dxva2? ( avcodec )
163 egl? ( X ) 161 egl? ( X )
164 ffmpeg? ( avcodec avformat postproc swscale ) 162 ffmpeg? ( avcodec avformat swscale postproc )
165 fontconfig? ( truetype ) 163 fontconfig? ( truetype )
166 gnutls? ( gcrypt ) 164 gnutls? ( gcrypt )
165 httpd? ( lua )
166 libcaca? ( X )
167 libtar? ( skins ) 167 libtar? ( skins )
168 libtiger? ( kate ) 168 libtiger? ( kate )
169 media-library? ( sqlite ) 169 media-library? ( sqlite )
170 qt4? ( X ) 170 qt4? ( X )
171 sdl? ( X ) 171 sdl? ( X )
172 skins? ( truetype qt4 X ) 172 skins? ( truetype qt4 X )
173 switcher? ( avcodec ) 173 switcher? ( avcodec )
174 vaapi? ( avcodec X ) 174 vaapi? ( avcodec X )
175 vlm? ( encode ) 175 vlm? ( encode )
176 xosd? ( X )
177 xv? ( xcb ) 176 xv? ( xcb )
178" 177"
179 178
180S="${WORKDIR}/${MY_P}" 179S="${WORKDIR}/${MY_P}"
181 180
222 $(use_enable directx) \ 221 $(use_enable directx) \
223 $(use_enable dc1394) \ 222 $(use_enable dc1394) \
224 $(use_enable debug) \ 223 $(use_enable debug) \
225 $(use_enable dshow) \ 224 $(use_enable dshow) \
226 $(use_enable dts dca) \ 225 $(use_enable dts dca) \
227 $(use_enable dvb dvbpsi) \ 226 $(use_enable dvbpsi) \
228 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ 227 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \
229 $(use_enable dxva2) \ 228 $(use_enable dxva2) \
230 $(use_enable egl) \ 229 $(use_enable egl) \
231 $(use_enable encode sout) \ 230 $(use_enable encode sout) \
232 $(use_enable fbosd) \
233 $(use_enable flac) \ 231 $(use_enable flac) \
234 $(use_enable fluidsynth) \ 232 $(use_enable fluidsynth) \
235 $(use_enable fontconfig) \ 233 $(use_enable fontconfig) \
236 $(use_enable gcrypt libgcrypt) \ 234 $(use_enable gcrypt libgcrypt) \
237 $(use_enable gme) \ 235 $(use_enable gme) \
238 $(use_enable gnome gnomevfs) \ 236 $(use_enable gnome gnomevfs) \
239 $(use_enable gnutls) \ 237 $(use_enable gnutls) \
240 $(use_enable growl) \ 238 $(use_enable growl) \
241 $(use_enable httpd) \ 239 $(use_enable httpd) \
242 $(use_enable ieee1394 dv) \ 240 $(use_enable ieee1394 dv1394) \
243 $(use_enable ios-vout) \ 241 $(use_enable ios-vout) \
244 $(use_enable jack) \ 242 $(use_enable jack) \
245 $(use_enable kate) \ 243 $(use_enable kate) \
246 $(use_with kde kde-solid) \ 244 $(use_with kde kde-solid) \
247 $(use_enable libass) \ 245 $(use_enable libass) \
249 $(use_enable libnotify notify) \ 247 $(use_enable libnotify notify) \
250 $(use_enable libproxy) \ 248 $(use_enable libproxy) \
251 $(use_enable libsamplerate samplerate) \ 249 $(use_enable libsamplerate samplerate) \
252 $(use_enable libtar) \ 250 $(use_enable libtar) \
253 $(use_enable libtiger tiger) \ 251 $(use_enable libtiger tiger) \
254 $(use_enable libv4l2) \
255 $(use_enable linsys) \ 252 $(use_enable linsys) \
256 $(use_enable lirc) \ 253 $(use_enable lirc) \
257 $(use_enable live live555) \ 254 $(use_enable live live555) \
258 $(use_enable lua) \ 255 $(use_enable lua) \
259 $(use_enable macosx-audio) \ 256 $(use_enable macosx-audio) \
270 $(use_enable mpeg libmpeg2) \ 267 $(use_enable mpeg libmpeg2) \
271 $(use_enable mtp) \ 268 $(use_enable mtp) \
272 $(use_enable musepack mpc) \ 269 $(use_enable musepack mpc) \
273 $(use_enable ncurses) \ 270 $(use_enable ncurses) \
274 $(use_enable neon) \ 271 $(use_enable neon) \
275 $(use_enable ogg) \ 272 $(use_enable ogg) $(use_enable ogg mux_ogg) \
276 $(use_enable omxil) \ 273 $(use_enable omxil) \
277 $(use_enable opengl glx) \ 274 $(use_enable opengl glx) \
278 $(use_enable optimisememory optimize-memory) \ 275 $(use_enable optimisememory optimize-memory) \
279 $(use_enable oss) \ 276 $(use_enable oss) \
280 $(use_enable png) \ 277 $(use_enable png) \
281 $(use_enable portaudio) \
282 $(use_enable postproc) \ 278 $(use_enable postproc) \
283 $(use_enable projectm) \ 279 $(use_enable projectm) \
284 $(use_enable pulseaudio pulse) \ 280 $(use_enable pulseaudio pulse) \
285 $(use_enable pvr) \ 281 $(use_enable pvr) \
286 $(use_enable qt4) \ 282 $(use_enable qt4 qt) \
287 $(use_enable rtsp realrtsp) \ 283 $(use_enable rtsp realrtsp) \
288 $(use_enable run-as-root) \ 284 $(use_enable run-as-root) \
289 $(use_enable samba smb) \ 285 $(use_enable samba smb) \
290 $(use_enable schroedinger) \ 286 $(use_enable schroedinger) \
291 $(use_enable sdl) \ 287 $(use_enable sdl) \
304 $(use_enable theora) \ 300 $(use_enable theora) \
305 $(use_enable truetype freetype) \ 301 $(use_enable truetype freetype) \
306 $(use_enable twolame) \ 302 $(use_enable twolame) \
307 $(use_enable udev) \ 303 $(use_enable udev) \
308 $(use_enable upnp) \ 304 $(use_enable upnp) \
305 $(use_enable v4l v4l2) \
306 $(use_enable vaapi libva) \
309 $(use_enable vcdx) \ 307 $(use_enable vcdx) \
310 $(use_enable vaapi libva) \
311 $(use_enable vlm) \ 308 $(use_enable vlm) \
312 $(use_enable vorbis) \ 309 $(use_enable vorbis) \
313 $(use_enable waveout) \ 310 $(use_enable waveout) \
314 $(use_enable win32codecs loader) \ 311 $(use_enable win32codecs loader) \
315 $(use_enable wingdi) \ 312 $(use_enable wingdi) \
316 $(use_enable wma-fixed) \ 313 $(use_enable wma-fixed) \
317 $(use_with X x) \ 314 $(use_with X x) \
318 $(use_enable x264) \ 315 $(use_enable x264) \
319 $(use_enable xcb) \ 316 $(use_enable xcb) \
320 $(use_enable xml libxml2) \ 317 $(use_enable xml libxml2) \
321 $(use_enable xosd) \
322 $(use_enable xv xvideo) \ 318 $(use_enable xv xvideo) \
323 $(use_enable zvbi) $(use_enable !zvbi telx) \ 319 $(use_enable zvbi) $(use_enable !zvbi telx) \
324 --disable-optimizations \ 320 --disable-optimizations \
325 --without-tuning \
326 --enable-fast-install 321 --enable-fast-install
327} 322}
328 323
329src_install() { 324src_install() {
330 emake DESTDIR="${D}" install || die "make install failed" 325 emake DESTDIR="${D}" install || die "make install failed"

Legend:
Removed from v.1.156  
changed lines
  Added in v.1.183

  ViewVC Help
Powered by ViewVC 1.1.20