/[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.5
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.5 2009/04/08 07:54:24 aballier Exp $
4 4
5EAPI="1" 5EAPI="1"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
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.8 )
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 )
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}

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

  ViewVC Help
Powered by ViewVC 1.1.20