/[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.100 Revision 1.103
1# Copyright 1999-2010 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.100 2010/11/07 19:14:31 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.103 2011/02/16 13:21:28 aballier Exp $
4 4
5EAPI="3" 5EAPI="3"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
48IUSE="a52 aac aalib alsa altivec atmo avahi bidi cdda cddb dbus dc1394 48IUSE="a52 aac aalib alsa altivec atmo avahi bidi cdda cddb dbus dc1394
49 debug dirac directfb dts dvb dvd elibc_glibc fbcon fluidsynth +ffmpeg flac fontconfig 49 debug dirac directfb dts dvb dvd elibc_glibc fbcon fluidsynth +ffmpeg flac fontconfig
50 +gcrypt gme gnome gnutls httpd ieee1394 jack kate kde libass libcaca 50 +gcrypt gme gnome gnutls httpd ieee1394 jack kate kde libass libcaca
51 libnotify libproxy libtiger libv4l2 lirc live lua matroska mmx 51 libnotify libproxy libtiger libv4l2 lirc live lua matroska mmx
52 modplug mp3 mpeg mtp musepack ncurses ogg opengl optimisememory oss 52 modplug mp3 mpeg mtp musepack ncurses ogg opengl optimisememory oss
53 png projectm pulseaudio pvr +qt4 remoteosd rtsp run-as-root samba 53 png projectm pulseaudio pvr +qt4 rtsp run-as-root samba
54 schroedinger sdl sdl-image shine shout skins speex sqlite sse stream 54 schroedinger sdl sdl-image shine shout sid skins speex sqlite sse stream
55 svg taglib theora truetype twolame udev upnp v4l2 vaapi vcdx vlm 55 svg taglib theora truetype twolame udev upnp v4l2 vaapi vcdx vlm
56 vorbis win32codecs wma-fixed +X x264 +xcb xml xosd xv zvbi" 56 vorbis win32codecs wma-fixed +X x264 +xcb xml xosd xv zvbi"
57 57
58RDEPEND=" 58RDEPEND="
59 sys-libs/zlib 59 sys-libs/zlib
60 >=media-libs/libdvbpsi-0.1.6 60 >=media-libs/libdvbpsi-0.1.6
61 a52? ( >=media-libs/a52dec-0.7.4-r3 ) 61 a52? ( >=media-libs/a52dec-0.7.4-r3 )
62 aalib? ( media-libs/aalib ) 62 aalib? ( media-libs/aalib )
63 aac? ( >=media-libs/faad2-2.6.1 ) 63 aac? ( >=media-libs/faad2-2.6.1 )
64 alsa? ( media-libs/alsa-lib ) 64 alsa? ( >=media-libs/alsa-lib-1.0.23 )
65 avahi? ( >=net-dns/avahi-0.6[dbus] ) 65 avahi? ( >=net-dns/avahi-0.6[dbus] )
66 bidi? ( >=dev-libs/fribidi-0.10.4 ) 66 bidi? ( >=dev-libs/fribidi-0.10.4 )
67 cdda? ( cddb? ( >=media-libs/libcddb-1.2.0 ) ) 67 cdda? ( cddb? ( >=media-libs/libcddb-1.2.0 ) )
68 dbus? ( >=sys-apps/dbus-1.0.2 ) 68 dbus? ( >=sys-apps/dbus-1.0.2 )
69 dc1394? ( >=sys-libs/libraw1394-2.0.1 >=media-libs/libdc1394-2.0.2 ) 69 dc1394? ( >=sys-libs/libraw1394-2.0.1 >=media-libs/libdc1394-2.0.2 )
102 opengl? ( virtual/opengl || ( <x11-libs/libX11-1.3.99.901[xcb] >=x11-libs/libX11-1.3.99.901 ) ) 102 opengl? ( virtual/opengl || ( <x11-libs/libX11-1.3.99.901[xcb] >=x11-libs/libX11-1.3.99.901 ) )
103 png? ( media-libs/libpng sys-libs/zlib ) 103 png? ( media-libs/libpng sys-libs/zlib )
104 projectm? ( media-libs/libprojectm ) 104 projectm? ( media-libs/libprojectm )
105 pulseaudio? ( >=media-sound/pulseaudio-0.9.22 ) 105 pulseaudio? ( >=media-sound/pulseaudio-0.9.22 )
106 qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 x11-libs/libX11 ) 106 qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 x11-libs/libX11 )
107 remoteosd? ( >=dev-libs/libgcrypt-1.2.0 )
108 samba? ( || ( >=net-fs/samba-3.4.6[smbclient] <net-fs/samba-3.4 ) ) 107 samba? ( || ( >=net-fs/samba-3.4.6[smbclient] <net-fs/samba-3.4 ) )
109 schroedinger? ( >=media-libs/schroedinger-1.0.6 ) 108 schroedinger? ( >=media-libs/schroedinger-1.0.6 )
110 sdl? ( >=media-libs/libsdl-1.2.8 109 sdl? ( >=media-libs/libsdl-1.2.8
111 sdl-image? ( media-libs/sdl-image sys-libs/zlib ) ) 110 sdl-image? ( media-libs/sdl-image sys-libs/zlib ) )
112 shout? ( media-libs/libshout ) 111 shout? ( media-libs/libshout )
112 sid? ( media-libs/libsidplay:2 )
113 skins? ( 113 skins? (
114 x11-libs/qt-gui:4 x11-libs/qt-core:4 114 x11-libs/qt-gui:4 x11-libs/qt-core:4
115 x11-libs/libXext x11-libs/libX11 115 x11-libs/libXext x11-libs/libX11
116 media-libs/freetype media-fonts/dejavu 116 media-libs/freetype media-fonts/dejavu
117 ) 117 )
137 zvbi? ( >=media-libs/zvbi-0.2.25 ) 137 zvbi? ( >=media-libs/zvbi-0.2.25 )
138 " 138 "
139 139
140DEPEND="${RDEPEND} 140DEPEND="${RDEPEND}
141 !!<=media-video/vlc-1.1.99999 141 !!<=media-video/vlc-1.1.99999
142 alsa? ( >=media-sound/alsa-headers-1.0.23 )
142 dvb? ( sys-kernel/linux-headers ) 143 dvb? ( sys-kernel/linux-headers )
143 kde? ( >=kde-base/kdelibs-4 ) 144 kde? ( >=kde-base/kdelibs-4 )
144 v4l2? ( >=sys-kernel/linux-headers-2.6.25 ) 145 v4l2? ( >=sys-kernel/linux-headers-2.6.25 )
145 xcb? ( x11-proto/xproto ) 146 xcb? ( x11-proto/xproto )
146 dev-util/pkgconfig" 147 dev-util/pkgconfig"
163 use $1 && echo "--enable-$2" 164 use $1 && echo "--enable-$2"
164} 165}
165 166
166pkg_setup() { 167pkg_setup() {
167 # Useflags we need to forcefuly enable 168 # Useflags we need to forcefuly enable
168 vlc_use_force remoteosd gcrypt
169 vlc_use_force gnutls gcrypt 169 vlc_use_force gnutls gcrypt
170 vlc_use_force skins truetype 170 vlc_use_force skins truetype
171 vlc_use_force skins qt4 171 vlc_use_force skins qt4
172 vlc_use_force vlm stream 172 vlc_use_force vlm stream
173 vlc_use_force vaapi ffmpeg 173 vlc_use_force vaapi ffmpeg
206 206
207src_configure() { 207src_configure() {
208 208
209 # It would fail if -fforce-addr is used due to too few registers... 209 # It would fail if -fforce-addr is used due to too few registers...
210 use x86 && filter-flags -fforce-addr 210 use x86 && filter-flags -fforce-addr
211
212 # needs libresid-builder from libsidplay:2 which is in another directory...
213 # FIXME!
214 use sid && append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/"
211 215
212 econf \ 216 econf \
213 --docdir=/usr/share/doc/${PF} \ 217 --docdir=/usr/share/doc/${PF} \
214 $(use_enable a52) \ 218 $(use_enable a52) \
215 $(use_enable aalib aa) \ 219 $(use_enable aalib aa) \
269 --disable-portaudio \ 273 --disable-portaudio \
270 $(use_enable projectm) \ 274 $(use_enable projectm) \
271 $(use_enable pulseaudio pulse) \ 275 $(use_enable pulseaudio pulse) \
272 $(use_enable pvr) \ 276 $(use_enable pvr) \
273 $(use_enable qt4) \ 277 $(use_enable qt4) \
274 $(use_enable remoteosd) \
275 $(use_enable rtsp realrtsp) \ 278 $(use_enable rtsp realrtsp) \
276 $(use_enable run-as-root) \ 279 $(use_enable run-as-root) \
277 $(use_enable samba smb) \ 280 $(use_enable samba smb) \
278 $(use_enable schroedinger) \ 281 $(use_enable schroedinger) \
279 $(use_enable sdl) \ 282 $(use_enable sdl) \
280 $(use_enable sdl-image) \ 283 $(use_enable sdl-image) \
281 $(use_enable shine) \ 284 $(use_enable shine) \
285 $(use_enable sid) \
282 $(use_enable shout) \ 286 $(use_enable shout) \
283 $(use_enable skins skins2) \ 287 $(use_enable skins skins2) \
284 $(use_enable speex) \ 288 $(use_enable speex) \
285 $(use_enable sqlite) \ 289 $(use_enable sqlite) \
286 $(use_enable sse) \ 290 $(use_enable sse) \
311 --disable-optimizations \ 315 --disable-optimizations \
312 --enable-fast-install \ 316 --enable-fast-install \
313 $(vlc_use_enable_force vlm sout) \ 317 $(vlc_use_enable_force vlm sout) \
314 $(vlc_use_enable_force skins qt4) \ 318 $(vlc_use_enable_force skins qt4) \
315 $(vlc_use_enable_force skins freetype) \ 319 $(vlc_use_enable_force skins freetype) \
316 $(vlc_use_enable_force remoteosd libgcrypt) \
317 $(vlc_use_enable_force gnutls libgcrypt) \ 320 $(vlc_use_enable_force gnutls libgcrypt) \
318 $(vlc_use_enable_force vaapi avcodec) 321 $(vlc_use_enable_force vaapi avcodec)
319} 322}
320 323
321src_install() { 324src_install() {

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.103

  ViewVC Help
Powered by ViewVC 1.1.20