1 |
tomwij 13/10/26 08:58:23 |
2 |
|
3 |
Modified: vlc-2.0.9999.ebuild ChangeLog |
4 |
Added: vlc-2.0.9.ebuild vlc-2.0.8a.ebuild vlc-2.0.8.ebuild |
5 |
Log: |
6 |
Version bumps 2.0.8, 2.0.8a and 2.0.9. |
7 |
|
8 |
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.31 media-video/vlc/vlc-2.0.9999.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.9999.ebuild?rev=1.31&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.9999.ebuild?rev=1.31&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.9999.ebuild?r1=1.30&r2=1.31 |
16 |
|
17 |
Index: vlc-2.0.9999.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.9999.ebuild,v |
20 |
retrieving revision 1.30 |
21 |
retrieving revision 1.31 |
22 |
diff -u -r1.30 -r1.31 |
23 |
--- vlc-2.0.9999.ebuild 26 Oct 2013 08:29:54 -0000 1.30 |
24 |
+++ vlc-2.0.9999.ebuild 26 Oct 2013 08:58:23 -0000 1.31 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2013 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.9999.ebuild,v 1.30 2013/10/26 08:29:54 tomwij Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.9999.ebuild,v 1.31 2013/10/26 08:58:23 tomwij Exp $ |
30 |
|
31 |
EAPI="5" |
32 |
|
33 |
@@ -184,7 +184,7 @@ |
34 |
xv? ( xcb ) |
35 |
" |
36 |
|
37 |
-S="${WORKDIR}/${MY_P}" |
38 |
+S="${WORKDIR}/${MY_P/a/}" |
39 |
|
40 |
pkg_setup() { |
41 |
if [[ "$(tc-getCC)" == *"gcc"* ]] ; then |
42 |
|
43 |
|
44 |
|
45 |
1.865 media-video/vlc/ChangeLog |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?rev=1.865&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?rev=1.865&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?r1=1.864&r2=1.865 |
50 |
|
51 |
Index: ChangeLog |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v |
54 |
retrieving revision 1.864 |
55 |
retrieving revision 1.865 |
56 |
diff -u -r1.864 -r1.865 |
57 |
--- ChangeLog 26 Oct 2013 08:29:54 -0000 1.864 |
58 |
+++ ChangeLog 26 Oct 2013 08:58:23 -0000 1.865 |
59 |
@@ -1,6 +1,14 @@ |
60 |
# ChangeLog for media-video/vlc |
61 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.864 2013/10/26 08:29:54 tomwij Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.865 2013/10/26 08:58:23 tomwij Exp $ |
64 |
+ |
65 |
+*vlc-2.0.8 (26 Oct 2013) |
66 |
+*vlc-2.0.9 (26 Oct 2013) |
67 |
+*vlc-2.0.8a (26 Oct 2013) |
68 |
+ |
69 |
+ 26 Oct 2013; Tom Wijsman <TomWij@g.o> +vlc-2.0.8.ebuild, |
70 |
+ +vlc-2.0.8a.ebuild, +vlc-2.0.9.ebuild, vlc-2.0.9999.ebuild: |
71 |
+ Version bumps 2.0.8, 2.0.8a and 2.0.9. |
72 |
|
73 |
26 Oct 2013; Tom Wijsman <TomWij@g.o> metadata.xml, |
74 |
vlc-2.0.9999.ebuild, vlc-2.1.9999.ebuild, vlc-9999.ebuild: |
75 |
|
76 |
|
77 |
|
78 |
1.1 media-video/vlc/vlc-2.0.9.ebuild |
79 |
|
80 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.9.ebuild?rev=1.1&view=markup |
81 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.9.ebuild?rev=1.1&content-type=text/plain |
82 |
|
83 |
Index: vlc-2.0.9.ebuild |
84 |
=================================================================== |
85 |
# Copyright 1999-2013 Gentoo Foundation |
86 |
# Distributed under the terms of the GNU General Public License v2 |
87 |
# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.9.ebuild,v 1.1 2013/10/26 08:58:23 tomwij Exp $ |
88 |
|
89 |
EAPI="5" |
90 |
|
91 |
SCM="" |
92 |
if [ "${PV%9999}" != "${PV}" ] ; then |
93 |
SCM="git-r3" |
94 |
|
95 |
if [ "${PV%.9999}" != "${PV}" ] ; then |
96 |
EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git" |
97 |
else |
98 |
EGIT_REPO_URI="git://git.videolan.org/vlc.git" |
99 |
fi |
100 |
fi |
101 |
|
102 |
inherit eutils multilib autotools toolchain-funcs flag-o-matic ${SCM} |
103 |
|
104 |
MY_PV="${PV/_/-}" |
105 |
MY_PV="${MY_PV/-beta/-test}" |
106 |
MY_P="${PN}-${MY_PV}" |
107 |
|
108 |
DESCRIPTION="VLC media player - Video player and streamer" |
109 |
HOMEPAGE="http://www.videolan.org/vlc/" |
110 |
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
111 |
SRC_URI="" |
112 |
elif [[ "${MY_P}" == "${P}" ]]; then |
113 |
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV/a/}/${P}.tar.xz" |
114 |
else |
115 |
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz" |
116 |
fi |
117 |
|
118 |
LICENSE="LGPL-2.1 GPL-2" |
119 |
SLOT="0" |
120 |
|
121 |
if [ "${PV%9999}" = "${PV}" ] ; then |
122 |
KEYWORDS="~amd64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd" |
123 |
else |
124 |
KEYWORDS="" |
125 |
fi |
126 |
|
127 |
IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec |
128 |
+avformat bidi bluray cdda cddb dbus dc1394 debug dirac direct2d |
129 |
directfb directx dshow dts dvb +dvbpsi dvd dxva2 elibc_glibc egl +encode |
130 |
faad fbosd fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls |
131 |
growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify |
132 |
libproxy libsamplerate libtiger linsys libtar lirc live lua +macosx |
133 |
+macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext |
134 |
+macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg |
135 |
mtp musepack ncurses neon ogg omxil opengl optimisememory opus oss |
136 |
png portaudio +postproc projectm pulseaudio pvr qt4 rtsp run-as-root samba |
137 |
schroedinger sdl sdl-image sftp shine shout sid skins speex sqlite sse svg |
138 |
+swscale switcher taglib theora tremor truetype twolame udev upnp vaapi v4l |
139 |
vcdx visual vlm vorbis waveout wingdi wma-fixed +X x264 +xcb xml xosd xv |
140 |
zvbi" |
141 |
|
142 |
RDEPEND=" |
143 |
dev-libs/libgpg-error:0 |
144 |
net-dns/libidn:0 |
145 |
net-misc/freerdp:0 |
146 |
>=sys-devel/gettext-0.18.3:0 |
147 |
>=sys-libs/zlib-1.2.5.1-r2:0[minizip] |
148 |
a52? ( >=media-libs/a52dec-0.7.4-r3:0 ) |
149 |
aalib? ( media-libs/aalib:0 ) |
150 |
alsa? ( >=media-libs/alsa-lib-1.0.23:0 ) |
151 |
avahi? ( >=net-dns/avahi-0.6:0[dbus] ) |
152 |
avcodec? ( virtual/ffmpeg:0 ) |
153 |
avformat? ( virtual/ffmpeg:0 ) |
154 |
bidi? ( >=dev-libs/fribidi-0.10.4:0 ) |
155 |
bluray? ( >=media-libs/libbluray-0.2.1:0 ) |
156 |
cddb? ( >=media-libs/libcddb-1.2.0:0 ) |
157 |
dbus? ( >=sys-apps/dbus-1.0.2:0 ) |
158 |
dc1394? ( >=sys-libs/libraw1394-2.0.1:0 >=media-libs/libdc1394-2.0.2:2 ) |
159 |
dirac? ( >=media-video/dirac-0.10.0:0 ) |
160 |
directfb? ( dev-libs/DirectFB:0 sys-libs/zlib:0 ) |
161 |
dts? ( media-libs/libdca:0 ) |
162 |
dvbpsi? ( >=media-libs/libdvbpsi-0.2.1:0 ) |
163 |
dvd? ( media-libs/libdvdread:0 >=media-libs/libdvdnav-0.1.9:0 ) |
164 |
egl? ( virtual/opengl:0 ) |
165 |
elibc_glibc? ( >=sys-libs/glibc-2.8:2.2 ) |
166 |
faad? ( >=media-libs/faad2-2.6.1:0 ) |
167 |
flac? ( media-libs/libogg:0 >=media-libs/flac-1.1.2:0 ) |
168 |
fluidsynth? ( media-sound/fluidsynth:0 ) |
169 |
fontconfig? ( media-libs/fontconfig:1.0 ) |
170 |
gcrypt? ( >=dev-libs/libgcrypt-1.2.0:0 ) |
171 |
gme? ( media-libs/game-music-emu:0 ) |
172 |
gnome? ( gnome-base/gnome-vfs:2 dev-libs/glib:2 ) |
173 |
gnutls? ( >=net-libs/gnutls-2.0.0:0 ) |
174 |
ieee1394? ( >=sys-libs/libraw1394-2.0.1:0 >=sys-libs/libavc1394-0.5.3:0 ) |
175 |
ios-vout? ( virtual/opengl:0 ) |
176 |
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1:0 ) |
177 |
kate? ( >=media-libs/libkate-0.1.1:0 ) |
178 |
libass? ( >=media-libs/libass-0.9.8:0 media-libs/fontconfig:1.0 ) |
179 |
libcaca? ( >=media-libs/libcaca-0.99_beta14:0 ) |
180 |
libnotify? ( x11-libs/libnotify:0 x11-libs/gtk+:2 x11-libs/gdk-pixbuf:2 dev-libs/glib:2 ) |
181 |
libproxy? ( net-libs/libproxy:0 ) |
182 |
libsamplerate? ( media-libs/libsamplerate:0 ) |
183 |
libtar? ( >=dev-libs/libtar-1.2.11-r3:0 ) |
184 |
libtiger? ( media-libs/libtiger:0 ) |
185 |
linsys? ( >=media-libs/zvbi-0.2.28:0 ) |
186 |
lirc? ( app-misc/lirc:0 ) |
187 |
live? ( >=media-plugins/live-2011.12.23:0 ) |
188 |
lua? ( >=dev-lang/lua-5.1:0 ) |
189 |
macosx-vout? ( virtual/opengl:0 ) |
190 |
matroska? ( >=dev-libs/libebml-1.0.0:0= >=media-libs/libmatroska-1.0.0:0= ) |
191 |
modplug? ( >=media-libs/libmodplug-0.8.8.1:0 ) |
192 |
mp3? ( media-libs/libmad:0 ) |
193 |
mpeg? ( >=media-libs/libmpeg2-0.3.2:0 ) |
194 |
mtp? ( >=media-libs/libmtp-1.0.0:0 ) |
195 |
musepack? ( >=media-sound/musepack-tools-444:0 ) |
196 |
ncurses? ( sys-libs/ncurses:5[unicode] ) |
197 |
ogg? ( media-libs/libogg:0 ) |
198 |
opengl? ( virtual/opengl:0 >=x11-libs/libX11-1.3.99.901:0 ) |
199 |
opus? ( >=media-libs/opus-1.0.3:0 ) |
200 |
png? ( media-libs/libpng:0= sys-libs/zlib:0 ) |
201 |
portaudio? ( >=media-libs/portaudio-19_pre:0 ) |
202 |
postproc? ( || ( media-video/ffmpeg:0= media-libs/libpostproc:0 ) ) |
203 |
projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) |
204 |
pulseaudio? ( >=media-sound/pulseaudio-0.9.22:0 ) |
205 |
qt4? ( dev-qt/qtgui:4 dev-qt/qtcore:4 ) |
206 |
samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4.0.0:0[client] ) ) |
207 |
schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) |
208 |
sdl? ( >=media-libs/libsdl-1.2.8:0 |
209 |
sdl-image? ( media-libs/sdl-image:0 sys-libs/zlib:0 ) ) |
210 |
sftp? ( net-libs/libssh2:0 ) |
211 |
shout? ( media-libs/libshout:0 ) |
212 |
sid? ( media-libs/libsidplay:2 ) |
213 |
skins? ( x11-libs/libXext:0 x11-libs/libXpm:0 x11-libs/libXinerama:0 ) |
214 |
speex? ( media-libs/speex:0 ) |
215 |
sqlite? ( >=dev-db/sqlite-3.6.0:3 ) |
216 |
svg? ( >=gnome-base/librsvg-2.9.0:2 ) |
217 |
swscale? ( virtual/ffmpeg:0 ) |
218 |
taglib? ( >=media-libs/taglib-1.5:0 sys-libs/zlib:0 ) |
219 |
theora? ( >=media-libs/libtheora-1.0_beta3:0 ) |
220 |
tremor? ( media-libs/tremor:0 ) |
221 |
truetype? ( media-libs/freetype:2 virtual/ttf-fonts:0 |
222 |
!fontconfig? ( media-fonts/dejavu:0 ) ) |
223 |
twolame? ( media-sound/twolame:0 ) |
224 |
udev? ( virtual/udev:0 ) |
225 |
upnp? ( net-libs/libupnp:0 ) |
226 |
v4l? ( media-libs/libv4l:0 ) |
227 |
vaapi? ( x11-libs/libva:0 ) |
228 |
vcdx? ( >=dev-libs/libcdio-0.78.2:0 >=media-video/vcdimager-0.7.22:0 ) |
229 |
visual? ( media-libs/libvisual:0.4 ) |
230 |
vorbis? ( media-libs/libvorbis:0 ) |
231 |
X? ( x11-libs/libX11:0 ) |
232 |
x264? ( >=media-libs/x264-0.0.20090923:0= ) |
233 |
xcb? ( >=x11-libs/libxcb-1.6:0 >=x11-libs/xcb-util-0.3.4:0 x11-libs/xcb-util-keysyms:0 ) |
234 |
xml? ( dev-libs/libxml2:2 ) |
235 |
xosd? ( x11-libs/xosd:0 ) |
236 |
zvbi? ( >=media-libs/zvbi-0.2.25:0 ) |
237 |
" |
238 |
|
239 |
DEPEND="${RDEPEND} |
240 |
fbosd? ( sys-kernel/linux-headers:0 ) |
241 |
kde? ( >=kde-base/kdelibs-4:4 ) |
242 |
xcb? ( x11-proto/xproto:0 ) |
243 |
app-arch/xz-utils:0 |
244 |
virtual/pkgconfig:0" |
245 |
|
246 |
REQUIRED_USE=" |
247 |
aalib? ( X ) |
248 |
bidi? ( truetype ) |
249 |
cddb? ( cdda ) |
250 |
dvb? ( dvbpsi ) |
251 |
dxva2? ( avcodec ) |
252 |
egl? ( X ) |
253 |
ffmpeg? ( avcodec avformat swscale postproc ) |
254 |
fontconfig? ( truetype ) |
255 |
gnutls? ( gcrypt ) |
256 |
httpd? ( lua ) |
257 |
libcaca? ( X ) |
258 |
libtar? ( skins ) |
259 |
libtiger? ( kate ) |
260 |
media-library? ( sqlite ) |
261 |
qt4? ( X ) |
262 |
sdl? ( X ) |
263 |
skins? ( truetype qt4 X ) |
264 |
switcher? ( avcodec ) |
265 |
vaapi? ( avcodec X ) |
266 |
vlm? ( encode ) |
267 |
xosd? ( X ) |
268 |
xv? ( xcb ) |
269 |
" |
270 |
|
271 |
S="${WORKDIR}/${MY_P/a/}" |
272 |
|
273 |
pkg_setup() { |
274 |
if [[ "$(tc-getCC)" == *"gcc"* ]] ; then |
275 |
if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then |
276 |
die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754." |
277 |
fi |
278 |
fi |
279 |
} |
280 |
|
281 |
src_unpack() { |
282 |
if [ "${PV%9999}" != "${PV}" ] ; then |
283 |
git-r3_src_unpack |
284 |
else |
285 |
unpack ${A} |
286 |
fi |
287 |
} |
288 |
|
289 |
src_prepare() { |
290 |
# Remove unnecessary warnings about unimplemented pragmas on gcc for now. |
291 |
# Need to recheck this with gcc 4.9 and every subsequent minor bump of gcc. |
292 |
# |
293 |
# config.h:792: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas] |
294 |
# config.h:793: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas] |
295 |
# |
296 |
# http://gcc.gnu.org/c99status.html |
297 |
if [[ "$(tc-getCC)" == *"gcc"* ]] ; then |
298 |
sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die |
299 |
fi |
300 |
|
301 |
# _FORTIFY_SOURCE is set to 2 by default on Gentoo, remove redefine warnings. |
302 |
sed -i '/_FORTIFY_SOURCE.*, 2,/d' configure.ac || die |
303 |
|
304 |
# Bootstrap when we are on a git checkout. |
305 |
if [[ "${PV%9999}" != "${PV}" ]] ; then |
306 |
./bootstrap |
307 |
fi |
308 |
|
309 |
# Make it build with libtool 1.5 |
310 |
rm -f m4/lt* m4/libtool.m4 || die |
311 |
|
312 |
# Fix mistakes. |
313 |
if use truetype || use projectm ; then |
314 |
epatch "${FILESDIR}"/${PN}-2.0.8-freetype-proper-default-font.patch |
315 |
fi |
316 |
|
317 |
# Patch up incompatibilities and reconfigure autotools. |
318 |
epatch "${FILESDIR}"/${PN}-2.0.8-support-uclibc.patch |
319 |
|
320 |
# We are not in a real git checkout due to the absence of a .git directory. |
321 |
touch src/revision.txt || die |
322 |
|
323 |
eautoreconf |
324 |
} |
325 |
|
326 |
src_configure() { |
327 |
# Compatibility fix for Samba 4. |
328 |
use samba && append-cppflags "-I/usr/include/samba-4.0" |
329 |
|
330 |
# Needs libresid-builder from libsidplay:2 which is in another directory... |
331 |
# FIXME! |
332 |
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" |
333 |
|
334 |
econf \ |
335 |
${myconf} \ |
336 |
--enable-vlc \ |
337 |
--docdir=/usr/share/doc/${PF} \ |
338 |
--disable-dependency-tracking \ |
339 |
--disable-loader \ |
340 |
--disable-optimizations \ |
341 |
--disable-update-check \ |
342 |
--enable-fast-install \ |
343 |
--enable-screen \ |
344 |
$(use_enable a52) \ |
345 |
$(use_enable aalib aa) \ |
346 |
$(use_enable alsa) \ |
347 |
$(use_enable altivec) \ |
348 |
$(use_enable atmo) \ |
349 |
$(use_enable audioqueue) \ |
350 |
$(use_enable avahi bonjour) \ |
351 |
$(use_enable avcodec) \ |
352 |
$(use_enable avformat) \ |
353 |
$(use_enable bidi fribidi) \ |
354 |
$(use_enable bluray) \ |
355 |
$(use_enable cdda vcd) \ |
356 |
$(use_enable cddb libcddb) \ |
357 |
$(use_enable dbus) $(use_enable dbus dbus-control) \ |
358 |
$(use_enable dirac) \ |
359 |
$(use_enable direct2d) \ |
360 |
$(use_enable directfb) \ |
361 |
$(use_enable directx) \ |
362 |
$(use_enable dc1394) \ |
363 |
$(use_enable debug) \ |
364 |
$(use_enable dshow) \ |
365 |
$(use_enable dts dca) \ |
366 |
$(use_enable dvbpsi) \ |
367 |
$(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ |
368 |
$(use_enable dxva2) \ |
369 |
$(use_enable egl) \ |
370 |
$(use_enable encode sout) \ |
371 |
$(use_enable faad) \ |
372 |
$(use_enable fbosd) \ |
373 |
$(use_enable flac) \ |
374 |
$(use_enable fluidsynth) \ |
375 |
$(use_enable fontconfig) \ |
376 |
$(use_enable gcrypt libgcrypt) \ |
377 |
$(use_enable gme) \ |
378 |
$(use_enable gnome gnomevfs) \ |
379 |
$(use_enable gnutls) \ |
380 |
$(use_enable growl) \ |
381 |
$(use_enable httpd) \ |
382 |
$(use_enable ieee1394 dv) \ |
383 |
$(use_enable ios-vout) \ |
384 |
$(use_enable jack) \ |
385 |
$(use_enable kate) \ |
386 |
$(use_with kde kde-solid) \ |
387 |
$(use_enable libass) \ |
388 |
$(use_enable libcaca caca) \ |
389 |
$(use_enable libnotify notify) \ |
390 |
$(use_enable libproxy) \ |
391 |
$(use_enable libsamplerate samplerate) \ |
392 |
$(use_enable libtar) \ |
393 |
$(use_enable libtiger tiger) \ |
394 |
$(use_enable linsys) \ |
395 |
$(use_enable lirc) \ |
396 |
$(use_enable live live555) \ |
397 |
$(use_enable lua) \ |
398 |
$(use_enable macosx-audio) \ |
399 |
$(use_enable macosx-dialog-provider) \ |
400 |
$(use_enable macosx-eyetv) \ |
401 |
$(use_enable macosx-qtkit) \ |
402 |
$(use_enable macosx-quartztext) \ |
403 |
$(use_enable macosx-vout) \ |
404 |
$(use_enable matroska mkv) \ |
405 |
$(use_enable media-library) \ |
406 |
$(use_enable mmx) \ |
407 |
$(use_enable modplug mod) \ |
408 |
$(use_enable mp3 mad) \ |
409 |
$(use_enable mpeg libmpeg2) \ |
410 |
$(use_enable mtp) \ |
411 |
$(use_enable musepack mpc) \ |
412 |
$(use_enable ncurses) \ |
413 |
$(use_enable neon) \ |
414 |
$(use_enable ogg) $(use_enable ogg mux_ogg) \ |
415 |
$(use_enable omxil) \ |
416 |
$(use_enable opengl glx) \ |
417 |
$(use_enable opus) \ |
418 |
$(use_enable optimisememory optimize-memory) \ |
419 |
$(use_enable oss) \ |
420 |
$(use_enable png) \ |
421 |
$(use_enable portaudio) \ |
422 |
$(use_enable postproc) \ |
423 |
$(use_enable projectm) \ |
424 |
$(use_enable pulseaudio pulse) \ |
425 |
$(use_enable pvr) \ |
426 |
$(use_enable qt4) \ |
427 |
$(use_enable rtsp realrtsp) \ |
428 |
$(use_enable run-as-root) \ |
429 |
$(use_enable samba smb) \ |
430 |
$(use_enable schroedinger) \ |
431 |
$(use_enable sdl) \ |
432 |
$(use_enable sdl-image) \ |
433 |
$(use_enable sftp) \ |
434 |
$(use_enable shine) \ |
435 |
$(use_enable sid) \ |
436 |
$(use_enable shout) \ |
437 |
$(use_enable skins skins2) \ |
438 |
$(use_enable speex) \ |
439 |
$(use_enable sqlite) \ |
440 |
$(use_enable sse) \ |
441 |
$(use_enable svg) \ |
442 |
$(use_enable switcher) \ |
443 |
$(use_enable swscale) \ |
444 |
$(use_enable taglib) \ |
445 |
$(use_enable theora) \ |
446 |
$(use_enable tremor) \ |
447 |
$(use_enable truetype freetype) \ |
448 |
$(use_enable twolame) \ |
449 |
$(use_enable udev) \ |
450 |
$(use_enable upnp) \ |
451 |
$(use_enable v4l v4l2) \ |
452 |
$(use_enable vaapi libva) \ |
453 |
$(use_enable vcdx) \ |
454 |
$(use_enable visual) \ |
455 |
$(use_enable vlm) \ |
456 |
$(use_enable vorbis) \ |
457 |
$(use_enable waveout) \ |
458 |
$(use_enable wingdi) \ |
459 |
$(use_enable wma-fixed) \ |
460 |
$(use_with X x) \ |
461 |
$(use_enable x264) \ |
462 |
$(use_enable xcb) \ |
463 |
$(use_enable xml libxml2) \ |
464 |
$(use_enable xosd) \ |
465 |
$(use_enable xv xvideo) \ |
466 |
$(use_enable zvbi) $(use_enable !zvbi telx) \ |
467 |
--disable-crystalhd \ |
468 |
--disable-decklink \ |
469 |
--disable-goom \ |
470 |
--disable-hildon \ |
471 |
--disable-iomx \ |
472 |
--disable-kai \ |
473 |
--disable-kva \ |
474 |
--disable-opencv |
475 |
|
476 |
# ^ We don't have these disables libraries in the Portage tree yet. |
477 |
} |
478 |
|
479 |
DOCS="AUTHORS THANKS NEWS README doc/fortunes.txt doc/intf-vcd.txt" |
480 |
|
481 |
src_install() { |
482 |
default |
483 |
|
484 |
# Punt useless libtool's .la files |
485 |
find "${D}" -name '*.la' -delete |
486 |
} |
487 |
|
488 |
pkg_postinst() { |
489 |
if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then |
490 |
einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/" |
491 |
"/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/" |
492 |
else |
493 |
ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)" |
494 |
ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually" |
495 |
ewarn "If you do not do it, vlc will take a long time to load." |
496 |
fi |
497 |
} |
498 |
|
499 |
|
500 |
|
501 |
1.1 media-video/vlc/vlc-2.0.8a.ebuild |
502 |
|
503 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.8a.ebuild?rev=1.1&view=markup |
504 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.8a.ebuild?rev=1.1&content-type=text/plain |
505 |
|
506 |
Index: vlc-2.0.8a.ebuild |
507 |
=================================================================== |
508 |
# Copyright 1999-2013 Gentoo Foundation |
509 |
# Distributed under the terms of the GNU General Public License v2 |
510 |
# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.8a.ebuild,v 1.1 2013/10/26 08:58:23 tomwij Exp $ |
511 |
|
512 |
EAPI="5" |
513 |
|
514 |
SCM="" |
515 |
if [ "${PV%9999}" != "${PV}" ] ; then |
516 |
SCM="git-r3" |
517 |
|
518 |
if [ "${PV%.9999}" != "${PV}" ] ; then |
519 |
EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git" |
520 |
else |
521 |
EGIT_REPO_URI="git://git.videolan.org/vlc.git" |
522 |
fi |
523 |
fi |
524 |
|
525 |
inherit eutils multilib autotools toolchain-funcs flag-o-matic ${SCM} |
526 |
|
527 |
MY_PV="${PV/_/-}" |
528 |
MY_PV="${MY_PV/-beta/-test}" |
529 |
MY_P="${PN}-${MY_PV}" |
530 |
|
531 |
DESCRIPTION="VLC media player - Video player and streamer" |
532 |
HOMEPAGE="http://www.videolan.org/vlc/" |
533 |
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
534 |
SRC_URI="" |
535 |
elif [[ "${MY_P}" == "${P}" ]]; then |
536 |
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV/a/}/${P}.tar.xz" |
537 |
else |
538 |
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz" |
539 |
fi |
540 |
|
541 |
LICENSE="LGPL-2.1 GPL-2" |
542 |
SLOT="0" |
543 |
|
544 |
if [ "${PV%9999}" = "${PV}" ] ; then |
545 |
KEYWORDS="~amd64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd" |
546 |
else |
547 |
KEYWORDS="" |
548 |
fi |
549 |
|
550 |
IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec |
551 |
+avformat bidi bluray cdda cddb dbus dc1394 debug dirac direct2d |
552 |
directfb directx dshow dts dvb +dvbpsi dvd dxva2 elibc_glibc egl +encode |
553 |
faad fbosd fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls |
554 |
growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify |
555 |
libproxy libsamplerate libtiger linsys libtar lirc live lua +macosx |
556 |
+macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext |
557 |
+macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg |
558 |
mtp musepack ncurses neon ogg omxil opengl optimisememory opus oss |
559 |
png portaudio +postproc projectm pulseaudio pvr qt4 rtsp run-as-root samba |
560 |
schroedinger sdl sdl-image sftp shine shout sid skins speex sqlite sse svg |
561 |
+swscale switcher taglib theora tremor truetype twolame udev upnp vaapi v4l |
562 |
vcdx visual vlm vorbis waveout wingdi wma-fixed +X x264 +xcb xml xosd xv |
563 |
zvbi" |
564 |
|
565 |
RDEPEND=" |
566 |
dev-libs/libgpg-error:0 |
567 |
net-dns/libidn:0 |
568 |
net-misc/freerdp:0 |
569 |
>=sys-devel/gettext-0.18.3:0 |
570 |
>=sys-libs/zlib-1.2.5.1-r2:0[minizip] |
571 |
a52? ( >=media-libs/a52dec-0.7.4-r3:0 ) |
572 |
aalib? ( media-libs/aalib:0 ) |
573 |
alsa? ( >=media-libs/alsa-lib-1.0.23:0 ) |
574 |
avahi? ( >=net-dns/avahi-0.6:0[dbus] ) |
575 |
avcodec? ( virtual/ffmpeg:0 ) |
576 |
avformat? ( virtual/ffmpeg:0 ) |
577 |
bidi? ( >=dev-libs/fribidi-0.10.4:0 ) |
578 |
bluray? ( >=media-libs/libbluray-0.2.1:0 ) |
579 |
cddb? ( >=media-libs/libcddb-1.2.0:0 ) |
580 |
dbus? ( >=sys-apps/dbus-1.0.2:0 ) |
581 |
dc1394? ( >=sys-libs/libraw1394-2.0.1:0 >=media-libs/libdc1394-2.0.2:2 ) |
582 |
dirac? ( >=media-video/dirac-0.10.0:0 ) |
583 |
directfb? ( dev-libs/DirectFB:0 sys-libs/zlib:0 ) |
584 |
dts? ( media-libs/libdca:0 ) |
585 |
dvbpsi? ( >=media-libs/libdvbpsi-0.2.1:0 ) |
586 |
dvd? ( media-libs/libdvdread:0 >=media-libs/libdvdnav-0.1.9:0 ) |
587 |
egl? ( virtual/opengl:0 ) |
588 |
elibc_glibc? ( >=sys-libs/glibc-2.8:2.2 ) |
589 |
faad? ( >=media-libs/faad2-2.6.1:0 ) |
590 |
flac? ( media-libs/libogg:0 >=media-libs/flac-1.1.2:0 ) |
591 |
fluidsynth? ( media-sound/fluidsynth:0 ) |
592 |
fontconfig? ( media-libs/fontconfig:1.0 ) |
593 |
gcrypt? ( >=dev-libs/libgcrypt-1.2.0:0 ) |
594 |
gme? ( media-libs/game-music-emu:0 ) |
595 |
gnome? ( gnome-base/gnome-vfs:2 dev-libs/glib:2 ) |
596 |
gnutls? ( >=net-libs/gnutls-2.0.0:0 ) |
597 |
ieee1394? ( >=sys-libs/libraw1394-2.0.1:0 >=sys-libs/libavc1394-0.5.3:0 ) |
598 |
ios-vout? ( virtual/opengl:0 ) |
599 |
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1:0 ) |
600 |
kate? ( >=media-libs/libkate-0.1.1:0 ) |
601 |
libass? ( >=media-libs/libass-0.9.8:0 media-libs/fontconfig:1.0 ) |
602 |
libcaca? ( >=media-libs/libcaca-0.99_beta14:0 ) |
603 |
libnotify? ( x11-libs/libnotify:0 x11-libs/gtk+:2 x11-libs/gdk-pixbuf:2 dev-libs/glib:2 ) |
604 |
libproxy? ( net-libs/libproxy:0 ) |
605 |
libsamplerate? ( media-libs/libsamplerate:0 ) |
606 |
libtar? ( >=dev-libs/libtar-1.2.11-r3:0 ) |
607 |
libtiger? ( media-libs/libtiger:0 ) |
608 |
linsys? ( >=media-libs/zvbi-0.2.28:0 ) |
609 |
lirc? ( app-misc/lirc:0 ) |
610 |
live? ( >=media-plugins/live-2011.12.23:0 ) |
611 |
lua? ( >=dev-lang/lua-5.1:0 ) |
612 |
macosx-vout? ( virtual/opengl:0 ) |
613 |
matroska? ( >=dev-libs/libebml-1.0.0:0= >=media-libs/libmatroska-1.0.0:0= ) |
614 |
modplug? ( >=media-libs/libmodplug-0.8.8.1:0 ) |
615 |
mp3? ( media-libs/libmad:0 ) |
616 |
mpeg? ( >=media-libs/libmpeg2-0.3.2:0 ) |
617 |
mtp? ( >=media-libs/libmtp-1.0.0:0 ) |
618 |
musepack? ( >=media-sound/musepack-tools-444:0 ) |
619 |
ncurses? ( sys-libs/ncurses:5[unicode] ) |
620 |
ogg? ( media-libs/libogg:0 ) |
621 |
opengl? ( virtual/opengl:0 >=x11-libs/libX11-1.3.99.901:0 ) |
622 |
opus? ( >=media-libs/opus-1.0.3:0 ) |
623 |
png? ( media-libs/libpng:0= sys-libs/zlib:0 ) |
624 |
portaudio? ( >=media-libs/portaudio-19_pre:0 ) |
625 |
postproc? ( || ( media-video/ffmpeg:0= media-libs/libpostproc:0 ) ) |
626 |
projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) |
627 |
pulseaudio? ( >=media-sound/pulseaudio-0.9.22:0 ) |
628 |
qt4? ( dev-qt/qtgui:4 dev-qt/qtcore:4 ) |
629 |
samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4.0.0:0[client] ) ) |
630 |
schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) |
631 |
sdl? ( >=media-libs/libsdl-1.2.8:0 |
632 |
sdl-image? ( media-libs/sdl-image:0 sys-libs/zlib:0 ) ) |
633 |
sftp? ( net-libs/libssh2:0 ) |
634 |
shout? ( media-libs/libshout:0 ) |
635 |
sid? ( media-libs/libsidplay:2 ) |
636 |
skins? ( x11-libs/libXext:0 x11-libs/libXpm:0 x11-libs/libXinerama:0 ) |
637 |
speex? ( media-libs/speex:0 ) |
638 |
sqlite? ( >=dev-db/sqlite-3.6.0:3 ) |
639 |
svg? ( >=gnome-base/librsvg-2.9.0:2 ) |
640 |
swscale? ( virtual/ffmpeg:0 ) |
641 |
taglib? ( >=media-libs/taglib-1.5:0 sys-libs/zlib:0 ) |
642 |
theora? ( >=media-libs/libtheora-1.0_beta3:0 ) |
643 |
tremor? ( media-libs/tremor:0 ) |
644 |
truetype? ( media-libs/freetype:2 virtual/ttf-fonts:0 |
645 |
!fontconfig? ( media-fonts/dejavu:0 ) ) |
646 |
twolame? ( media-sound/twolame:0 ) |
647 |
udev? ( virtual/udev:0 ) |
648 |
upnp? ( net-libs/libupnp:0 ) |
649 |
v4l? ( media-libs/libv4l:0 ) |
650 |
vaapi? ( x11-libs/libva:0 ) |
651 |
vcdx? ( >=dev-libs/libcdio-0.78.2:0 >=media-video/vcdimager-0.7.22:0 ) |
652 |
visual? ( media-libs/libvisual:0.4 ) |
653 |
vorbis? ( media-libs/libvorbis:0 ) |
654 |
X? ( x11-libs/libX11:0 ) |
655 |
x264? ( >=media-libs/x264-0.0.20090923:0= ) |
656 |
xcb? ( >=x11-libs/libxcb-1.6:0 >=x11-libs/xcb-util-0.3.4:0 x11-libs/xcb-util-keysyms:0 ) |
657 |
xml? ( dev-libs/libxml2:2 ) |
658 |
xosd? ( x11-libs/xosd:0 ) |
659 |
zvbi? ( >=media-libs/zvbi-0.2.25:0 ) |
660 |
" |
661 |
|
662 |
DEPEND="${RDEPEND} |
663 |
fbosd? ( sys-kernel/linux-headers:0 ) |
664 |
kde? ( >=kde-base/kdelibs-4:4 ) |
665 |
xcb? ( x11-proto/xproto:0 ) |
666 |
app-arch/xz-utils:0 |
667 |
virtual/pkgconfig:0" |
668 |
|
669 |
REQUIRED_USE=" |
670 |
aalib? ( X ) |
671 |
bidi? ( truetype ) |
672 |
cddb? ( cdda ) |
673 |
dvb? ( dvbpsi ) |
674 |
dxva2? ( avcodec ) |
675 |
egl? ( X ) |
676 |
ffmpeg? ( avcodec avformat swscale postproc ) |
677 |
fontconfig? ( truetype ) |
678 |
gnutls? ( gcrypt ) |
679 |
httpd? ( lua ) |
680 |
libcaca? ( X ) |
681 |
libtar? ( skins ) |
682 |
libtiger? ( kate ) |
683 |
media-library? ( sqlite ) |
684 |
qt4? ( X ) |
685 |
sdl? ( X ) |
686 |
skins? ( truetype qt4 X ) |
687 |
switcher? ( avcodec ) |
688 |
vaapi? ( avcodec X ) |
689 |
vlm? ( encode ) |
690 |
xosd? ( X ) |
691 |
xv? ( xcb ) |
692 |
" |
693 |
|
694 |
S="${WORKDIR}/${MY_P/a/}" |
695 |
|
696 |
pkg_setup() { |
697 |
if [[ "$(tc-getCC)" == *"gcc"* ]] ; then |
698 |
if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then |
699 |
die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754." |
700 |
fi |
701 |
fi |
702 |
} |
703 |
|
704 |
src_unpack() { |
705 |
if [ "${PV%9999}" != "${PV}" ] ; then |
706 |
git-r3_src_unpack |
707 |
else |
708 |
unpack ${A} |
709 |
fi |
710 |
} |
711 |
|
712 |
src_prepare() { |
713 |
# Remove unnecessary warnings about unimplemented pragmas on gcc for now. |
714 |
# Need to recheck this with gcc 4.9 and every subsequent minor bump of gcc. |
715 |
# |
716 |
# config.h:792: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas] |
717 |
# config.h:793: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas] |
718 |
# |
719 |
# http://gcc.gnu.org/c99status.html |
720 |
if [[ "$(tc-getCC)" == *"gcc"* ]] ; then |
721 |
sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die |
722 |
fi |
723 |
|
724 |
# _FORTIFY_SOURCE is set to 2 by default on Gentoo, remove redefine warnings. |
725 |
sed -i '/_FORTIFY_SOURCE.*, 2,/d' configure.ac || die |
726 |
|
727 |
# Bootstrap when we are on a git checkout. |
728 |
if [[ "${PV%9999}" != "${PV}" ]] ; then |
729 |
./bootstrap |
730 |
fi |
731 |
|
732 |
# Make it build with libtool 1.5 |
733 |
rm -f m4/lt* m4/libtool.m4 || die |
734 |
|
735 |
# Fix mistakes. |
736 |
if use truetype || use projectm ; then |
737 |
epatch "${FILESDIR}"/${PN}-2.0.8-freetype-proper-default-font.patch |
738 |
fi |
739 |
|
740 |
# Patch up incompatibilities and reconfigure autotools. |
741 |
epatch "${FILESDIR}"/${PN}-2.0.8-support-uclibc.patch |
742 |
|
743 |
# We are not in a real git checkout due to the absence of a .git directory. |
744 |
touch src/revision.txt || die |
745 |
|
746 |
eautoreconf |
747 |
} |
748 |
|
749 |
src_configure() { |
750 |
# Compatibility fix for Samba 4. |
751 |
use samba && append-cppflags "-I/usr/include/samba-4.0" |
752 |
|
753 |
# Needs libresid-builder from libsidplay:2 which is in another directory... |
754 |
# FIXME! |
755 |
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" |
756 |
|
757 |
econf \ |
758 |
${myconf} \ |
759 |
--enable-vlc \ |
760 |
--docdir=/usr/share/doc/${PF} \ |
761 |
--disable-dependency-tracking \ |
762 |
--disable-loader \ |
763 |
--disable-optimizations \ |
764 |
--disable-update-check \ |
765 |
--enable-fast-install \ |
766 |
--enable-screen \ |
767 |
$(use_enable a52) \ |
768 |
$(use_enable aalib aa) \ |
769 |
$(use_enable alsa) \ |
770 |
$(use_enable altivec) \ |
771 |
$(use_enable atmo) \ |
772 |
$(use_enable audioqueue) \ |
773 |
$(use_enable avahi bonjour) \ |
774 |
$(use_enable avcodec) \ |
775 |
$(use_enable avformat) \ |
776 |
$(use_enable bidi fribidi) \ |
777 |
$(use_enable bluray) \ |
778 |
$(use_enable cdda vcd) \ |
779 |
$(use_enable cddb libcddb) \ |
780 |
$(use_enable dbus) $(use_enable dbus dbus-control) \ |
781 |
$(use_enable dirac) \ |
782 |
$(use_enable direct2d) \ |
783 |
$(use_enable directfb) \ |
784 |
$(use_enable directx) \ |
785 |
$(use_enable dc1394) \ |
786 |
$(use_enable debug) \ |
787 |
$(use_enable dshow) \ |
788 |
$(use_enable dts dca) \ |
789 |
$(use_enable dvbpsi) \ |
790 |
$(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ |
791 |
$(use_enable dxva2) \ |
792 |
$(use_enable egl) \ |
793 |
$(use_enable encode sout) \ |
794 |
$(use_enable faad) \ |
795 |
$(use_enable fbosd) \ |
796 |
$(use_enable flac) \ |
797 |
$(use_enable fluidsynth) \ |
798 |
$(use_enable fontconfig) \ |
799 |
$(use_enable gcrypt libgcrypt) \ |
800 |
$(use_enable gme) \ |
801 |
$(use_enable gnome gnomevfs) \ |
802 |
$(use_enable gnutls) \ |
803 |
$(use_enable growl) \ |
804 |
$(use_enable httpd) \ |
805 |
$(use_enable ieee1394 dv) \ |
806 |
$(use_enable ios-vout) \ |
807 |
$(use_enable jack) \ |
808 |
$(use_enable kate) \ |
809 |
$(use_with kde kde-solid) \ |
810 |
$(use_enable libass) \ |
811 |
$(use_enable libcaca caca) \ |
812 |
$(use_enable libnotify notify) \ |
813 |
$(use_enable libproxy) \ |
814 |
$(use_enable libsamplerate samplerate) \ |
815 |
$(use_enable libtar) \ |
816 |
$(use_enable libtiger tiger) \ |
817 |
$(use_enable linsys) \ |
818 |
$(use_enable lirc) \ |
819 |
$(use_enable live live555) \ |
820 |
$(use_enable lua) \ |
821 |
$(use_enable macosx-audio) \ |
822 |
$(use_enable macosx-dialog-provider) \ |
823 |
$(use_enable macosx-eyetv) \ |
824 |
$(use_enable macosx-qtkit) \ |
825 |
$(use_enable macosx-quartztext) \ |
826 |
$(use_enable macosx-vout) \ |
827 |
$(use_enable matroska mkv) \ |
828 |
$(use_enable media-library) \ |
829 |
$(use_enable mmx) \ |
830 |
$(use_enable modplug mod) \ |
831 |
$(use_enable mp3 mad) \ |
832 |
$(use_enable mpeg libmpeg2) \ |
833 |
$(use_enable mtp) \ |
834 |
$(use_enable musepack mpc) \ |
835 |
$(use_enable ncurses) \ |
836 |
$(use_enable neon) \ |
837 |
$(use_enable ogg) $(use_enable ogg mux_ogg) \ |
838 |
$(use_enable omxil) \ |
839 |
$(use_enable opengl glx) \ |
840 |
$(use_enable opus) \ |
841 |
$(use_enable optimisememory optimize-memory) \ |
842 |
$(use_enable oss) \ |
843 |
$(use_enable png) \ |
844 |
$(use_enable portaudio) \ |
845 |
$(use_enable postproc) \ |
846 |
$(use_enable projectm) \ |
847 |
$(use_enable pulseaudio pulse) \ |
848 |
$(use_enable pvr) \ |
849 |
$(use_enable qt4) \ |
850 |
$(use_enable rtsp realrtsp) \ |
851 |
$(use_enable run-as-root) \ |
852 |
$(use_enable samba smb) \ |
853 |
$(use_enable schroedinger) \ |
854 |
$(use_enable sdl) \ |
855 |
$(use_enable sdl-image) \ |
856 |
$(use_enable sftp) \ |
857 |
$(use_enable shine) \ |
858 |
$(use_enable sid) \ |
859 |
$(use_enable shout) \ |
860 |
$(use_enable skins skins2) \ |
861 |
$(use_enable speex) \ |
862 |
$(use_enable sqlite) \ |
863 |
$(use_enable sse) \ |
864 |
$(use_enable svg) \ |
865 |
$(use_enable switcher) \ |
866 |
$(use_enable swscale) \ |
867 |
$(use_enable taglib) \ |
868 |
$(use_enable theora) \ |
869 |
$(use_enable tremor) \ |
870 |
$(use_enable truetype freetype) \ |
871 |
$(use_enable twolame) \ |
872 |
$(use_enable udev) \ |
873 |
$(use_enable upnp) \ |
874 |
$(use_enable v4l v4l2) \ |
875 |
$(use_enable vaapi libva) \ |
876 |
$(use_enable vcdx) \ |
877 |
$(use_enable visual) \ |
878 |
$(use_enable vlm) \ |
879 |
$(use_enable vorbis) \ |
880 |
$(use_enable waveout) \ |
881 |
$(use_enable wingdi) \ |
882 |
$(use_enable wma-fixed) \ |
883 |
$(use_with X x) \ |
884 |
$(use_enable x264) \ |
885 |
$(use_enable xcb) \ |
886 |
$(use_enable xml libxml2) \ |
887 |
$(use_enable xosd) \ |
888 |
$(use_enable xv xvideo) \ |
889 |
$(use_enable zvbi) $(use_enable !zvbi telx) \ |
890 |
--disable-crystalhd \ |
891 |
--disable-decklink \ |
892 |
--disable-goom \ |
893 |
--disable-hildon \ |
894 |
--disable-iomx \ |
895 |
--disable-kai \ |
896 |
--disable-kva \ |
897 |
--disable-opencv |
898 |
|
899 |
# ^ We don't have these disables libraries in the Portage tree yet. |
900 |
} |
901 |
|
902 |
DOCS="AUTHORS THANKS NEWS README doc/fortunes.txt doc/intf-vcd.txt" |
903 |
|
904 |
src_install() { |
905 |
default |
906 |
|
907 |
# Punt useless libtool's .la files |
908 |
find "${D}" -name '*.la' -delete |
909 |
} |
910 |
|
911 |
pkg_postinst() { |
912 |
if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then |
913 |
einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/" |
914 |
"/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/" |
915 |
else |
916 |
ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)" |
917 |
ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually" |
918 |
ewarn "If you do not do it, vlc will take a long time to load." |
919 |
fi |
920 |
} |
921 |
|
922 |
|
923 |
|
924 |
1.1 media-video/vlc/vlc-2.0.8.ebuild |
925 |
|
926 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.8.ebuild?rev=1.1&view=markup |
927 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.8.ebuild?rev=1.1&content-type=text/plain |
928 |
|
929 |
Index: vlc-2.0.8.ebuild |
930 |
=================================================================== |
931 |
# Copyright 1999-2013 Gentoo Foundation |
932 |
# Distributed under the terms of the GNU General Public License v2 |
933 |
# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.8.ebuild,v 1.1 2013/10/26 08:58:23 tomwij Exp $ |
934 |
|
935 |
EAPI="5" |
936 |
|
937 |
SCM="" |
938 |
if [ "${PV%9999}" != "${PV}" ] ; then |
939 |
SCM="git-r3" |
940 |
|
941 |
if [ "${PV%.9999}" != "${PV}" ] ; then |
942 |
EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git" |
943 |
else |
944 |
EGIT_REPO_URI="git://git.videolan.org/vlc.git" |
945 |
fi |
946 |
fi |
947 |
|
948 |
inherit eutils multilib autotools toolchain-funcs flag-o-matic ${SCM} |
949 |
|
950 |
MY_PV="${PV/_/-}" |
951 |
MY_PV="${MY_PV/-beta/-test}" |
952 |
MY_P="${PN}-${MY_PV}" |
953 |
|
954 |
DESCRIPTION="VLC media player - Video player and streamer" |
955 |
HOMEPAGE="http://www.videolan.org/vlc/" |
956 |
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
957 |
SRC_URI="" |
958 |
elif [[ "${MY_P}" == "${P}" ]]; then |
959 |
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV/a/}/${P}.tar.xz" |
960 |
else |
961 |
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz" |
962 |
fi |
963 |
|
964 |
LICENSE="LGPL-2.1 GPL-2" |
965 |
SLOT="0" |
966 |
|
967 |
if [ "${PV%9999}" = "${PV}" ] ; then |
968 |
KEYWORDS="~amd64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd" |
969 |
else |
970 |
KEYWORDS="" |
971 |
fi |
972 |
|
973 |
IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec |
974 |
+avformat bidi bluray cdda cddb dbus dc1394 debug dirac direct2d |
975 |
directfb directx dshow dts dvb +dvbpsi dvd dxva2 elibc_glibc egl +encode |
976 |
faad fbosd fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls |
977 |
growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify |
978 |
libproxy libsamplerate libtiger linsys libtar lirc live lua +macosx |
979 |
+macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext |
980 |
+macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg |
981 |
mtp musepack ncurses neon ogg omxil opengl optimisememory opus oss |
982 |
png portaudio +postproc projectm pulseaudio pvr qt4 rtsp run-as-root samba |
983 |
schroedinger sdl sdl-image sftp shine shout sid skins speex sqlite sse svg |
984 |
+swscale switcher taglib theora tremor truetype twolame udev upnp vaapi v4l |
985 |
vcdx visual vlm vorbis waveout wingdi wma-fixed +X x264 +xcb xml xosd xv |
986 |
zvbi" |
987 |
|
988 |
RDEPEND=" |
989 |
dev-libs/libgpg-error:0 |
990 |
net-dns/libidn:0 |
991 |
net-misc/freerdp:0 |
992 |
>=sys-devel/gettext-0.18.3:0 |
993 |
>=sys-libs/zlib-1.2.5.1-r2:0[minizip] |
994 |
a52? ( >=media-libs/a52dec-0.7.4-r3:0 ) |
995 |
aalib? ( media-libs/aalib:0 ) |
996 |
alsa? ( >=media-libs/alsa-lib-1.0.23:0 ) |
997 |
avahi? ( >=net-dns/avahi-0.6:0[dbus] ) |
998 |
avcodec? ( virtual/ffmpeg:0 ) |
999 |
avformat? ( virtual/ffmpeg:0 ) |
1000 |
bidi? ( >=dev-libs/fribidi-0.10.4:0 ) |
1001 |
bluray? ( >=media-libs/libbluray-0.2.1:0 ) |
1002 |
cddb? ( >=media-libs/libcddb-1.2.0:0 ) |
1003 |
dbus? ( >=sys-apps/dbus-1.0.2:0 ) |
1004 |
dc1394? ( >=sys-libs/libraw1394-2.0.1:0 >=media-libs/libdc1394-2.0.2:2 ) |
1005 |
dirac? ( >=media-video/dirac-0.10.0:0 ) |
1006 |
directfb? ( dev-libs/DirectFB:0 sys-libs/zlib:0 ) |
1007 |
dts? ( media-libs/libdca:0 ) |
1008 |
dvbpsi? ( >=media-libs/libdvbpsi-0.2.1:0 ) |
1009 |
dvd? ( media-libs/libdvdread:0 >=media-libs/libdvdnav-0.1.9:0 ) |
1010 |
egl? ( virtual/opengl:0 ) |
1011 |
elibc_glibc? ( >=sys-libs/glibc-2.8:2.2 ) |
1012 |
faad? ( >=media-libs/faad2-2.6.1:0 ) |
1013 |
flac? ( media-libs/libogg:0 >=media-libs/flac-1.1.2:0 ) |
1014 |
fluidsynth? ( media-sound/fluidsynth:0 ) |
1015 |
fontconfig? ( media-libs/fontconfig:1.0 ) |
1016 |
gcrypt? ( >=dev-libs/libgcrypt-1.2.0:0 ) |
1017 |
gme? ( media-libs/game-music-emu:0 ) |
1018 |
gnome? ( gnome-base/gnome-vfs:2 dev-libs/glib:2 ) |
1019 |
gnutls? ( >=net-libs/gnutls-2.0.0:0 ) |
1020 |
ieee1394? ( >=sys-libs/libraw1394-2.0.1:0 >=sys-libs/libavc1394-0.5.3:0 ) |
1021 |
ios-vout? ( virtual/opengl:0 ) |
1022 |
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1:0 ) |
1023 |
kate? ( >=media-libs/libkate-0.1.1:0 ) |
1024 |
libass? ( >=media-libs/libass-0.9.8:0 media-libs/fontconfig:1.0 ) |
1025 |
libcaca? ( >=media-libs/libcaca-0.99_beta14:0 ) |
1026 |
libnotify? ( x11-libs/libnotify:0 x11-libs/gtk+:2 x11-libs/gdk-pixbuf:2 dev-libs/glib:2 ) |
1027 |
libproxy? ( net-libs/libproxy:0 ) |
1028 |
libsamplerate? ( media-libs/libsamplerate:0 ) |
1029 |
libtar? ( >=dev-libs/libtar-1.2.11-r3:0 ) |
1030 |
libtiger? ( media-libs/libtiger:0 ) |
1031 |
linsys? ( >=media-libs/zvbi-0.2.28:0 ) |
1032 |
lirc? ( app-misc/lirc:0 ) |
1033 |
live? ( >=media-plugins/live-2011.12.23:0 ) |
1034 |
lua? ( >=dev-lang/lua-5.1:0 ) |
1035 |
macosx-vout? ( virtual/opengl:0 ) |
1036 |
matroska? ( >=dev-libs/libebml-1.0.0:0= >=media-libs/libmatroska-1.0.0:0= ) |
1037 |
modplug? ( >=media-libs/libmodplug-0.8.8.1:0 ) |
1038 |
mp3? ( media-libs/libmad:0 ) |
1039 |
mpeg? ( >=media-libs/libmpeg2-0.3.2:0 ) |
1040 |
mtp? ( >=media-libs/libmtp-1.0.0:0 ) |
1041 |
musepack? ( >=media-sound/musepack-tools-444:0 ) |
1042 |
ncurses? ( sys-libs/ncurses:5[unicode] ) |
1043 |
ogg? ( media-libs/libogg:0 ) |
1044 |
opengl? ( virtual/opengl:0 >=x11-libs/libX11-1.3.99.901:0 ) |
1045 |
opus? ( >=media-libs/opus-1.0.3:0 ) |
1046 |
png? ( media-libs/libpng:0= sys-libs/zlib:0 ) |
1047 |
portaudio? ( >=media-libs/portaudio-19_pre:0 ) |
1048 |
postproc? ( || ( media-video/ffmpeg:0= media-libs/libpostproc:0 ) ) |
1049 |
projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) |
1050 |
pulseaudio? ( >=media-sound/pulseaudio-0.9.22:0 ) |
1051 |
qt4? ( dev-qt/qtgui:4 dev-qt/qtcore:4 ) |
1052 |
samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4.0.0:0[client] ) ) |
1053 |
schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) |
1054 |
sdl? ( >=media-libs/libsdl-1.2.8:0 |
1055 |
sdl-image? ( media-libs/sdl-image:0 sys-libs/zlib:0 ) ) |
1056 |
sftp? ( net-libs/libssh2:0 ) |
1057 |
shout? ( media-libs/libshout:0 ) |
1058 |
sid? ( media-libs/libsidplay:2 ) |
1059 |
skins? ( x11-libs/libXext:0 x11-libs/libXpm:0 x11-libs/libXinerama:0 ) |
1060 |
speex? ( media-libs/speex:0 ) |
1061 |
sqlite? ( >=dev-db/sqlite-3.6.0:3 ) |
1062 |
svg? ( >=gnome-base/librsvg-2.9.0:2 ) |
1063 |
swscale? ( virtual/ffmpeg:0 ) |
1064 |
taglib? ( >=media-libs/taglib-1.5:0 sys-libs/zlib:0 ) |
1065 |
theora? ( >=media-libs/libtheora-1.0_beta3:0 ) |
1066 |
tremor? ( media-libs/tremor:0 ) |
1067 |
truetype? ( media-libs/freetype:2 virtual/ttf-fonts:0 |
1068 |
!fontconfig? ( media-fonts/dejavu:0 ) ) |
1069 |
twolame? ( media-sound/twolame:0 ) |
1070 |
udev? ( virtual/udev:0 ) |
1071 |
upnp? ( net-libs/libupnp:0 ) |
1072 |
v4l? ( media-libs/libv4l:0 ) |
1073 |
vaapi? ( x11-libs/libva:0 ) |
1074 |
vcdx? ( >=dev-libs/libcdio-0.78.2:0 >=media-video/vcdimager-0.7.22:0 ) |
1075 |
visual? ( media-libs/libvisual:0.4 ) |
1076 |
vorbis? ( media-libs/libvorbis:0 ) |
1077 |
X? ( x11-libs/libX11:0 ) |
1078 |
x264? ( >=media-libs/x264-0.0.20090923:0= ) |
1079 |
xcb? ( >=x11-libs/libxcb-1.6:0 >=x11-libs/xcb-util-0.3.4:0 x11-libs/xcb-util-keysyms:0 ) |
1080 |
xml? ( dev-libs/libxml2:2 ) |
1081 |
xosd? ( x11-libs/xosd:0 ) |
1082 |
zvbi? ( >=media-libs/zvbi-0.2.25:0 ) |
1083 |
" |
1084 |
|
1085 |
DEPEND="${RDEPEND} |
1086 |
fbosd? ( sys-kernel/linux-headers:0 ) |
1087 |
kde? ( >=kde-base/kdelibs-4:4 ) |
1088 |
xcb? ( x11-proto/xproto:0 ) |
1089 |
app-arch/xz-utils:0 |
1090 |
virtual/pkgconfig:0" |
1091 |
|
1092 |
REQUIRED_USE=" |
1093 |
aalib? ( X ) |
1094 |
bidi? ( truetype ) |
1095 |
cddb? ( cdda ) |
1096 |
dvb? ( dvbpsi ) |
1097 |
dxva2? ( avcodec ) |
1098 |
egl? ( X ) |
1099 |
ffmpeg? ( avcodec avformat swscale postproc ) |
1100 |
fontconfig? ( truetype ) |
1101 |
gnutls? ( gcrypt ) |
1102 |
httpd? ( lua ) |
1103 |
libcaca? ( X ) |
1104 |
libtar? ( skins ) |
1105 |
libtiger? ( kate ) |
1106 |
media-library? ( sqlite ) |
1107 |
qt4? ( X ) |
1108 |
sdl? ( X ) |
1109 |
skins? ( truetype qt4 X ) |
1110 |
switcher? ( avcodec ) |
1111 |
vaapi? ( avcodec X ) |
1112 |
vlm? ( encode ) |
1113 |
xosd? ( X ) |
1114 |
xv? ( xcb ) |
1115 |
" |
1116 |
|
1117 |
S="${WORKDIR}/${MY_P/a/}" |
1118 |
|
1119 |
pkg_setup() { |
1120 |
if [[ "$(tc-getCC)" == *"gcc"* ]] ; then |
1121 |
if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then |
1122 |
die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754." |
1123 |
fi |
1124 |
fi |
1125 |
} |
1126 |
|
1127 |
src_unpack() { |
1128 |
if [ "${PV%9999}" != "${PV}" ] ; then |
1129 |
git-r3_src_unpack |
1130 |
else |
1131 |
unpack ${A} |
1132 |
fi |
1133 |
} |
1134 |
|
1135 |
src_prepare() { |
1136 |
# Remove unnecessary warnings about unimplemented pragmas on gcc for now. |
1137 |
# Need to recheck this with gcc 4.9 and every subsequent minor bump of gcc. |
1138 |
# |
1139 |
# config.h:792: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas] |
1140 |
# config.h:793: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas] |
1141 |
# |
1142 |
# http://gcc.gnu.org/c99status.html |
1143 |
if [[ "$(tc-getCC)" == *"gcc"* ]] ; then |
1144 |
sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die |
1145 |
fi |
1146 |
|
1147 |
# _FORTIFY_SOURCE is set to 2 by default on Gentoo, remove redefine warnings. |
1148 |
sed -i '/_FORTIFY_SOURCE.*, 2,/d' configure.ac || die |
1149 |
|
1150 |
# Bootstrap when we are on a git checkout. |
1151 |
if [[ "${PV%9999}" != "${PV}" ]] ; then |
1152 |
./bootstrap |
1153 |
fi |
1154 |
|
1155 |
# Make it build with libtool 1.5 |
1156 |
rm -f m4/lt* m4/libtool.m4 || die |
1157 |
|
1158 |
# Fix mistakes. |
1159 |
if use truetype || use projectm ; then |
1160 |
epatch "${FILESDIR}"/${PN}-2.0.8-freetype-proper-default-font.patch |
1161 |
fi |
1162 |
|
1163 |
# Patch up incompatibilities and reconfigure autotools. |
1164 |
epatch "${FILESDIR}"/${PN}-2.0.8-support-uclibc.patch |
1165 |
|
1166 |
# We are not in a real git checkout due to the absence of a .git directory. |
1167 |
touch src/revision.txt || die |
1168 |
|
1169 |
eautoreconf |
1170 |
} |
1171 |
|
1172 |
src_configure() { |
1173 |
# Compatibility fix for Samba 4. |
1174 |
use samba && append-cppflags "-I/usr/include/samba-4.0" |
1175 |
|
1176 |
# Needs libresid-builder from libsidplay:2 which is in another directory... |
1177 |
# FIXME! |
1178 |
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" |
1179 |
|
1180 |
econf \ |
1181 |
${myconf} \ |
1182 |
--enable-vlc \ |
1183 |
--docdir=/usr/share/doc/${PF} \ |
1184 |
--disable-dependency-tracking \ |
1185 |
--disable-loader \ |
1186 |
--disable-optimizations \ |
1187 |
--disable-update-check \ |
1188 |
--enable-fast-install \ |
1189 |
--enable-screen \ |
1190 |
$(use_enable a52) \ |
1191 |
$(use_enable aalib aa) \ |
1192 |
$(use_enable alsa) \ |
1193 |
$(use_enable altivec) \ |
1194 |
$(use_enable atmo) \ |
1195 |
$(use_enable audioqueue) \ |
1196 |
$(use_enable avahi bonjour) \ |
1197 |
$(use_enable avcodec) \ |
1198 |
$(use_enable avformat) \ |
1199 |
$(use_enable bidi fribidi) \ |
1200 |
$(use_enable bluray) \ |
1201 |
$(use_enable cdda vcd) \ |
1202 |
$(use_enable cddb libcddb) \ |
1203 |
$(use_enable dbus) $(use_enable dbus dbus-control) \ |
1204 |
$(use_enable dirac) \ |
1205 |
$(use_enable direct2d) \ |
1206 |
$(use_enable directfb) \ |
1207 |
$(use_enable directx) \ |
1208 |
$(use_enable dc1394) \ |
1209 |
$(use_enable debug) \ |
1210 |
$(use_enable dshow) \ |
1211 |
$(use_enable dts dca) \ |
1212 |
$(use_enable dvbpsi) \ |
1213 |
$(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ |
1214 |
$(use_enable dxva2) \ |
1215 |
$(use_enable egl) \ |
1216 |
$(use_enable encode sout) \ |
1217 |
$(use_enable faad) \ |
1218 |
$(use_enable fbosd) \ |
1219 |
$(use_enable flac) \ |
1220 |
$(use_enable fluidsynth) \ |
1221 |
$(use_enable fontconfig) \ |
1222 |
$(use_enable gcrypt libgcrypt) \ |
1223 |
$(use_enable gme) \ |
1224 |
$(use_enable gnome gnomevfs) \ |
1225 |
$(use_enable gnutls) \ |
1226 |
$(use_enable growl) \ |
1227 |
$(use_enable httpd) \ |
1228 |
$(use_enable ieee1394 dv) \ |
1229 |
$(use_enable ios-vout) \ |
1230 |
$(use_enable jack) \ |
1231 |
$(use_enable kate) \ |
1232 |
$(use_with kde kde-solid) \ |
1233 |
$(use_enable libass) \ |
1234 |
$(use_enable libcaca caca) \ |
1235 |
$(use_enable libnotify notify) \ |
1236 |
$(use_enable libproxy) \ |
1237 |
$(use_enable libsamplerate samplerate) \ |
1238 |
$(use_enable libtar) \ |
1239 |
$(use_enable libtiger tiger) \ |
1240 |
$(use_enable linsys) \ |
1241 |
$(use_enable lirc) \ |
1242 |
$(use_enable live live555) \ |
1243 |
$(use_enable lua) \ |
1244 |
$(use_enable macosx-audio) \ |
1245 |
$(use_enable macosx-dialog-provider) \ |
1246 |
$(use_enable macosx-eyetv) \ |
1247 |
$(use_enable macosx-qtkit) \ |
1248 |
$(use_enable macosx-quartztext) \ |
1249 |
$(use_enable macosx-vout) \ |
1250 |
$(use_enable matroska mkv) \ |
1251 |
$(use_enable media-library) \ |
1252 |
$(use_enable mmx) \ |
1253 |
$(use_enable modplug mod) \ |
1254 |
$(use_enable mp3 mad) \ |
1255 |
$(use_enable mpeg libmpeg2) \ |
1256 |
$(use_enable mtp) \ |
1257 |
$(use_enable musepack mpc) \ |
1258 |
$(use_enable ncurses) \ |
1259 |
$(use_enable neon) \ |
1260 |
$(use_enable ogg) $(use_enable ogg mux_ogg) \ |
1261 |
$(use_enable omxil) \ |
1262 |
$(use_enable opengl glx) \ |
1263 |
$(use_enable opus) \ |
1264 |
$(use_enable optimisememory optimize-memory) \ |
1265 |
$(use_enable oss) \ |
1266 |
$(use_enable png) \ |
1267 |
$(use_enable portaudio) \ |
1268 |
$(use_enable postproc) \ |
1269 |
$(use_enable projectm) \ |
1270 |
$(use_enable pulseaudio pulse) \ |
1271 |
$(use_enable pvr) \ |
1272 |
$(use_enable qt4) \ |
1273 |
$(use_enable rtsp realrtsp) \ |
1274 |
$(use_enable run-as-root) \ |
1275 |
$(use_enable samba smb) \ |
1276 |
$(use_enable schroedinger) \ |
1277 |
$(use_enable sdl) \ |
1278 |
$(use_enable sdl-image) \ |
1279 |
$(use_enable sftp) \ |
1280 |
$(use_enable shine) \ |
1281 |
$(use_enable sid) \ |
1282 |
$(use_enable shout) \ |
1283 |
$(use_enable skins skins2) \ |
1284 |
$(use_enable speex) \ |
1285 |
$(use_enable sqlite) \ |
1286 |
$(use_enable sse) \ |
1287 |
$(use_enable svg) \ |
1288 |
$(use_enable switcher) \ |
1289 |
$(use_enable swscale) \ |
1290 |
$(use_enable taglib) \ |
1291 |
$(use_enable theora) \ |
1292 |
$(use_enable tremor) \ |
1293 |
$(use_enable truetype freetype) \ |
1294 |
$(use_enable twolame) \ |
1295 |
$(use_enable udev) \ |
1296 |
$(use_enable upnp) \ |
1297 |
$(use_enable v4l v4l2) \ |
1298 |
$(use_enable vaapi libva) \ |
1299 |
$(use_enable vcdx) \ |
1300 |
$(use_enable visual) \ |
1301 |
$(use_enable vlm) \ |
1302 |
$(use_enable vorbis) \ |
1303 |
$(use_enable waveout) \ |
1304 |
$(use_enable wingdi) \ |
1305 |
$(use_enable wma-fixed) \ |
1306 |
$(use_with X x) \ |
1307 |
$(use_enable x264) \ |
1308 |
$(use_enable xcb) \ |
1309 |
$(use_enable xml libxml2) \ |
1310 |
$(use_enable xosd) \ |
1311 |
$(use_enable xv xvideo) \ |
1312 |
$(use_enable zvbi) $(use_enable !zvbi telx) \ |
1313 |
--disable-crystalhd \ |
1314 |
--disable-decklink \ |
1315 |
--disable-goom \ |
1316 |
--disable-hildon \ |
1317 |
--disable-iomx \ |
1318 |
--disable-kai \ |
1319 |
--disable-kva \ |
1320 |
--disable-opencv |
1321 |
|
1322 |
# ^ We don't have these disables libraries in the Portage tree yet. |
1323 |
} |
1324 |
|
1325 |
DOCS="AUTHORS THANKS NEWS README doc/fortunes.txt doc/intf-vcd.txt" |
1326 |
|
1327 |
src_install() { |
1328 |
default |
1329 |
|
1330 |
# Punt useless libtool's .la files |
1331 |
find "${D}" -name '*.la' -delete |
1332 |
} |
1333 |
|
1334 |
pkg_postinst() { |
1335 |
if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then |
1336 |
einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/" |
1337 |
"/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/" |
1338 |
else |
1339 |
ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)" |
1340 |
ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually" |
1341 |
ewarn "If you do not do it, vlc will take a long time to load." |
1342 |
fi |
1343 |
} |