/[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.106
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.106 2011/02/16 15:23:21 aballier Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${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 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 +encode 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 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
149 libtiger? ( kate ) 149 libtiger? ( kate )
150 libv4l2? ( v4l2 ) 150 libv4l2? ( v4l2 )
151 qt4? ( X ) 151 qt4? ( X )
152 skins? ( truetype qt4 ) 152 skins? ( truetype qt4 )
153 vaapi? ( ffmpeg ) 153 vaapi? ( ffmpeg )
154 vlm? ( stream ) 154 vlm? ( encode )
155 xv? ( xcb ) 155 xv? ( xcb )
156" 156"
157 157
158S="${WORKDIR}/${MY_P}" 158S="${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 159
167src_unpack() { 160src_unpack() {
168 unpack ${A} 161 unpack ${A}
169 if [ "${PV%9999}" != "${PV}" ] ; then 162 if [ "${PV%9999}" != "${PV}" ] ; then
170 git_src_unpack 163 git_src_unpack
181 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" 174 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
182 eautoreconf 175 eautoreconf
183} 176}
184 177
185src_configure() { 178src_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... 179 # needs libresid-builder from libsidplay:2 which is in another directory...
191 # FIXME! 180 # FIXME!
192 use sid && append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" 181 use sid && append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/"
193 182
194 econf \ 183 econf \
209 $(use_enable dc1394) \ 198 $(use_enable dc1394) \
210 $(use_enable debug) \ 199 $(use_enable debug) \
211 $(use_enable dts dca) \ 200 $(use_enable dts dca) \
212 $(use_enable dvb) \ 201 $(use_enable dvb) \
213 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ 202 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \
203 $(use_enable encode sout) \
214 $(use_enable fbcon fb) \ 204 $(use_enable fbcon fb) \
215 $(use_enable ffmpeg avcodec) $(use_enable ffmpeg avformat) $(use_enable ffmpeg swscale) $(use_enable ffmpeg postproc) \ 205 $(use_enable ffmpeg avcodec) $(use_enable ffmpeg avformat) $(use_enable ffmpeg swscale) $(use_enable ffmpeg postproc) \
216 $(use_enable flac) \ 206 $(use_enable flac) \
217 $(use_enable fluidsynth) \ 207 $(use_enable fluidsynth) \
218 $(use_enable fontconfig) \ 208 $(use_enable fontconfig) \
264 $(use_enable shout) \ 254 $(use_enable shout) \
265 $(use_enable skins skins2) \ 255 $(use_enable skins skins2) \
266 $(use_enable speex) \ 256 $(use_enable speex) \
267 $(use_enable sqlite) \ 257 $(use_enable sqlite) \
268 $(use_enable sse) \ 258 $(use_enable sse) \
269 $(use_enable stream sout) \
270 $(use_enable svg) \ 259 $(use_enable svg) \
271 $(use_enable taglib) \ 260 $(use_enable taglib) \
272 $(use_enable theora) \ 261 $(use_enable theora) \
273 $(use_enable truetype freetype) \ 262 $(use_enable truetype freetype) \
274 $(use_enable twolame) \ 263 $(use_enable twolame) \

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

  ViewVC Help
Powered by ViewVC 1.1.20