/[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.1 Revision 1.8
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.1 2009/02/27 10:34:43 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.8 2009/05/10 10:26:14 aballier Exp $
4 4
5EAPI="1" 5EAPI="1"
6
7WANT_AUTOMAKE=latest
8WANT_AUTOCONF=latest
9 6
10SCM="" 7SCM=""
11if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
12 SCM=git 9 SCM=git
13 EGIT_REPO_URI="git://git.videolan.org/vlc.git" 10 EGIT_REPO_URI="git://git.videolan.org/vlc.git"
53 debug dirac directfb dts dvb dvd fbcon fluidsynth +ffmpeg flac fontconfig ggi gnome gnutls hal httpd 50 debug dirac directfb dts dvb dvd fbcon fluidsynth +ffmpeg flac fontconfig ggi gnome gnutls hal httpd
54 id3tag jack kate libass libcaca +libgcrypt libnotify libsysfs libv4l2 lirc live lua matroska mmx modplug mp3 mpeg mtp 51 id3tag jack kate libass libcaca +libgcrypt libnotify libsysfs libv4l2 lirc live lua matroska mmx modplug mp3 mpeg mtp
55 musepack ncurses nsplugin ogg opengl optimisememory oss pda png pulseaudio pvr +qt4 52 musepack ncurses nsplugin ogg opengl optimisememory oss pda png pulseaudio pvr +qt4
56 remoteosd rtsp run-as-root samba schroedinger sdl sdl-image seamonkey shine shout skins speex sse stream svg svga taglib 53 remoteosd rtsp run-as-root samba schroedinger sdl sdl-image seamonkey shine shout skins speex sse stream svg svga taglib
57 theora truetype twolame upnp v4l v4l2 vcdinfo vcdx vlm vorbis win32codecs wma-fixed 54 theora truetype twolame upnp v4l v4l2 vcdinfo vcdx vlm vorbis win32codecs wma-fixed
58 X x264 xinerama xml xosd xv zvbi" 55 X x264 xcb xinerama xml xosd xv zvbi"
59 56
60RDEPEND=" 57RDEPEND="
61 sys-libs/zlib 58 sys-libs/zlib
62 media-libs/libdvbpsi 59 media-libs/libdvbpsi
63 a52? ( >=media-libs/a52dec-0.7.4-r3 ) 60 a52? ( >=media-libs/a52dec-0.7.4-r3 )
84 >=media-libs/flac-1.1.2 ) 81 >=media-libs/flac-1.1.2 )
85 fluidsynth? ( media-sound/fluidsynth ) 82 fluidsynth? ( media-sound/fluidsynth )
86 fontconfig? ( media-libs/fontconfig ) 83 fontconfig? ( media-libs/fontconfig )
87 ggi? ( media-libs/libggi ) 84 ggi? ( media-libs/libggi )
88 gnome? ( gnome-base/gnome-vfs ) 85 gnome? ( gnome-base/gnome-vfs )
89 gnutls? ( >=net-libs/gnutls-1.3.3 ) 86 gnutls? ( >=net-libs/gnutls-1.7.4 )
90 hal? ( sys-apps/hal ) 87 hal? ( sys-apps/hal )
91 id3tag? ( media-libs/libid3tag 88 id3tag? ( media-libs/libid3tag
92 sys-libs/zlib ) 89 sys-libs/zlib )
93 jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 ) 90 jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 )
94 kate? ( >=media-libs/libkate-0.1.1 ) 91 kate? ( >=media-libs/libkate-0.1.1 )
115 ) 112 )
116 ogg? ( media-libs/libogg ) 113 ogg? ( media-libs/libogg )
117 pda? ( x11-libs/gtk+:2 ) 114 pda? ( x11-libs/gtk+:2 )
118 png? ( media-libs/libpng ) 115 png? ( media-libs/libpng )
119 pulseaudio? ( >=media-sound/pulseaudio-0.9.8 ) 116 pulseaudio? ( >=media-sound/pulseaudio-0.9.8 )
120 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 )
121 remoteosd? ( >=dev-libs/libgcrypt-1.2.0 ) 118 remoteosd? ( >=dev-libs/libgcrypt-1.2.0 )
122 samba? ( net-fs/samba ) 119 samba? ( net-fs/samba )
123 schroedinger? ( >=media-libs/schroedinger-1.0 ) 120 schroedinger? ( >=media-libs/schroedinger-1.0 )
124 sdl? ( >=media-libs/libsdl-1.2.8 121 sdl? ( >=media-libs/libsdl-1.2.8
125 sdl-image? ( media-libs/sdl-image ) ) 122 sdl-image? ( media-libs/sdl-image ) )
126 shout? ( media-libs/libshout ) 123 shout? ( media-libs/libshout )
127 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 )
128 speex? ( media-libs/speex ) 125 speex? ( media-libs/speex )
129 svg? ( >=gnome-base/librsvg-2.9.0 ) 126 svg? ( >=gnome-base/librsvg-2.9.0 )
130 svga? ( media-libs/svgalib ) 127 svga? ( media-libs/svgalib )
131 taglib? ( media-libs/taglib ) 128 taglib? ( >=media-libs/taglib-1.5 )
132 theora? ( media-libs/libtheora ) 129 theora? ( >=media-libs/libtheora-1.0_beta3 )
133 truetype? ( media-libs/freetype 130 truetype? ( media-libs/freetype
134 media-fonts/ttf-bitstream-vera ) 131 media-fonts/ttf-bitstream-vera )
135 twolame? ( media-sound/twolame ) 132 twolame? ( media-sound/twolame )
136 upnp? ( net-libs/libupnp ) 133 upnp? ( net-libs/libupnp )
137 v4l2? ( libv4l2? ( media-libs/libv4l ) ) 134 v4l2? ( libv4l2? ( media-libs/libv4l ) )
144 xv? ( x11-libs/libXv ) 141 xv? ( x11-libs/libXv )
145 xinerama? ( x11-libs/libXinerama ) 142 xinerama? ( x11-libs/libXinerama )
146 opengl? ( virtual/opengl ) 143 opengl? ( virtual/opengl )
147 ) 144 )
148 x264? ( media-libs/x264 ) 145 x264? ( media-libs/x264 )
146 xcb? ( x11-libs/libxcb x11-libs/xcb-util )
149 xml? ( dev-libs/libxml2 ) 147 xml? ( dev-libs/libxml2 )
150 xosd? ( x11-libs/xosd ) 148 xosd? ( x11-libs/xosd )
151 zvbi? ( >=media-libs/zvbi-0.2.25 ) 149 zvbi? ( >=media-libs/zvbi-0.2.25 )
152 " 150 "
153 151
158DEPEND="${RDEPEND} 156DEPEND="${RDEPEND}
159 dvb? ( sys-kernel/linux-headers ) 157 dvb? ( sys-kernel/linux-headers )
160 v4l? ( sys-kernel/linux-headers ) 158 v4l? ( sys-kernel/linux-headers )
161 v4l2? ( sys-kernel/linux-headers ) 159 v4l2? ( sys-kernel/linux-headers )
162 X? ( xinerama? ( x11-proto/xineramaproto ) ) 160 X? ( xinerama? ( x11-proto/xineramaproto ) )
161 xcb? ( x11-proto/xproto )
163 dev-util/pkgconfig" 162 dev-util/pkgconfig"
164 163
165S="${WORKDIR}/${MY_P}" 164S="${WORKDIR}/${MY_P}"
166 165
167# 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
168vlc_use_needs() { 167vlc_use_needs() {
169 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."
170} 169}
171 170
172# Notify the user that some useflag have been forced on 171# Notify the user that some useflag have been forced on
194 vlc_use_needs bidi truetype 193 vlc_use_needs bidi truetype
195 vlc_use_force remoteosd libgcrypt 194 vlc_use_force remoteosd libgcrypt
196 vlc_use_needs fontconfig truetype 195 vlc_use_needs fontconfig truetype
197 vlc_use_needs libv4l2 v4l2 196 vlc_use_needs libv4l2 v4l2
198 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."
199 if ( use qt4 || use skins ) ; then 198 if use qt4 || use skins ; then
200 QT4_BUILT_WITH_USE_CHECK="png" qt4_pkg_setup 199 qt4_pkg_setup
201 else 200 else
202 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"
203 ewarn "graphical interface. Maybe that is not what you want..." 202 ewarn "graphical interface. Maybe that is not what you want..."
204 fi 203 fi
205} 204}
206 205
207src_unpack() { 206src_unpack() {
208 unpack ${A} 207 unpack ${A}
209 if [ "${PV%9999}" != "${PV}" ] ; then 208 if [ "${PV%9999}" != "${PV}" ] ; then
210 git_src_unpack 209 git_src_unpack
211 else 210 fi
212 cd "${S}" 211 cd "${S}"
213 fi
214 212
215 # Make it build with libtool 1.5 213 # Make it build with libtool 1.5
216 rm -f m4/lt* m4/libtool.m4 214 rm -f m4/lt* m4/libtool.m4
217 215
218 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" 216 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
331 $(use_enable vorbis) \ 329 $(use_enable vorbis) \
332 $(use_enable win32codecs loader) \ 330 $(use_enable win32codecs loader) \
333 $(use_enable wma-fixed) \ 331 $(use_enable wma-fixed) \
334 $(use_enable X x11) $(use_enable X screen) \ 332 $(use_enable X x11) $(use_enable X screen) \
335 $(use_enable x264) \ 333 $(use_enable x264) \
334 $(use_enable xcb) \
336 $(use_enable xinerama) \ 335 $(use_enable xinerama) \
337 $(use_enable xml libxml2) \ 336 $(use_enable xml libxml2) \
338 $(use_enable xosd) \ 337 $(use_enable xosd) \
339 $(use_enable xv xvideo) \ 338 $(use_enable xv xvideo) \
340 --disable-xvmc \ 339 --disable-xvmc \

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20