Lines 1-11
Link Here
|
1 |
# Copyright 1999-2007 Gentoo Foundation |
1 |
# Copyright 1999-2007 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-0.9.0_alpha20071009.ebuild,v 1.9 2007/10/10 21:41:32 aballier Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
WANT_AUTOMAKE=latest |
5 |
WANT_AUTOMAKE=latest |
6 |
WANT_AUTOCONF=latest |
6 |
WANT_AUTOCONF=latest |
7 |
|
7 |
|
8 |
inherit eutils wxwidgets multilib autotools toolchain-funcs gnome2 nsplugins |
8 |
inherit eutils wxwidgets multilib autotools toolchain-funcs gnome2 nsplugins qt4 |
9 |
|
9 |
|
10 |
MY_PV="${PV/_/-}" |
10 |
MY_PV="${PV/_/-}" |
11 |
MY_PV="${MY_PV/-beta/-test}" |
11 |
MY_PV="${MY_PV/-beta/-test}" |
Lines 44-50
Link Here
|
44 |
debug directfb dts dvb dvd esd fbcon ffmpeg flac ggi gnome gnutls hal httpd |
44 |
debug directfb dts dvb dvd esd fbcon ffmpeg flac ggi gnome gnutls hal httpd |
45 |
id3tag jack libcaca libgcrypt libnotify lirc live lua matroska mod mp3 mpeg |
45 |
id3tag jack libcaca libgcrypt libnotify lirc live lua matroska mod mp3 mpeg |
46 |
musepack musicbrainz ncurses nsplugin ogg opengl optimisememory oss png pvr |
46 |
musepack musicbrainz ncurses nsplugin ogg opengl optimisememory oss png pvr |
47 |
rtsp samba sdl sdl-image seamonkey shout skins speex stream svg svga taglib |
47 |
qt4 rtsp samba sdl sdl-image seamonkey shout skins speex stream svg svga taglib |
48 |
theora truetype twolame upnp v4l v4l2 vcd vcdx vlm vorbis win32codecs wxwindows |
48 |
theora truetype twolame upnp v4l v4l2 vcd vcdx vlm vorbis win32codecs wxwindows |
49 |
X x264 xinerama xml xosd xulrunner xv" |
49 |
X x264 xinerama xml xosd xulrunner xv" |
50 |
|
50 |
|
Lines 106-111
Link Here
|
106 |
) |
106 |
) |
107 |
ogg? ( media-libs/libogg ) |
107 |
ogg? ( media-libs/libogg ) |
108 |
png? ( media-libs/libpng ) |
108 |
png? ( media-libs/libpng ) |
|
|
109 |
qt4? ( $(qt4_min_version 4.2.0) ) |
109 |
samba? ( net-fs/samba ) |
110 |
samba? ( net-fs/samba ) |
110 |
sdl? ( >=media-libs/libsdl-1.2.8 |
111 |
sdl? ( >=media-libs/libsdl-1.2.8 |
111 |
sdl-image? ( media-libs/sdl-image ) ) |
112 |
sdl-image? ( media-libs/sdl-image ) ) |
Lines 141-148
Link Here
|
141 |
# Will probably compile only on x86 |
142 |
# Will probably compile only on x86 |
142 |
# dirac? ( media-video/dirac ) |
143 |
# dirac? ( media-video/dirac ) |
143 |
# Needs testing but can be ok |
144 |
# Needs testing but can be ok |
144 |
# qt4? ( $(qt4_min_version 4.2.0 ) ) |
|
|
145 |
# Main addition of 0.9.0, will enable it when it'll be released |
146 |
# zvbi? ( >=media-libs/zvbi-0.2.25 ) |
145 |
# zvbi? ( >=media-libs/zvbi-0.2.25 ) |
147 |
# Dep not up to date enough |
146 |
# Dep not up to date enough |
148 |
|
147 |
|
Lines 263-269
Link Here
|
263 |
$(use_enable png) \ |
262 |
$(use_enable png) \ |
264 |
--disable-portaudio \ |
263 |
--disable-portaudio \ |
265 |
$(use_enable pvr) \ |
264 |
$(use_enable pvr) \ |
266 |
--disable-qt4 \ |
265 |
$(use_enable qt4) \ |
267 |
$(use_enable rtsp) $(use_enable rtsp realrtsp) \ |
266 |
$(use_enable rtsp) $(use_enable rtsp realrtsp) \ |
268 |
$(use_enable samba smb) \ |
267 |
$(use_enable samba smb) \ |
269 |
$(use_enable sdl) \ |
268 |
$(use_enable sdl) \ |
Lines 328-337
Link Here
|
328 |
|
327 |
|
329 |
use skins || rm -rf "${D}/usr/share/vlc/skins2" |
328 |
use skins || rm -rf "${D}/usr/share/vlc/skins2" |
330 |
|
329 |
|
331 |
for res in 16 32 48; do |
330 |
if ! use wxwindows && ! use qt4 ; then |
332 |
insinto /usr/share/icons/hicolor/${res}x${res}/apps/ |
331 |
rm "${D}/usr/share/applications/vlc.desktop" |
333 |
newins "${S}"/share/vlc${res}x${res}.png vlc.png |
332 |
else |
334 |
done |
333 |
for res in 16 32 48; do |
335 |
|
334 |
insinto /usr/share/icons/hicolor/${res}x${res}/apps/ |
336 |
use wxwindows || rm "${D}/usr/share/applications/vlc.desktop" |
335 |
newins "${S}"/share/vlc${res}x${res}.png vlc.png |
|
|
336 |
done |
337 |
fi |
337 |
} |
338 |
} |