/[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.104 Revision 1.110
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.104 2011/02/16 14:39:41 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.110 2011/02/16 17:14:39 aballier Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; 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 avahi bidi cdda cddb dbus dc1394 48IUSE="a52 aac aalib alsa altivec atmo avahi bda bidi cdda cddb dbus dc1394
49 debug dirac directfb dts dvb dvd elibc_glibc fbcon fluidsynth +ffmpeg flac fontconfig 49 debug dirac directfb dshow dts dvb dvd elibc_glibc +encode fbcon fluidsynth +ffmpeg flac fontconfig
50 +gcrypt gme gnome gnutls httpd ieee1394 jack kate kde libass libcaca 50 +gcrypt gme gnome gnutls growl httpd ieee1394 jack kate kde libass libcaca
51 libnotify libproxy libtiger libv4l2 lirc live lua matroska mmx 51 libnotify libproxy libtiger libv4l2 linsys 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 rtsp run-as-root samba 53 png projectm pulseaudio pvr +qt4 rtsp run-as-root samba
54 schroedinger sdl sdl-image shine shout sid skins speex sqlite sse stream 54 schroedinger sdl sdl-image shine shout sid skins speex sqlite sse
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
83 ieee1394? ( >=sys-libs/libraw1394-2.0.1 >=sys-libs/libavc1394-0.5.3 ) 83 ieee1394? ( >=sys-libs/libraw1394-2.0.1 >=sys-libs/libavc1394-0.5.3 )
84 jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 ) 84 jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 )
85 kate? ( >=media-libs/libkate-0.1.1 ) 85 kate? ( >=media-libs/libkate-0.1.1 )
86 libass? ( >=media-libs/libass-0.9.6 media-libs/fontconfig ) 86 libass? ( >=media-libs/libass-0.9.6 media-libs/fontconfig )
87 libcaca? ( >=media-libs/libcaca-0.99_beta14 ) 87 libcaca? ( >=media-libs/libcaca-0.99_beta14 )
88 libnotify? ( x11-libs/libnotify ) 88 libnotify? ( x11-libs/libnotify x11-libs/gtk+:2 )
89 libproxy? ( net-libs/libproxy ) 89 libproxy? ( net-libs/libproxy )
90 libtiger? ( media-libs/libtiger ) 90 libtiger? ( media-libs/libtiger )
91 linsys? ( >=media-libs/zvbi-0.2.28 )
91 lirc? ( app-misc/lirc ) 92 lirc? ( app-misc/lirc )
92 live? ( >=media-plugins/live-2010.10.15 ) 93 live? ( >=media-plugins/live-2010.10.15 )
93 lua? ( >=dev-lang/lua-5.1 ) 94 lua? ( >=dev-lang/lua-5.1 )
94 matroska? ( >=dev-libs/libebml-1.0.0 >=media-libs/libmatroska-1.0.0 ) 95 matroska? ( >=dev-libs/libebml-1.0.0 >=media-libs/libmatroska-1.0.0 )
95 modplug? ( >=media-libs/libmodplug-0.8.8.1 ) 96 modplug? ( >=media-libs/libmodplug-0.8.8.1 )
149 libtiger? ( kate ) 150 libtiger? ( kate )
150 libv4l2? ( v4l2 ) 151 libv4l2? ( v4l2 )
151 qt4? ( X ) 152 qt4? ( X )
152 skins? ( truetype qt4 ) 153 skins? ( truetype qt4 )
153 vaapi? ( ffmpeg ) 154 vaapi? ( ffmpeg )
154 vlm? ( stream ) 155 vlm? ( encode )
155 xv? ( xcb ) 156 xv? ( xcb )
156" 157"
157 158
158S="${WORKDIR}/${MY_P}" 159S="${WORKDIR}/${MY_P}"
159
160pkg_setup() {
161 if use !qt4; then
162 ewarn "You have disabled the qt4 useflag, ${PN} will not have any"
163 ewarn "graphical interface. Maybe that is not what you want..."
164 fi
165}
166 160
167src_unpack() { 161src_unpack() {
168 unpack ${A} 162 unpack ${A}
169 if [ "${PV%9999}" != "${PV}" ] ; then 163 if [ "${PV%9999}" != "${PV}" ] ; then
170 git_src_unpack 164 git_src_unpack
181 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" 175 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
182 eautoreconf 176 eautoreconf
183} 177}
184 178
185src_configure() { 179src_configure() {
186
187 # It would fail if -fforce-addr is used due to too few registers...
188 use x86 && filter-flags -fforce-addr
189
190 # needs libresid-builder from libsidplay:2 which is in another directory... 180 # needs libresid-builder from libsidplay:2 which is in another directory...
191 # FIXME! 181 # FIXME!
192 use sid && append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" 182 use sid && append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/"
193 183
194 econf \ 184 econf \
198 $(use_enable aac faad) \ 188 $(use_enable aac faad) \
199 $(use_enable alsa) \ 189 $(use_enable alsa) \
200 $(use_enable altivec) \ 190 $(use_enable altivec) \
201 $(use_enable atmo) \ 191 $(use_enable atmo) \
202 $(use_enable avahi bonjour) \ 192 $(use_enable avahi bonjour) \
193 $(use_enable bda) \
203 $(use_enable bidi fribidi) \ 194 $(use_enable bidi fribidi) \
204 $(use_enable cdda vcd) \ 195 $(use_enable cdda vcd) \
205 $(use_enable cddb libcddb) \ 196 $(use_enable cddb libcddb) \
206 $(use_enable dbus) $(use_enable dbus dbus-control) \ 197 $(use_enable dbus) $(use_enable dbus dbus-control) \
207 $(use_enable dirac) \ 198 $(use_enable dirac) \
208 $(use_enable directfb) \ 199 $(use_enable directfb) \
209 $(use_enable dc1394) \ 200 $(use_enable dc1394) \
210 $(use_enable debug) \ 201 $(use_enable debug) \
202 $(use_enable dshow) \
211 $(use_enable dts dca) \ 203 $(use_enable dts dca) \
212 $(use_enable dvb) \ 204 $(use_enable dvb) \
213 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ 205 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \
206 $(use_enable encode sout) \
214 $(use_enable fbcon fb) \ 207 $(use_enable fbcon fb) \
215 $(use_enable ffmpeg avcodec) $(use_enable ffmpeg avformat) $(use_enable ffmpeg swscale) $(use_enable ffmpeg postproc) \ 208 $(use_enable ffmpeg avcodec) $(use_enable ffmpeg avformat) $(use_enable ffmpeg swscale) $(use_enable ffmpeg postproc) \
216 $(use_enable flac) \ 209 $(use_enable flac) \
217 $(use_enable fluidsynth) \ 210 $(use_enable fluidsynth) \
218 $(use_enable fontconfig) \ 211 $(use_enable fontconfig) \
219 $(use_enable gme) \ 212 $(use_enable gme) \
220 $(use_enable gnome gnomevfs) \ 213 $(use_enable gnome gnomevfs) \
221 $(use_enable gnutls) \ 214 $(use_enable gnutls) \
215 $(use_enable growl) \
222 $(use_enable httpd) \ 216 $(use_enable httpd) \
223 $(use_enable ieee1394 dv) \ 217 $(use_enable ieee1394 dv) \
224 $(use_enable jack) \ 218 $(use_enable jack) \
225 $(use_enable kate) \ 219 $(use_enable kate) \
226 $(use_with kde kde-solid) \ 220 $(use_with kde kde-solid) \
230 $(use_enable libnotify notify) \ 224 $(use_enable libnotify notify) \
231 $(use_enable libproxy) \ 225 $(use_enable libproxy) \
232 --disable-libtar \ 226 --disable-libtar \
233 $(use_enable libtiger tiger) \ 227 $(use_enable libtiger tiger) \
234 $(use_enable libv4l2) \ 228 $(use_enable libv4l2) \
229 $(use_enable linsys) \
235 $(use_enable lirc) \ 230 $(use_enable lirc) \
236 $(use_enable live live555) \ 231 $(use_enable live live555) \
237 $(use_enable lua) \ 232 $(use_enable lua) \
238 $(use_enable matroska mkv) \ 233 $(use_enable matroska mkv) \
239 $(use_enable mmx) \ 234 $(use_enable mmx) \
264 $(use_enable shout) \ 259 $(use_enable shout) \
265 $(use_enable skins skins2) \ 260 $(use_enable skins skins2) \
266 $(use_enable speex) \ 261 $(use_enable speex) \
267 $(use_enable sqlite) \ 262 $(use_enable sqlite) \
268 $(use_enable sse) \ 263 $(use_enable sse) \
269 $(use_enable stream sout) \
270 $(use_enable svg) \ 264 $(use_enable svg) \
271 $(use_enable taglib) \ 265 $(use_enable taglib) \
272 $(use_enable theora) \ 266 $(use_enable theora) \
273 $(use_enable truetype freetype) \ 267 $(use_enable truetype freetype) \
274 $(use_enable twolame) \ 268 $(use_enable twolame) \
287 $(use_enable xml libxml2) \ 281 $(use_enable xml libxml2) \
288 $(use_enable xosd) \ 282 $(use_enable xosd) \
289 $(use_enable xv xvideo) \ 283 $(use_enable xv xvideo) \
290 $(use_enable zvbi) $(use_enable !zvbi telx) \ 284 $(use_enable zvbi) $(use_enable !zvbi telx) \
291 --disable-snapshot \ 285 --disable-snapshot \
292 --disable-growl \
293 --disable-optimizations \ 286 --disable-optimizations \
294 --enable-fast-install 287 --enable-fast-install
295} 288}
296 289
297src_install() { 290src_install() {

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.110

  ViewVC Help
Powered by ViewVC 1.1.20