1 |
aballier 11/12/21 12:18:47 |
2 |
|
3 |
Modified: vlc-1.1.9999.ebuild ChangeLog |
4 |
Added: vlc-1.1.13.ebuild |
5 |
Log: |
6 |
version bump and sync with 1.1.9999 |
7 |
|
8 |
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.38 media-video/vlc/vlc-1.1.9999.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-1.1.9999.ebuild?rev=1.38&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-1.1.9999.ebuild?rev=1.38&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-1.1.9999.ebuild?r1=1.37&r2=1.38 |
16 |
|
17 |
Index: vlc-1.1.9999.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-1.1.9999.ebuild,v |
20 |
retrieving revision 1.37 |
21 |
retrieving revision 1.38 |
22 |
diff -u -r1.37 -r1.38 |
23 |
--- vlc-1.1.9999.ebuild 9 Dec 2011 19:58:47 -0000 1.37 |
24 |
+++ vlc-1.1.9999.ebuild 21 Dec 2011 12:18:47 -0000 1.38 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2011 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-1.1.9999.ebuild,v 1.37 2011/12/09 19:58:47 aballier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-1.1.9999.ebuild,v 1.38 2011/12/21 12:18:47 aballier Exp $ |
30 |
|
31 |
EAPI="3" |
32 |
|
33 |
@@ -22,7 +22,7 @@ |
34 |
MY_P="${PN}-${MY_PV}" |
35 |
VLC_SNAPSHOT_TIME="0013" |
36 |
|
37 |
-PATCHLEVEL="99" |
38 |
+PATCHLEVEL="104" |
39 |
DESCRIPTION="VLC media player - Video player and streamer" |
40 |
HOMEPAGE="http://www.videolan.org/vlc/" |
41 |
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
42 |
@@ -107,8 +107,7 @@ |
43 |
opengl? ( virtual/opengl || ( >=x11-libs/libX11-1.3.99.901 <x11-libs/libX11-1.3.99.901[xcb] ) ) |
44 |
png? ( media-libs/libpng sys-libs/zlib ) |
45 |
projectm? ( media-libs/libprojectm ) |
46 |
- pulseaudio? ( || ( >=media-sound/pulseaudio-0.9.22 |
47 |
- ( >=media-sound/pulseaudio-0.9.11 x11-libs/libX11 ) ) ) |
48 |
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.22 ) |
49 |
qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 x11-libs/libX11 ) |
50 |
remoteosd? ( >=dev-libs/libgcrypt-1.2.0 ) |
51 |
samba? ( || ( >=net-fs/samba-3.4.6[smbclient] <net-fs/samba-3.4 ) ) |
52 |
@@ -184,7 +183,6 @@ |
53 |
vlc_use_force vlm stream |
54 |
vlc_use_force vaapi ffmpeg |
55 |
vlc_use_force nsplugin xcb |
56 |
- has_version '<media-sound/pulseaudio-0.9.22' && vlc_use_force pulseaudio X |
57 |
vlc_use_force xosd X |
58 |
vlc_use_force sdl X |
59 |
vlc_use_force aalib X |
60 |
@@ -340,7 +338,6 @@ |
61 |
$(vlc_use_enable_force gnutls libgcrypt) \ |
62 |
$(vlc_use_enable_force vaapi avcodec) \ |
63 |
$(vlc_use_enable_force nsplugin xcb) \ |
64 |
- $(has_version '<media-sound/pulseaudio-0.9.22' && use pulseaudio && echo '--with-x') \ |
65 |
$(use sdl && echo '--with-x') \ |
66 |
$(use xosd && echo '--with-x') \ |
67 |
$(use aalib && echo '--with-x') |
68 |
|
69 |
|
70 |
|
71 |
1.761 media-video/vlc/ChangeLog |
72 |
|
73 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?rev=1.761&view=markup |
74 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?rev=1.761&content-type=text/plain |
75 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?r1=1.760&r2=1.761 |
76 |
|
77 |
Index: ChangeLog |
78 |
=================================================================== |
79 |
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v |
80 |
retrieving revision 1.760 |
81 |
retrieving revision 1.761 |
82 |
diff -u -r1.760 -r1.761 |
83 |
--- ChangeLog 17 Dec 2011 13:24:57 -0000 1.760 |
84 |
+++ ChangeLog 21 Dec 2011 12:18:47 -0000 1.761 |
85 |
@@ -1,6 +1,12 @@ |
86 |
# ChangeLog for media-video/vlc |
87 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
88 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.760 2011/12/17 13:24:57 aballier Exp $ |
89 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.761 2011/12/21 12:18:47 aballier Exp $ |
90 |
+ |
91 |
+*vlc-1.1.13 (21 Dec 2011) |
92 |
+ |
93 |
+ 21 Dec 2011; Alexis Ballier <aballier@g.o> +vlc-1.1.13.ebuild, |
94 |
+ vlc-1.1.9999.ebuild: |
95 |
+ version bump and sync with 1.1.9999 |
96 |
|
97 |
*vlc-1.1.12-r2 (17 Dec 2011) |
98 |
|
99 |
|
100 |
|
101 |
|
102 |
1.1 media-video/vlc/vlc-1.1.13.ebuild |
103 |
|
104 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-1.1.13.ebuild?rev=1.1&view=markup |
105 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-1.1.13.ebuild?rev=1.1&content-type=text/plain |
106 |
|
107 |
Index: vlc-1.1.13.ebuild |
108 |
=================================================================== |
109 |
# Copyright 1999-2011 Gentoo Foundation |
110 |
# Distributed under the terms of the GNU General Public License v2 |
111 |
# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-1.1.13.ebuild,v 1.1 2011/12/21 12:18:47 aballier Exp $ |
112 |
|
113 |
EAPI="3" |
114 |
|
115 |
SCM="" |
116 |
if [ "${PV%9999}" != "${PV}" ] ; then |
117 |
SCM=git-2 |
118 |
EGIT_BOOTSTRAP="bootstrap" |
119 |
if [ "${PV%.9999}" != "${PV}" ] ; then |
120 |
EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git" |
121 |
else |
122 |
EGIT_REPO_URI="git://git.videolan.org/vlc.git" |
123 |
fi |
124 |
fi |
125 |
|
126 |
inherit eutils multilib autotools toolchain-funcs gnome2 nsplugins qt4 flag-o-matic ${SCM} |
127 |
|
128 |
MY_PV="${PV/_/-}" |
129 |
MY_PV="${MY_PV/-beta/-test}" |
130 |
MY_P="${PN}-${MY_PV}" |
131 |
VLC_SNAPSHOT_TIME="0013" |
132 |
|
133 |
PATCHLEVEL="104" |
134 |
DESCRIPTION="VLC media player - Video player and streamer" |
135 |
HOMEPAGE="http://www.videolan.org/vlc/" |
136 |
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
137 |
SRC_URI="" |
138 |
elif [[ "${P}" == *_alpha* ]]; then # Snapshots taken from nightlies.videolan.org |
139 |
SRC_URI="http://nightlies.videolan.org/build/source/trunk-${PV/*_alpha/}-${VLC_SNAPSHOT_TIME}/${PN}-snapshot-${PV/*_alpha/}.tar.bz2" |
140 |
MY_P="${P/_alpha*/}-git" |
141 |
elif [[ "${MY_P}" == "${P}" ]]; then |
142 |
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2" |
143 |
else |
144 |
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.bz2" |
145 |
fi |
146 |
|
147 |
SRC_URI="${SRC_URI} |
148 |
mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" |
149 |
|
150 |
LICENSE="GPL-2" |
151 |
SLOT="0" |
152 |
|
153 |
if [ "${PV%9999}" = "${PV}" ] ; then |
154 |
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
155 |
else |
156 |
KEYWORDS="" |
157 |
fi |
158 |
IUSE="a52 aac aalib alsa altivec atmo avahi bidi cdda cddb dbus dc1394 |
159 |
debug dirac directfb dts dvb dvd elibc_glibc fbcon fluidsynth +ffmpeg flac fontconfig |
160 |
+gcrypt ggi gme gnome gnutls httpd id3tag ieee1394 jack kate kde libass libcaca |
161 |
libnotify libproxy libtiger libv4l libv4l2 lirc live lua matroska mmx |
162 |
modplug mp3 mpeg mtp musepack ncurses nsplugin ogg opengl optimisememory oss |
163 |
png projectm pulseaudio pvr +qt4 remoteosd rtsp run-as-root samba |
164 |
schroedinger sdl sdl-image shine shout skins speex sqlite sse stream |
165 |
svg svga taglib theora truetype twolame udev upnp v4l vaapi vcdx vlm |
166 |
vorbis win32codecs wma-fixed +X x264 +xcb xml xosd xv zvbi" |
167 |
|
168 |
RDEPEND=" |
169 |
|| ( >=sys-libs/zlib-1.2.5.1-r2[minizip] <sys-libs/zlib-1.2.5.1-r1 ) |
170 |
>=media-libs/libdvbpsi-0.1.6 |
171 |
a52? ( >=media-libs/a52dec-0.7.4-r3 ) |
172 |
aalib? ( media-libs/aalib x11-libs/libX11 ) |
173 |
aac? ( >=media-libs/faad2-2.6.1 ) |
174 |
alsa? ( >=media-libs/alsa-lib-1.0.23 ) |
175 |
avahi? ( >=net-dns/avahi-0.6[dbus] ) |
176 |
bidi? ( >=dev-libs/fribidi-0.10.4 ) |
177 |
cdda? ( cddb? ( >=media-libs/libcddb-1.2.0 ) ) |
178 |
dbus? ( >=sys-apps/dbus-1.0.2 ) |
179 |
dc1394? ( >=sys-libs/libraw1394-2.0.1 >=media-libs/libdc1394-2.0.2 ) |
180 |
dirac? ( >=media-video/dirac-0.10.0 ) |
181 |
directfb? ( dev-libs/DirectFB sys-libs/zlib ) |
182 |
dts? ( media-libs/libdca ) |
183 |
dvd? ( media-libs/libdvdread >=media-libs/libdvdnav-0.1.9 ) |
184 |
elibc_glibc? ( >=sys-libs/glibc-2.8 ) |
185 |
ffmpeg? ( virtual/ffmpeg ) |
186 |
flac? ( media-libs/libogg >=media-libs/flac-1.1.2 ) |
187 |
fluidsynth? ( media-sound/fluidsynth ) |
188 |
fontconfig? ( media-libs/fontconfig ) |
189 |
gcrypt? ( >=dev-libs/libgcrypt-1.2.0 ) |
190 |
ggi? ( media-libs/libggi ) |
191 |
gme? ( media-libs/game-music-emu ) |
192 |
gnome? ( gnome-base/gnome-vfs ) |
193 |
gnutls? ( >=net-libs/gnutls-1.7.4 >=dev-libs/libgcrypt-1.2.0 ) |
194 |
id3tag? ( media-libs/libid3tag sys-libs/zlib ) |
195 |
ieee1394? ( >=sys-libs/libraw1394-2.0.1 >=sys-libs/libavc1394-0.5.3 ) |
196 |
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 ) |
197 |
kate? ( >=media-libs/libkate-0.1.1 ) |
198 |
libass? ( >=media-libs/libass-0.9.6 media-libs/fontconfig ) |
199 |
libcaca? ( >=media-libs/libcaca-0.99_beta14 ) |
200 |
libnotify? ( x11-libs/libnotify x11-libs/gtk+:2 ) |
201 |
libproxy? ( net-libs/libproxy ) |
202 |
libtiger? ( media-libs/libtiger ) |
203 |
lirc? ( app-misc/lirc ) |
204 |
live? ( >=media-plugins/live-2008.07.06 ) |
205 |
lua? ( >=dev-lang/lua-5.1 ) |
206 |
matroska? ( >=dev-libs/libebml-0.7.6 >=media-libs/libmatroska-0.8.0 ) |
207 |
modplug? ( >=media-libs/libmodplug-0.8.8.1 ) |
208 |
mp3? ( media-libs/libmad ) |
209 |
mpeg? ( >=media-libs/libmpeg2-0.3.2 ) |
210 |
mtp? ( >=media-libs/libmtp-1.0.0 ) |
211 |
musepack? ( >=media-sound/musepack-tools-444 ) |
212 |
ncurses? ( sys-libs/ncurses ) |
213 |
nsplugin? ( >=net-libs/xulrunner-1.9.2 x11-libs/libXpm x11-libs/libXt x11-libs/libxcb x11-libs/xcb-util ) |
214 |
ogg? ( media-libs/libogg ) |
215 |
opengl? ( virtual/opengl || ( >=x11-libs/libX11-1.3.99.901 <x11-libs/libX11-1.3.99.901[xcb] ) ) |
216 |
png? ( media-libs/libpng sys-libs/zlib ) |
217 |
projectm? ( media-libs/libprojectm ) |
218 |
pulseaudio? ( >=media-sound/pulseaudio-0.9.22 ) |
219 |
qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 x11-libs/libX11 ) |
220 |
remoteosd? ( >=dev-libs/libgcrypt-1.2.0 ) |
221 |
samba? ( || ( >=net-fs/samba-3.4.6[smbclient] <net-fs/samba-3.4 ) ) |
222 |
schroedinger? ( >=media-libs/schroedinger-1.0.10 ) |
223 |
sdl? ( >=media-libs/libsdl-1.2.8 x11-libs/libX11 |
224 |
sdl-image? ( media-libs/sdl-image sys-libs/zlib ) ) |
225 |
shout? ( media-libs/libshout ) |
226 |
skins? ( |
227 |
x11-libs/qt-gui:4 x11-libs/qt-core:4 |
228 |
x11-libs/libXext x11-libs/libX11 |
229 |
media-libs/freetype media-fonts/dejavu |
230 |
) |
231 |
speex? ( media-libs/speex ) |
232 |
sqlite? ( >=dev-db/sqlite-3.6.0:3 ) |
233 |
svg? ( >=gnome-base/librsvg-2.9.0 ) |
234 |
svga? ( media-libs/svgalib ) |
235 |
taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib ) |
236 |
theora? ( >=media-libs/libtheora-1.0_beta3 ) |
237 |
truetype? ( media-libs/freetype virtual/ttf-fonts |
238 |
!fontconfig? ( media-fonts/dejavu ) ) |
239 |
twolame? ( media-sound/twolame ) |
240 |
udev? ( >=sys-fs/udev-142 ) |
241 |
upnp? ( net-libs/libupnp ) |
242 |
v4l? ( |
243 |
libv4l2? ( media-libs/libv4l ) |
244 |
libv4l? ( media-libs/libv4l ) |
245 |
) |
246 |
vaapi? ( x11-libs/libva virtual/ffmpeg ) |
247 |
vcdx? ( >=dev-libs/libcdio-0.78.2 >=media-video/vcdimager-0.7.22 ) |
248 |
vorbis? ( media-libs/libvorbis ) |
249 |
win32codecs? ( media-libs/win32codecs ) |
250 |
X? ( x11-libs/libX11 ) |
251 |
x264? ( >=media-libs/x264-0.0.20090923 ) |
252 |
xcb? ( x11-libs/libxcb x11-libs/xcb-util ) |
253 |
xml? ( dev-libs/libxml2 ) |
254 |
xosd? ( x11-libs/xosd x11-libs/libX11 ) |
255 |
zvbi? ( >=media-libs/zvbi-0.2.25 ) |
256 |
" |
257 |
|
258 |
DEPEND="${RDEPEND} |
259 |
!!<=media-video/vlc-1.0.99999 |
260 |
alsa? ( >=media-sound/alsa-headers-1.0.23 ) |
261 |
dvb? ( sys-kernel/linux-headers ) |
262 |
kde? ( >=kde-base/kdelibs-4 ) |
263 |
v4l? ( >=sys-kernel/linux-headers-2.6.25 ) |
264 |
xcb? ( x11-proto/xproto ) |
265 |
dev-util/pkgconfig" |
266 |
|
267 |
S="${WORKDIR}/${MY_P}" |
268 |
|
269 |
# Displays a warning if the first use flag is set but the second is not |
270 |
vlc_use_needs() { |
271 |
use $1 && use !$2 && ewarn "USE=$1 requires $2, $1 will be disabled." |
272 |
} |
273 |
|
274 |
# Notify the user that some useflag have been forced on |
275 |
vlc_use_force() { |
276 |
use $1 && use !$2 && ewarn "USE=$1 requires $2, $2 will be enabled." |
277 |
} |
278 |
|
279 |
# Use when $1 depends strictly on $2 |
280 |
# if use $1 then enable $2 |
281 |
vlc_use_enable_force() { |
282 |
use $1 && echo "--enable-$2" |
283 |
} |
284 |
|
285 |
pkg_setup() { |
286 |
# Useflags we need to forcefuly enable |
287 |
vlc_use_force remoteosd gcrypt |
288 |
vlc_use_force gnutls gcrypt |
289 |
vlc_use_force skins truetype |
290 |
vlc_use_force skins qt4 |
291 |
vlc_use_force vlm stream |
292 |
vlc_use_force vaapi ffmpeg |
293 |
vlc_use_force nsplugin xcb |
294 |
vlc_use_force xosd X |
295 |
vlc_use_force sdl X |
296 |
vlc_use_force aalib X |
297 |
|
298 |
# Useflags that will be automagically discarded if deps are not met |
299 |
vlc_use_needs bidi truetype |
300 |
vlc_use_needs cddb cdda |
301 |
vlc_use_needs fontconfig truetype |
302 |
vlc_use_needs libv4l2 v4l |
303 |
vlc_use_needs libv4l v4l |
304 |
vlc_use_needs libtiger kate |
305 |
vlc_use_needs xv xcb |
306 |
|
307 |
if use qt4 || use skins ; then |
308 |
qt4_pkg_setup |
309 |
else |
310 |
ewarn "You have disabled the qt4 useflag, ${PN} will not have any" |
311 |
ewarn "graphical interface. Maybe that is not what you want..." |
312 |
fi |
313 |
} |
314 |
|
315 |
src_unpack() { |
316 |
unpack ${A} |
317 |
if [ "${PV%9999}" != "${PV}" ] ; then |
318 |
git-2_src_unpack |
319 |
fi |
320 |
} |
321 |
|
322 |
src_prepare() { |
323 |
# Make it build with libtool 1.5 |
324 |
rm -f m4/lt* m4/libtool.m4 |
325 |
|
326 |
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" |
327 |
eautoreconf |
328 |
} |
329 |
|
330 |
src_configure() { |
331 |
|
332 |
# It would fail if -fforce-addr is used due to too few registers... |
333 |
use x86 && filter-flags -fforce-addr |
334 |
|
335 |
econf \ |
336 |
$(use_enable a52) \ |
337 |
$(use_enable aalib aa) \ |
338 |
$(use_enable aac faad) \ |
339 |
$(use_enable alsa) \ |
340 |
$(use_enable altivec) \ |
341 |
--disable-asademux \ |
342 |
$(use_enable atmo) \ |
343 |
$(use_enable avahi bonjour) \ |
344 |
$(use_enable bidi fribidi) \ |
345 |
$(use_enable cdda vcd) \ |
346 |
$(use_enable cddb libcddb) \ |
347 |
$(use_enable dbus) $(use_enable dbus dbus-control) \ |
348 |
$(use_enable dirac) \ |
349 |
$(use_enable directfb) \ |
350 |
$(use_enable dc1394) \ |
351 |
$(use_enable debug) \ |
352 |
$(use_enable dts dca) \ |
353 |
$(use_enable dvb) \ |
354 |
$(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ |
355 |
$(use_enable fbcon fb) \ |
356 |
$(use_enable ffmpeg avcodec) $(use_enable ffmpeg avformat) $(use_enable ffmpeg swscale) $(use_enable ffmpeg postproc) \ |
357 |
$(use_enable flac) \ |
358 |
$(use_enable fluidsynth) \ |
359 |
$(use_enable fontconfig) \ |
360 |
$(use_enable ggi) \ |
361 |
$(use_enable gme) \ |
362 |
$(use_enable gnome gnomevfs) \ |
363 |
$(use_enable gnutls) \ |
364 |
$(use_enable httpd) \ |
365 |
$(use_enable id3tag) \ |
366 |
$(use_enable ieee1394 dv) \ |
367 |
$(use_enable jack) \ |
368 |
$(use_enable kate) \ |
369 |
$(use_with kde kde-solid) \ |
370 |
$(use_enable libass) \ |
371 |
$(use_enable libcaca caca) \ |
372 |
$(use_enable gcrypt libgcrypt) \ |
373 |
$(use_enable libnotify notify) \ |
374 |
$(use_enable libproxy) \ |
375 |
--disable-libtar \ |
376 |
$(use_enable libtiger tiger) \ |
377 |
$(use_enable libv4l) \ |
378 |
$(use_enable libv4l2) \ |
379 |
$(use_enable lirc) \ |
380 |
$(use_enable live live555) \ |
381 |
$(use_enable lua) \ |
382 |
$(use_enable matroska mkv) \ |
383 |
$(use_enable mmx) \ |
384 |
$(use_enable modplug mod) \ |
385 |
$(use_enable mp3 mad) \ |
386 |
$(use_enable mpeg libmpeg2) \ |
387 |
$(use_enable mtp) \ |
388 |
$(use_enable musepack mpc) \ |
389 |
$(use_enable ncurses) \ |
390 |
$(use_enable nsplugin mozilla) --with-mozilla-pkg=libxul \ |
391 |
$(use_enable ogg) \ |
392 |
$(use_enable opengl glx) $(use_enable opengl) \ |
393 |
$(use_enable optimisememory optimize-memory) \ |
394 |
$(use_enable oss) \ |
395 |
$(use_enable png) \ |
396 |
--disable-portaudio \ |
397 |
$(use_enable projectm) \ |
398 |
$(use_enable pulseaudio pulse) \ |
399 |
$(use_enable pvr) \ |
400 |
$(use_enable qt4) \ |
401 |
$(use_enable remoteosd) \ |
402 |
$(use_enable rtsp realrtsp) \ |
403 |
$(use_enable run-as-root) \ |
404 |
$(use_enable samba smb) \ |
405 |
$(use_enable schroedinger) \ |
406 |
$(use_enable sdl) \ |
407 |
$(use_enable sdl-image) \ |
408 |
$(use_enable shine) \ |
409 |
$(use_enable shout) \ |
410 |
$(use_enable skins skins2) \ |
411 |
$(use_enable speex) \ |
412 |
$(use_enable sqlite) \ |
413 |
$(use_enable sse) \ |
414 |
$(use_enable stream sout) \ |
415 |
$(use_enable svg) \ |
416 |
$(use_enable svga svgalib) \ |
417 |
$(use_enable taglib) \ |
418 |
$(use_enable theora) \ |
419 |
$(use_enable truetype freetype) \ |
420 |
$(use_enable twolame) \ |
421 |
$(use_enable udev) \ |
422 |
$(use_enable upnp) \ |
423 |
--disable-v4l \ |
424 |
$(use_enable v4l v4l2) \ |
425 |
$(use_enable vcdx) \ |
426 |
$(use_enable vaapi libva) \ |
427 |
$(use_enable vlm) \ |
428 |
$(use_enable vorbis) \ |
429 |
$(use_enable win32codecs loader) \ |
430 |
$(use_enable wma-fixed) \ |
431 |
$(use_with X x) \ |
432 |
$(use_enable x264) \ |
433 |
$(use_enable xcb) \ |
434 |
$(use_enable xml libxml2) \ |
435 |
$(use_enable xosd) \ |
436 |
$(use_enable xv xvideo) \ |
437 |
$(use_enable zvbi) $(use_enable !zvbi telx) \ |
438 |
--disable-snapshot \ |
439 |
--disable-growl \ |
440 |
--disable-optimizations \ |
441 |
--enable-fast-install \ |
442 |
$(vlc_use_enable_force vlm sout) \ |
443 |
$(vlc_use_enable_force skins qt4) \ |
444 |
$(vlc_use_enable_force skins freetype) \ |
445 |
$(vlc_use_enable_force remoteosd libgcrypt) \ |
446 |
$(vlc_use_enable_force gnutls libgcrypt) \ |
447 |
$(vlc_use_enable_force vaapi avcodec) \ |
448 |
$(vlc_use_enable_force nsplugin xcb) \ |
449 |
$(use sdl && echo '--with-x') \ |
450 |
$(use xosd && echo '--with-x') \ |
451 |
$(use aalib && echo '--with-x') |
452 |
} |
453 |
|
454 |
src_install() { |
455 |
emake DESTDIR="${D}" install || die "make install failed" |
456 |
|
457 |
dodoc AUTHORS HACKING THANKS NEWS README \ |
458 |
doc/fortunes.txt doc/intf-vcd.txt |
459 |
|
460 |
rm -rf "${D}/usr/share/doc/vlc" \ |
461 |
"${D}"/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico} |
462 |
|
463 |
if use nsplugin; then |
464 |
dodir "/usr/$(get_libdir)/${PLUGINS_DIR}" |
465 |
mv "${D}"/usr/$(get_libdir)/mozilla/plugins/* \ |
466 |
"${D}/usr/$(get_libdir)/${PLUGINS_DIR}/" |
467 |
fi |
468 |
|
469 |
use skins || rm -rf "${D}/usr/share/vlc/skins2" |
470 |
} |
471 |
|
472 |
pkg_postinst() { |
473 |
gnome2_pkg_postinst |
474 |
|
475 |
if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then |
476 |
einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/" |
477 |
"/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/" |
478 |
else |
479 |
ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)" |
480 |
ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually" |
481 |
ewarn "If you do not do it, vlc will take a long time to load." |
482 |
fi |
483 |
} |