1 |
aballier 08/08/05 10:04:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: vlc-0.9.0_beta3.ebuild |
5 |
Log: |
6 |
bump to test3 |
7 |
(Portage version: 2.2_rc6/cvs/Linux 2.6.25.7 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.366 media-video/vlc/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?rev=1.366&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?rev=1.366&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?r1=1.365&r2=1.366 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v |
19 |
retrieving revision 1.365 |
20 |
retrieving revision 1.366 |
21 |
diff -u -r1.365 -r1.366 |
22 |
--- ChangeLog 27 Jul 2008 01:13:42 -0000 1.365 |
23 |
+++ ChangeLog 5 Aug 2008 10:04:51 -0000 1.366 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for media-video/vlc |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.365 2008/07/27 01:13:42 carlo Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.366 2008/08/05 10:04:51 aballier Exp $ |
29 |
+ |
30 |
+*vlc-0.9.0_beta3 (05 Aug 2008) |
31 |
+ |
32 |
+ 05 Aug 2008; Alexis Ballier <aballier@g.o> +vlc-0.9.0_beta3.ebuild: |
33 |
+ bump to test3 |
34 |
|
35 |
27 Jul 2008; Carsten Lohrke <carlo@g.o> vlc-0.9.0_beta2.ebuild: |
36 |
Fix broken split Qt 4.4 dependencies, cf. bug 217161 comment 11. |
37 |
|
38 |
|
39 |
|
40 |
1.1 media-video/vlc/vlc-0.9.0_beta3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/vlc-0.9.0_beta3.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/vlc-0.9.0_beta3.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: vlc-0.9.0_beta3.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.9.0_beta3.ebuild,v 1.1 2008/08/05 10:04:51 aballier Exp $ |
50 |
|
51 |
EAPI="1" |
52 |
|
53 |
WANT_AUTOMAKE=latest |
54 |
WANT_AUTOCONF=latest |
55 |
|
56 |
inherit eutils multilib autotools toolchain-funcs gnome2 nsplugins qt4 flag-o-matic |
57 |
|
58 |
MY_PV="${PV/_/-}" |
59 |
MY_PV="${MY_PV/-beta/-test}" |
60 |
MY_P="${PN}-${MY_PV}" |
61 |
VLC_SNAPSHOT_TIME="0013" |
62 |
|
63 |
PATCHLEVEL="59" |
64 |
M4_TARBALL_VERSION="1" |
65 |
DESCRIPTION="VLC media player - Video player and streamer" |
66 |
HOMEPAGE="http://www.videolan.org/vlc/" |
67 |
if [[ "${P}" == *_alpha* ]]; then # Snapshots taken from nightlies.videolan.org |
68 |
SRC_URI="http://nightlies.videolan.org/build/source/trunk-${PV/*_alpha/}-${VLC_SNAPSHOT_TIME}/${PN}-snapshot-${PV/*_alpha/}.tar.bz2" |
69 |
MY_P="${P/_alpha*/}-git" |
70 |
elif [[ "${P}" == *_p* ]]; then # Snapshots |
71 |
SRC_URI="mirror://gentoo/${P}.tar.bz2" |
72 |
MY_P="${P}" |
73 |
elif [[ "${MY_P}" == "${P}" ]]; then |
74 |
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2" |
75 |
else |
76 |
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.bz2" |
77 |
fi |
78 |
|
79 |
SRC_URI="${SRC_URI} |
80 |
mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2 |
81 |
mirror://gentoo/${PN}-m4-${M4_TARBALL_VERSION}.tar.bz2" |
82 |
|
83 |
LICENSE="GPL-2" |
84 |
SLOT="0" |
85 |
|
86 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
87 |
IUSE="a52 aac aalib alsa altivec arts atmo avahi bidi cdda cddb cdio dbus dc1394 |
88 |
debug directfb dts dvb dvd esd fbcon fluidsynth +ffmpeg flac ggi gnome gnutls hal httpd |
89 |
id3tag jack libcaca +libgcrypt libnotify lirc live lua matroska mmx modplug mp3 mpeg |
90 |
musepack musicbrainz ncurses nsplugin ogg opengl optimisememory oss png pulseaudio pvr +qt4 |
91 |
remoteosd rtsp samba sdl sdl-image seamonkey shout skins speex sse stream svg svga taglib |
92 |
theora truetype twolame upnp v4l v4l2 vcd vcdx vlm vorbis win32codecs |
93 |
X x264 xinerama xml xosd xulrunner xv" |
94 |
|
95 |
RDEPEND=" |
96 |
sys-libs/zlib |
97 |
media-libs/libdvbpsi |
98 |
a52? ( >=media-libs/a52dec-0.7.4-r3 ) |
99 |
aalib? ( media-libs/aalib ) |
100 |
aac? ( >=media-libs/faad2-2.6.1 ) |
101 |
alsa? ( media-libs/alsa-lib ) |
102 |
arts? ( kde-base/arts ) |
103 |
avahi? ( >=net-dns/avahi-0.6 ) |
104 |
bidi? ( >=dev-libs/fribidi-0.10.4 ) |
105 |
cdda? ( >=dev-libs/libcdio-0.72 |
106 |
cddb? ( >=media-libs/libcddb-1.2.0 ) ) |
107 |
cdio? ( >=dev-libs/libcdio-0.78.2 |
108 |
>=media-video/vcdimager-0.7.22 ) |
109 |
dbus? ( >=sys-apps/dbus-1.0.2 ) |
110 |
dc1394? ( sys-libs/libraw1394 |
111 |
<media-libs/libdc1394-1.9.99 ) |
112 |
directfb? ( dev-libs/DirectFB ) |
113 |
dts? ( media-libs/libdca ) |
114 |
dvd? ( media-libs/libdvdread |
115 |
media-libs/libdvdcss |
116 |
>=media-libs/libdvdnav-0.1.9 |
117 |
media-libs/libdvdplay ) |
118 |
esd? ( media-sound/esound ) |
119 |
ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20070616-r3 ) |
120 |
flac? ( media-libs/libogg |
121 |
>=media-libs/flac-1.1.2 ) |
122 |
fluidsynth? ( media-sound/fluidsynth ) |
123 |
ggi? ( media-libs/libggi ) |
124 |
gnome? ( gnome-base/gnome-vfs ) |
125 |
gnutls? ( >=net-libs/gnutls-1.3.3 ) |
126 |
hal? ( sys-apps/hal ) |
127 |
id3tag? ( media-libs/libid3tag |
128 |
sys-libs/zlib ) |
129 |
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 ) |
130 |
libcaca? ( media-libs/libcaca ) |
131 |
libgcrypt? ( >=dev-libs/libgcrypt-1.2.0 ) |
132 |
libnotify? ( x11-libs/libnotify ) |
133 |
lirc? ( app-misc/lirc ) |
134 |
live? ( >=media-plugins/live-2007.02.20 ) |
135 |
lua? ( >=dev-lang/lua-5.1 ) |
136 |
matroska? ( |
137 |
>=dev-libs/libebml-0.7.6 |
138 |
>=media-libs/libmatroska-0.8.0 ) |
139 |
modplug? ( media-libs/libmodplug ) |
140 |
mp3? ( media-libs/libmad ) |
141 |
mpeg? ( >=media-libs/libmpeg2-0.3.2 ) |
142 |
musepack? ( media-libs/libmpcdec ) |
143 |
musicbrainz? ( =media-libs/musicbrainz-2* ) |
144 |
ncurses? ( sys-libs/ncurses ) |
145 |
nsplugin? ( |
146 |
xulrunner? ( >=net-libs/xulrunner-1.8 ) |
147 |
!xulrunner? ( seamonkey? ( =www-client/seamonkey-1* ) ) |
148 |
!xulrunner? ( !seamonkey? ( =www-client/mozilla-firefox-2* ) ) |
149 |
) |
150 |
ogg? ( media-libs/libogg ) |
151 |
png? ( media-libs/libpng ) |
152 |
pulseaudio? ( >=media-sound/pulseaudio-0.9.8 ) |
153 |
qt4? ( || ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 ) ) |
154 |
remoteosd? ( >=dev-libs/libgcrypt-1.2.0 ) |
155 |
samba? ( net-fs/samba ) |
156 |
sdl? ( >=media-libs/libsdl-1.2.8 |
157 |
sdl-image? ( media-libs/sdl-image ) ) |
158 |
shout? ( media-libs/libshout ) |
159 |
skins? ( || ( ( x11-libs/qt-gui x11-libs/qt-core ) =x11-libs/qt-4.3*:4 ) ) |
160 |
speex? ( media-libs/speex ) |
161 |
svg? ( >=gnome-base/librsvg-2.9.0 ) |
162 |
svga? ( media-libs/svgalib ) |
163 |
taglib? ( media-libs/taglib ) |
164 |
theora? ( media-libs/libtheora ) |
165 |
truetype? ( media-libs/freetype |
166 |
media-fonts/ttf-bitstream-vera ) |
167 |
twolame? ( media-sound/twolame ) |
168 |
upnp? ( net-libs/libupnp ) |
169 |
vorbis? ( media-libs/libvorbis ) |
170 |
win32codecs? ( media-libs/win32codecs ) |
171 |
X? ( |
172 |
x11-libs/libX11 |
173 |
x11-libs/libXext |
174 |
xv? ( x11-libs/libXv ) |
175 |
xinerama? ( x11-libs/libXinerama ) |
176 |
opengl? ( virtual/opengl ) |
177 |
) |
178 |
x264? ( media-libs/x264 ) |
179 |
xml? ( dev-libs/libxml2 ) |
180 |
xosd? ( x11-libs/xosd ) |
181 |
" |
182 |
|
183 |
# Disabled features and reasons: |
184 |
# xvmc? ( x11-libs/libXvMC ) |
185 |
# Will probably compile only on x86 |
186 |
# dirac? ( >=media-video/dirac-0.10.0 ) |
187 |
# Needs testing but can be ok |
188 |
# zvbi? ( >=media-libs/zvbi-0.2.25 ) |
189 |
# Dep not up to date enough |
190 |
# kate? ( >=media-libs/libkate-0.1.1 ) |
191 |
# No package yet |
192 |
|
193 |
DEPEND="${RDEPEND} |
194 |
dvb? ( sys-kernel/linux-headers ) |
195 |
v4l? ( sys-kernel/linux-headers ) |
196 |
v4l2? ( sys-kernel/linux-headers ) |
197 |
X? ( xinerama? ( x11-proto/xineramaproto ) ) |
198 |
dev-util/pkgconfig" |
199 |
|
200 |
S="${WORKDIR}/${MY_P}" |
201 |
|
202 |
# Dispalys a warning if the first use flag is set but not the second |
203 |
vlc_use_needs() { |
204 |
use $1 && use !$2 && ewarn "USE=$1 requires $2, $1 will be disabled." |
205 |
} |
206 |
|
207 |
# Notify the user that some useflag have been forced on |
208 |
vlc_use_force() { |
209 |
use $1 && use !$2 && ewarn "USE=$1 requires $2, $2 will be enabled." |
210 |
} |
211 |
|
212 |
# Use when $2 depends strictly on $3 |
213 |
# if use $1 then enable $2 and $3, otherwise disable $2 |
214 |
vlc_use_enable_force() { |
215 |
if use $1 ; then |
216 |
echo "--enable-$2 --enable-$3" |
217 |
else |
218 |
echo "--disable-$2" |
219 |
fi |
220 |
} |
221 |
|
222 |
# Prints the configure argument for the ffmpeg scaling api to use |
223 |
vlc_ffmpeg_scaling_api() { |
224 |
if use ffmpeg ; then |
225 |
if has_version ">=media-video/ffmpeg-0.4.9_p20070616-r20" ; then |
226 |
echo "--enable-swscale --disable-imgresample" |
227 |
else |
228 |
echo "--disable-swscale --enable-imgresample" |
229 |
fi |
230 |
else |
231 |
echo "--disable-swscale --disable-imgresample" |
232 |
fi |
233 |
} |
234 |
|
235 |
pkg_setup() { |
236 |
vlc_use_needs skins truetype |
237 |
vlc_use_force skins qt4 |
238 |
vlc_use_needs cdda cdio |
239 |
vlc_use_needs vcdx cdio |
240 |
vlc_use_needs bidi truetype |
241 |
vlc_use_force remoteosd libgcrypt |
242 |
} |
243 |
|
244 |
src_unpack() { |
245 |
unpack ${A} |
246 |
cd "${S}" |
247 |
|
248 |
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" |
249 |
AT_M4DIR="m4 ${WORKDIR}/${PN}-m4" eautoreconf |
250 |
} |
251 |
|
252 |
src_compile () { |
253 |
|
254 |
# It would fail if -fforce-addr is used due to too few registers... |
255 |
use x86 && filter-flags -fforce-addr |
256 |
|
257 |
local XPIDL="" |
258 |
local MOZILLA_CONFIG="" |
259 |
|
260 |
if use nsplugin; then |
261 |
if use xulrunner; then |
262 |
XPIDL=/usr/$(get_libdir)/xulrunner |
263 |
MOZILLA_CONFIG=/usr/bin/xulrunner-config |
264 |
elif use seamonkey; then |
265 |
XPIDL=/usr/$(get_libdir)/seamonkey |
266 |
MOZILLA_CONFIG=/usr/$(get_libdir)/seamonkey/seamonkey-config |
267 |
else |
268 |
XPIDL=/usr/$(get_libdir)/mozilla-firefox |
269 |
MOZILLA_CONFIG=/usr/$(get_libdir)/mozilla-firefox/firefox-config |
270 |
fi |
271 |
fi |
272 |
|
273 |
econf \ |
274 |
$(use_enable a52) \ |
275 |
$(use_enable aalib aa) \ |
276 |
$(use_enable aac faad) \ |
277 |
$(use_enable alsa) \ |
278 |
$(use_enable altivec) \ |
279 |
$(use_enable arts) \ |
280 |
--disable-asademux \ |
281 |
$(use_enable atmo) \ |
282 |
$(use_enable avahi bonjour) \ |
283 |
$(use_enable bidi fribidi) \ |
284 |
$(use_enable cdda) $(use_enable cdda cddax)\ |
285 |
$(use_enable cddb libcddb) \ |
286 |
$(use_enable cdio libcdio) \ |
287 |
--disable-csri \ |
288 |
$(use_enable dbus) $(use_enable dbus dbus-control) \ |
289 |
--disable-dirac \ |
290 |
$(use_enable directfb) \ |
291 |
$(use_enable dc1394) \ |
292 |
$(use_enable debug) \ |
293 |
$(use_enable dts dca) \ |
294 |
--disable-dv \ |
295 |
$(use_enable dvb) \ |
296 |
$(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ |
297 |
$(use_enable esd) \ |
298 |
$(use_enable fbcon fb) \ |
299 |
$(use_enable ffmpeg avcodec) $(use_enable ffmpeg avformat) $(vlc_ffmpeg_scaling_api) $(use_enable ffmpeg postproc) \ |
300 |
$(use_enable flac) \ |
301 |
$(use_enable fluidsynth) \ |
302 |
--disable-galaktos \ |
303 |
$(use_enable ggi) \ |
304 |
$(use_enable gnome gnomevfs) \ |
305 |
$(use_enable gnutls) \ |
306 |
$(use_enable hal) \ |
307 |
$(use_enable httpd) \ |
308 |
$(use_enable id3tag) \ |
309 |
$(use_enable jack) \ |
310 |
--disable-kate \ |
311 |
$(use_enable libcaca caca) \ |
312 |
$(use_enable libgcrypt) \ |
313 |
$(use_enable libnotify notify) \ |
314 |
--disable-libproxy \ |
315 |
--disable-libtar \ |
316 |
$(use_enable lirc) \ |
317 |
$(use_enable live live555) \ |
318 |
$(use_enable lua) \ |
319 |
$(use_enable matroska mkv) \ |
320 |
$(use_enable mmx) \ |
321 |
$(use_enable modplug mod) \ |
322 |
$(use_enable mp3 mad) \ |
323 |
$(use_enable mpeg libmpeg2) \ |
324 |
$(use_enable musepack mpc) \ |
325 |
$(use_enable musicbrainz) \ |
326 |
$(use_enable ncurses) \ |
327 |
$(use_enable nsplugin mozilla) XPIDL="${XPIDL}" MOZILLA_CONFIG="${MOZILLA_CONFIG}" \ |
328 |
$(use_enable ogg) \ |
329 |
$(use_enable opengl glx) $(use_enable opengl) \ |
330 |
$(use_enable optimisememory optimize-memory) \ |
331 |
$(use_enable oss) \ |
332 |
$(use_enable png) \ |
333 |
--disable-portaudio \ |
334 |
$(use_enable pulseaudio pulse) \ |
335 |
$(use_enable pvr) \ |
336 |
$(use_enable qt4) \ |
337 |
$(use_enable rtsp realrtsp) \ |
338 |
$(use_enable samba smb) \ |
339 |
--disable-schroedinger \ |
340 |
$(use_enable sdl) \ |
341 |
$(use_enable sdl-image) \ |
342 |
$(use_enable shout) \ |
343 |
$(use_enable skins skins2) \ |
344 |
$(use_enable speex) \ |
345 |
$(use_enable sse) \ |
346 |
$(use_enable stream sout) \ |
347 |
$(use_enable svg) \ |
348 |
$(use_enable svga svgalib) \ |
349 |
$(use_enable taglib) \ |
350 |
$(use_enable theora) \ |
351 |
$(use_enable truetype freetype) \ |
352 |
$(use_enable twolame) \ |
353 |
$(use_enable upnp) \ |
354 |
$(use_enable v4l) \ |
355 |
$(use_enable v4l2) \ |
356 |
$(use_enable vcd) \ |
357 |
$(use_enable vcdx) \ |
358 |
$(use_enable vorbis) \ |
359 |
$(use_enable win32codecs loader) \ |
360 |
$(use_enable X x11) $(use_enable X screen) \ |
361 |
$(use_enable x264) \ |
362 |
$(use_enable xinerama) \ |
363 |
$(use_enable xml libxml2) \ |
364 |
$(use_enable xosd) \ |
365 |
$(use_enable xv xvideo) \ |
366 |
--disable-xvmc \ |
367 |
--disable-zvbi \ |
368 |
--disable-snapshot \ |
369 |
--disable-growl \ |
370 |
--disable-optimizations \ |
371 |
--enable-fast-install \ |
372 |
$(vlc_use_enable_force vlm vlm sout) \ |
373 |
$(vlc_use_enable_force skins skins2 qt4) \ |
374 |
$(vlc_use_enable_force remoteosd remoteosd libgcrypt) |
375 |
|
376 |
if [[ $(gcc-major-version) == 2 ]]; then |
377 |
sed -i -e s:"-fomit-frame-pointer":: vlc-config || die "-fomit-frame-pointer patching failed" |
378 |
fi |
379 |
|
380 |
emake || die "make of VLC failed" |
381 |
} |
382 |
|
383 |
src_install() { |
384 |
emake DESTDIR="${D}" install || die "make install failed" |
385 |
|
386 |
dodoc AUTHORS MAINTAINERS HACKING THANKS NEWS README \ |
387 |
doc/fortunes.txt doc/intf-cdda.txt doc/intf-vcd.txt |
388 |
|
389 |
rm -rf "${D}/usr/share/doc/vlc" \ |
390 |
"${D}"/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico} |
391 |
|
392 |
if use nsplugin; then |
393 |
dodir "/usr/$(get_libdir)/${PLUGINS_DIR}" |
394 |
mv "${D}"/usr/$(get_libdir)/mozilla/plugins/* \ |
395 |
"${D}/usr/$(get_libdir)/${PLUGINS_DIR}/" |
396 |
fi |
397 |
|
398 |
use skins || rm -rf "${D}/usr/share/vlc/skins2" |
399 |
|
400 |
for res in 16 32 48; do |
401 |
insinto /usr/share/icons/hicolor/${res}x${res}/apps/ |
402 |
newins "${S}"/share/vlc${res}x${res}.png vlc.png |
403 |
done |
404 |
} |