/[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.78 Revision 1.82
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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.78 2010/06/25 09:18:24 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.82 2010/07/18 10:16:06 aballier Exp $
4 4
5EAPI="2" 5EAPI="3"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
9 SCM=git 9 SCM=git
10 EGIT_BOOTSTRAP="bootstrap" 10 EGIT_BOOTSTRAP="bootstrap"
22MY_PV="${PV/_/-}" 22MY_PV="${PV/_/-}"
23MY_PV="${MY_PV/-beta/-test}" 23MY_PV="${MY_PV/-beta/-test}"
24MY_P="${PN}-${MY_PV}" 24MY_P="${PN}-${MY_PV}"
25VLC_SNAPSHOT_TIME="0013" 25VLC_SNAPSHOT_TIME="0013"
26 26
27PATCHLEVEL="85" 27PATCHLEVEL="86"
28DESCRIPTION="VLC media player - Video player and streamer" 28DESCRIPTION="VLC media player - Video player and streamer"
29HOMEPAGE="http://www.videolan.org/vlc/" 29HOMEPAGE="http://www.videolan.org/vlc/"
30if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild 30if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
31 SRC_URI="" 31 SRC_URI=""
32elif [[ "${P}" == *_alpha* ]]; then # Snapshots taken from nightlies.videolan.org 32elif [[ "${P}" == *_alpha* ]]; then # Snapshots taken from nightlies.videolan.org
54 schroedinger sdl sdl-image shine shout skins speex sqlite sse stream 54 schroedinger sdl sdl-image shine shout skins speex sqlite sse stream
55 svg svga taglib theora truetype twolame udev upnp v4l v4l2 vaapi vcdx vlm 55 svg svga taglib theora truetype twolame udev upnp v4l 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 !!<=media-video/vlc-1.0.99999
60 sys-libs/zlib 59 sys-libs/zlib
61 >=media-libs/libdvbpsi-0.1.6 60 >=media-libs/libdvbpsi-0.1.6
62 a52? ( >=media-libs/a52dec-0.7.4-r3 ) 61 a52? ( >=media-libs/a52dec-0.7.4-r3 )
63 aalib? ( media-libs/aalib ) 62 aalib? ( media-libs/aalib )
64 aac? ( >=media-libs/faad2-2.6.1 ) 63 aac? ( >=media-libs/faad2-2.6.1 )
65 alsa? ( media-libs/alsa-lib ) 64 alsa? ( media-libs/alsa-lib )
66 avahi? ( >=net-dns/avahi-0.6[dbus] ) 65 avahi? ( >=net-dns/avahi-0.6[dbus] )
67 bidi? ( >=dev-libs/fribidi-0.10.4 ) 66 bidi? ( >=dev-libs/fribidi-0.10.4 )
68 cdda? ( cddb? ( >=media-libs/libcddb-1.2.0 ) ) 67 cdda? ( cddb? ( >=media-libs/libcddb-1.2.0 ) )
69 dbus? ( >=sys-apps/dbus-1.0.2 ) 68 dbus? ( >=sys-apps/dbus-1.0.2 )
70 dc1394? ( >=sys-libs/libraw1394-2.0.1 69 dc1394? ( >=sys-libs/libraw1394-2.0.1 >=media-libs/libdc1394-2.0.2 )
71 >=media-libs/libdc1394-2.0.2 )
72 dirac? ( >=media-video/dirac-0.10.0 ) 70 dirac? ( >=media-video/dirac-0.10.0 )
73 directfb? ( dev-libs/DirectFB sys-libs/zlib ) 71 directfb? ( dev-libs/DirectFB sys-libs/zlib )
74 dts? ( media-libs/libdca ) 72 dts? ( media-libs/libdca )
75 dvd? ( media-libs/libdvdread >=media-libs/libdvdnav-0.1.9 ) 73 dvd? ( media-libs/libdvdread >=media-libs/libdvdnav-0.1.9 )
76 elibc_glibc? ( >=sys-libs/glibc-2.8 ) 74 elibc_glibc? ( >=sys-libs/glibc-2.8 )
77 ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20090201 ) 75 ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20090201 )
78 flac? ( media-libs/libogg 76 flac? ( media-libs/libogg >=media-libs/flac-1.1.2 )
79 >=media-libs/flac-1.1.2 )
80 fluidsynth? ( media-sound/fluidsynth ) 77 fluidsynth? ( media-sound/fluidsynth )
81 fontconfig? ( media-libs/fontconfig ) 78 fontconfig? ( media-libs/fontconfig )
82 gcrypt? ( >=dev-libs/libgcrypt-1.2.0 ) 79 gcrypt? ( >=dev-libs/libgcrypt-1.2.0 )
83 ggi? ( media-libs/libggi ) 80 ggi? ( media-libs/libggi )
84 gnome? ( gnome-base/gnome-vfs ) 81 gnome? ( gnome-base/gnome-vfs )
93 libproxy? ( net-libs/libproxy ) 90 libproxy? ( net-libs/libproxy )
94 libtiger? ( media-libs/libtiger ) 91 libtiger? ( media-libs/libtiger )
95 lirc? ( app-misc/lirc ) 92 lirc? ( app-misc/lirc )
96 live? ( >=media-plugins/live-2008.07.06 ) 93 live? ( >=media-plugins/live-2008.07.06 )
97 lua? ( >=dev-lang/lua-5.1 ) 94 lua? ( >=dev-lang/lua-5.1 )
98 matroska? ( 95 matroska? ( >=dev-libs/libebml-0.7.6 >=media-libs/libmatroska-0.8.0 )
99 >=dev-libs/libebml-0.7.6
100 >=media-libs/libmatroska-0.8.0 )
101 modplug? ( >=media-libs/libmodplug-0.8 ) 96 modplug? ( >=media-libs/libmodplug-0.8.8.1 )
102 mp3? ( media-libs/libmad ) 97 mp3? ( media-libs/libmad )
103 mpeg? ( >=media-libs/libmpeg2-0.3.2 ) 98 mpeg? ( >=media-libs/libmpeg2-0.3.2 )
104 mtp? ( >=media-libs/libmtp-1.0.0 ) 99 mtp? ( >=media-libs/libmtp-1.0.0 )
105 musepack? ( >=media-sound/musepack-tools-444 ) 100 musepack? ( >=media-sound/musepack-tools-444 )
106 ncurses? ( sys-libs/ncurses ) 101 ncurses? ( sys-libs/ncurses )
111 projectm? ( media-libs/libprojectm ) 106 projectm? ( media-libs/libprojectm )
112 pulseaudio? ( >=media-sound/pulseaudio-0.9.11 107 pulseaudio? ( >=media-sound/pulseaudio-0.9.11
113 !X? ( >=media-sound/pulseaudio-0.9.11[-X] ) ) 108 !X? ( >=media-sound/pulseaudio-0.9.11[-X] ) )
114 qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 x11-libs/libX11 ) 109 qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 x11-libs/libX11 )
115 remoteosd? ( >=dev-libs/libgcrypt-1.2.0 ) 110 remoteosd? ( >=dev-libs/libgcrypt-1.2.0 )
116 samba? ( || ( >=net-fs/samba-3.4.6[smbclient] 111 samba? ( || ( >=net-fs/samba-3.4.6[smbclient] <net-fs/samba-3.4 ) )
117 <net-fs/samba-3.4 ) )
118 schroedinger? ( >=media-libs/schroedinger-1.0.6 ) 112 schroedinger? ( >=media-libs/schroedinger-1.0.6 )
119 sdl? ( >=media-libs/libsdl-1.2.8 113 sdl? ( >=media-libs/libsdl-1.2.8
120 sdl-image? ( media-libs/sdl-image sys-libs/zlib ) ) 114 sdl-image? ( media-libs/sdl-image sys-libs/zlib ) )
121 shout? ( media-libs/libshout ) 115 shout? ( media-libs/libshout )
122 skins? ( 116 skins? (
128 sqlite? ( >=dev-db/sqlite-3.6.0:3 ) 122 sqlite? ( >=dev-db/sqlite-3.6.0:3 )
129 svg? ( >=gnome-base/librsvg-2.9.0 ) 123 svg? ( >=gnome-base/librsvg-2.9.0 )
130 svga? ( media-libs/svgalib ) 124 svga? ( media-libs/svgalib )
131 taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib ) 125 taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib )
132 theora? ( >=media-libs/libtheora-1.0_beta3 ) 126 theora? ( >=media-libs/libtheora-1.0_beta3 )
133 truetype? ( media-libs/freetype 127 truetype? ( media-libs/freetype media-fonts/dejavu )
134 media-fonts/dejavu )
135 twolame? ( media-sound/twolame ) 128 twolame? ( media-sound/twolame )
136 udev? ( >=sys-fs/udev-142 ) 129 udev? ( >=sys-fs/udev-142 )
137 upnp? ( net-libs/libupnp ) 130 upnp? ( net-libs/libupnp )
138 v4l2? ( libv4l2? ( media-libs/libv4l ) ) 131 v4l2? ( libv4l2? ( media-libs/libv4l ) )
139 v4l? ( libv4l? ( media-libs/libv4l ) ) 132 v4l? ( libv4l? ( media-libs/libv4l ) )
148 xosd? ( x11-libs/xosd ) 141 xosd? ( x11-libs/xosd )
149 zvbi? ( >=media-libs/zvbi-0.2.25 ) 142 zvbi? ( >=media-libs/zvbi-0.2.25 )
150 " 143 "
151 144
152DEPEND="${RDEPEND} 145DEPEND="${RDEPEND}
146 !!<=media-video/vlc-1.0.99999
153 dvb? ( sys-kernel/linux-headers ) 147 dvb? ( sys-kernel/linux-headers )
154 kde? ( >=kde-base/kdelibs-4 ) 148 kde? ( >=kde-base/kdelibs-4 )
155 v4l? ( sys-kernel/linux-headers ) 149 v4l? ( sys-kernel/linux-headers )
156 v4l2? ( >=sys-kernel/linux-headers-2.6.25 ) 150 v4l2? ( >=sys-kernel/linux-headers-2.6.25 )
157 xcb? ( x11-proto/xproto ) 151 xcb? ( x11-proto/xproto )
174vlc_use_enable_force() { 168vlc_use_enable_force() {
175 use $1 && echo "--enable-$2" 169 use $1 && echo "--enable-$2"
176} 170}
177 171
178pkg_setup() { 172pkg_setup() {
179 if has_version '<=media-video/vlc-1.0.99999'; then
180 eerror "Please unmerge vlc-1.0.x first before installing ${P}"
181 eerror "If you don't do that, some plugins will get linked against"
182 eerror "the old ${PN} version and will not work."
183 die "Unmerge vlc 1.0.x first"
184 fi
185
186 # Useflags we need to forcefuly enable 173 # Useflags we need to forcefuly enable
187 vlc_use_force remoteosd gcrypt 174 vlc_use_force remoteosd gcrypt
188 vlc_use_force gnutls gcrypt 175 vlc_use_force gnutls gcrypt
189 vlc_use_force skins truetype 176 vlc_use_force skins truetype
190 vlc_use_force skins qt4 177 vlc_use_force skins qt4

Legend:
Removed from v.1.78  
changed lines
  Added in v.1.82

  ViewVC Help
Powered by ViewVC 1.1.20