/[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.4 Revision 1.10
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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.4 2009/03/17 07:57:14 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.10 2009/06/05 10:04:27 aballier Exp $
4 4
5EAPI="1" 5EAPI="1"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
81 >=media-libs/flac-1.1.2 ) 81 >=media-libs/flac-1.1.2 )
82 fluidsynth? ( media-sound/fluidsynth ) 82 fluidsynth? ( media-sound/fluidsynth )
83 fontconfig? ( media-libs/fontconfig ) 83 fontconfig? ( media-libs/fontconfig )
84 ggi? ( media-libs/libggi ) 84 ggi? ( media-libs/libggi )
85 gnome? ( gnome-base/gnome-vfs ) 85 gnome? ( gnome-base/gnome-vfs )
86 gnutls? ( >=net-libs/gnutls-1.3.3 ) 86 gnutls? ( >=net-libs/gnutls-1.7.4 )
87 hal? ( sys-apps/hal ) 87 hal? ( sys-apps/hal )
88 id3tag? ( media-libs/libid3tag 88 id3tag? ( media-libs/libid3tag
89 sys-libs/zlib ) 89 sys-libs/zlib )
90 jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 ) 90 jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 )
91 kate? ( >=media-libs/libkate-0.1.1 ) 91 kate? ( >=media-libs/libkate-0.1.1 )
111 !seamonkey? ( >=net-libs/xulrunner-1.8 ) 111 !seamonkey? ( >=net-libs/xulrunner-1.8 )
112 ) 112 )
113 ogg? ( media-libs/libogg ) 113 ogg? ( media-libs/libogg )
114 pda? ( x11-libs/gtk+:2 ) 114 pda? ( x11-libs/gtk+:2 )
115 png? ( media-libs/libpng ) 115 png? ( media-libs/libpng )
116 pulseaudio? ( >=media-sound/pulseaudio-0.9.8 ) 116 pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
117 qt4? ( || ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 ) ) 117 qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 )
118 remoteosd? ( >=dev-libs/libgcrypt-1.2.0 ) 118 remoteosd? ( >=dev-libs/libgcrypt-1.2.0 )
119 samba? ( net-fs/samba ) 119 samba? ( net-fs/samba )
120 schroedinger? ( >=media-libs/schroedinger-1.0 ) 120 schroedinger? ( >=media-libs/schroedinger-1.0 )
121 sdl? ( >=media-libs/libsdl-1.2.8 121 sdl? ( >=media-libs/libsdl-1.2.8
122 sdl-image? ( media-libs/sdl-image ) ) 122 sdl-image? ( media-libs/sdl-image ) )
123 shout? ( media-libs/libshout ) 123 shout? ( media-libs/libshout )
124 skins? ( || ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 ) ) 124 skins? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 )
125 speex? ( media-libs/speex ) 125 speex? ( media-libs/speex )
126 svg? ( >=gnome-base/librsvg-2.9.0 ) 126 svg? ( >=gnome-base/librsvg-2.9.0 )
127 svga? ( media-libs/svgalib ) 127 svga? ( media-libs/svgalib )
128 taglib? ( >=media-libs/taglib-1.5 ) 128 taglib? ( >=media-libs/taglib-1.5 )
129 theora? ( media-libs/libtheora ) 129 theora? ( >=media-libs/libtheora-1.0_beta3 )
130 truetype? ( media-libs/freetype 130 truetype? ( media-libs/freetype
131 media-fonts/ttf-bitstream-vera ) 131 media-fonts/ttf-bitstream-vera )
132 twolame? ( media-sound/twolame ) 132 twolame? ( media-sound/twolame )
133 upnp? ( net-libs/libupnp ) 133 upnp? ( net-libs/libupnp )
134 v4l2? ( libv4l2? ( media-libs/libv4l ) ) 134 v4l2? ( libv4l2? ( media-libs/libv4l ) )
161 xcb? ( x11-proto/xproto ) 161 xcb? ( x11-proto/xproto )
162 dev-util/pkgconfig" 162 dev-util/pkgconfig"
163 163
164S="${WORKDIR}/${MY_P}" 164S="${WORKDIR}/${MY_P}"
165 165
166# Dispalys a warning if the first use flag is set but not the second 166# Displays a warning if the first use flag is set but the second is not
167vlc_use_needs() { 167vlc_use_needs() {
168 use $1 && use !$2 && ewarn "USE=$1 requires $2, $1 will be disabled." 168 use $1 && use !$2 && ewarn "USE=$1 requires $2, $1 will be disabled."
169} 169}
170 170
171# Notify the user that some useflag have been forced on 171# Notify the user that some useflag have been forced on
193 vlc_use_needs bidi truetype 193 vlc_use_needs bidi truetype
194 vlc_use_force remoteosd libgcrypt 194 vlc_use_force remoteosd libgcrypt
195 vlc_use_needs fontconfig truetype 195 vlc_use_needs fontconfig truetype
196 vlc_use_needs libv4l2 v4l2 196 vlc_use_needs libv4l2 v4l2
197 use cddb && use !cdda && use !cddax && ewarn "USE=cddb requires either cdda or cddax, cddb will be disabled." 197 use cddb && use !cdda && use !cddax && ewarn "USE=cddb requires either cdda or cddax, cddb will be disabled."
198 if ( use qt4 || use skins ) ; then 198 if use qt4 || use skins ; then
199 QT4_BUILT_WITH_USE_CHECK="png" qt4_pkg_setup 199 qt4_pkg_setup
200 else 200 else
201 ewarn "You have disabled the qt4 useflag, ${PN} will not have any" 201 ewarn "You have disabled the qt4 useflag, ${PN} will not have any"
202 ewarn "graphical interface. Maybe that is not what you want..." 202 ewarn "graphical interface. Maybe that is not what you want..."
203 fi 203 fi
204} 204}
205 205
206src_unpack() { 206src_unpack() {
207 unpack ${A} 207 unpack ${A}
208 if [ "${PV%9999}" != "${PV}" ] ; then 208 if [ "${PV%9999}" != "${PV}" ] ; then
209 git_src_unpack 209 git_src_unpack
210 else 210 fi
211 cd "${S}" 211 cd "${S}"
212 fi
213 212
214 # Make it build with libtool 1.5 213 # Make it build with libtool 1.5
215 rm -f m4/lt* m4/libtool.m4 214 rm -f m4/lt* m4/libtool.m4
216 215
217 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" 216 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
260 $(use_enable dts dca) \ 259 $(use_enable dts dca) \
261 --disable-dv \ 260 --disable-dv \
262 $(use_enable dvb) \ 261 $(use_enable dvb) \
263 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ 262 $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \
264 $(use_enable fbcon fb) \ 263 $(use_enable fbcon fb) \
265 $(use_enable ffmpeg avcodec) $(use_enable ffmpeg avformat) $(use_enable ffmpeg swscale) --disable-imgresample $(use_enable ffmpeg postproc) \ 264 $(use_enable ffmpeg avcodec) $(use_enable ffmpeg avformat) $(use_enable ffmpeg swscale) $(use_enable ffmpeg postproc) \
266 $(use_enable flac) \ 265 $(use_enable flac) \
267 $(use_enable fluidsynth) \ 266 $(use_enable fluidsynth) \
268 $(use_enable fontconfig) \ 267 $(use_enable fontconfig) \
269 $(use_enable ggi) \ 268 $(use_enable ggi) \
270 $(use_enable gnome gnomevfs) \ 269 $(use_enable gnome gnomevfs) \

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20