1 |
lu_zero 15/02/28 17:52:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: vlc-2.2.0.ebuild |
5 |
Log: |
6 |
New upstream version |
7 |
|
8 |
(Portage version: 2.2.17/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.933 media-video/vlc/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?rev=1.933&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?rev=1.933&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?r1=1.932&r2=1.933 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v |
20 |
retrieving revision 1.932 |
21 |
retrieving revision 1.933 |
22 |
diff -u -r1.932 -r1.933 |
23 |
--- ChangeLog 28 Feb 2015 15:52:03 -0000 1.932 |
24 |
+++ ChangeLog 28 Feb 2015 17:52:58 -0000 1.933 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-video/vlc |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.932 2015/02/28 15:52:03 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.933 2015/02/28 17:52:58 lu_zero Exp $ |
30 |
+ |
31 |
+*vlc-2.2.0 (28 Feb 2015) |
32 |
+ |
33 |
+ 28 Feb 2015; Luca Barbato <lu_zero@g.o> +vlc-2.2.0.ebuild: |
34 |
+ New upstream version |
35 |
|
36 |
28 Feb 2015; Agostino Sarubbo <ago@g.o> |
37 |
+files/vlc-2.1-mem_undefined_functions.patch, vlc-2.1.2.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 media-video/vlc/vlc-2.2.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.2.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.2.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: vlc-2.2.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.2.0.ebuild,v 1.1 2015/02/28 17:52:58 lu_zero Exp $ |
51 |
|
52 |
EAPI="5" |
53 |
|
54 |
SCM="" |
55 |
if [ "${PV%9999}" != "${PV}" ] ; then |
56 |
SCM="git-r3" |
57 |
|
58 |
if [ "${PV%.9999}" != "${PV}" ] ; then |
59 |
EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git" |
60 |
else |
61 |
EGIT_REPO_URI="git://git.videolan.org/vlc.git" |
62 |
fi |
63 |
fi |
64 |
|
65 |
inherit eutils multilib autotools toolchain-funcs flag-o-matic virtualx ${SCM} |
66 |
|
67 |
MY_PV="${PV/_/-}" |
68 |
MY_PV="${MY_PV/-beta/-test}" |
69 |
MY_P="${PN}-${MY_PV}" |
70 |
|
71 |
DESCRIPTION="VLC media player - Video player and streamer" |
72 |
HOMEPAGE="http://www.videolan.org/vlc/" |
73 |
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
74 |
SRC_URI="" |
75 |
elif [[ "${MY_P}" == "${P}" ]]; then |
76 |
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz" |
77 |
else |
78 |
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz" |
79 |
fi |
80 |
|
81 |
LICENSE="LGPL-2.1 GPL-2" |
82 |
SLOT="0/5-7" # vlc - vlccore |
83 |
|
84 |
if [ "${PV%9999}" = "${PV}" ] ; then |
85 |
KEYWORDS="~amd64 ~arm -sparc ~x86 ~x86-fbsd" |
86 |
else |
87 |
KEYWORDS="" |
88 |
fi |
89 |
|
90 |
IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec |
91 |
+avformat bidi bluray cdda cddb chromaprint dbus dc1394 debug |
92 |
directfb directx dts dvb +dvbpsi dvd dxva2 elibc_glibc +encode faad fdk |
93 |
fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls |
94 |
growl httpd ieee1394 jack jpeg kate kde libass libav libcaca libnotify |
95 |
libsamplerate libtiger linsys libtar lirc live lua |
96 |
macosx-dialog-provider macosx-eyetv macosx-quartztext macosx-qtkit |
97 |
matroska media-library cpu_flags_x86_mmx modplug mp3 mpeg |
98 |
mtp musepack ncurses neon ogg omxil opencv opengl optimisememory opus |
99 |
png +postproc projectm pulseaudio +qt4 qt5 rdp rtsp run-as-root samba |
100 |
schroedinger sdl sdl-image sftp shout sid skins speex cpu_flags_x86_sse svg +swscale |
101 |
taglib theora tremor truetype twolame udev upnp vaapi v4l vcdx vdpau |
102 |
vlm vnc vorbis vpx wma-fixed +X x264 x265 +xcb xml xv zvbi" |
103 |
|
104 |
RDEPEND=" |
105 |
!<media-video/ffmpeg-1.2:0 |
106 |
dev-libs/libgpg-error:0 |
107 |
net-dns/libidn:0 |
108 |
>=sys-libs/zlib-1.2.5.1-r2:0[minizip] |
109 |
virtual/libintl:0 |
110 |
a52? ( >=media-libs/a52dec-0.7.4-r3:0 ) |
111 |
aalib? ( media-libs/aalib:0 ) |
112 |
alsa? ( >=media-libs/alsa-lib-1.0.24:0 ) |
113 |
avahi? ( >=net-dns/avahi-0.6:0[dbus] ) |
114 |
avcodec? ( |
115 |
!libav? ( media-video/ffmpeg:0= ) |
116 |
libav? ( media-video/libav:0= ) |
117 |
) |
118 |
avformat? ( |
119 |
!libav? ( media-video/ffmpeg:0= ) |
120 |
libav? ( media-video/libav:0= ) |
121 |
) |
122 |
bidi? ( >=dev-libs/fribidi-0.10.4:0 ) |
123 |
bluray? ( >=media-libs/libbluray-0.3:0 ) |
124 |
cddb? ( >=media-libs/libcddb-1.2:0 ) |
125 |
chromaprint? ( >=media-libs/chromaprint-0.6:0 ) |
126 |
dbus? ( >=sys-apps/dbus-1.6:0 ) |
127 |
dc1394? ( >=sys-libs/libraw1394-2.0.1:0 >=media-libs/libdc1394-2.1:2 ) |
128 |
directfb? ( dev-libs/DirectFB:0 sys-libs/zlib:0 ) |
129 |
dts? ( >=media-libs/libdca-0.0.5:0 ) |
130 |
dvbpsi? ( >=media-libs/libdvbpsi-0.2.1:0 ) |
131 |
dvd? ( >=media-libs/libdvdread-4.9:0 >=media-libs/libdvdnav-4.2.1:0 ) |
132 |
elibc_glibc? ( >=sys-libs/glibc-2.8:2.2 ) |
133 |
faad? ( >=media-libs/faad2-2.6.1:0 ) |
134 |
fdk? ( media-libs/fdk-aac:0 ) |
135 |
flac? ( >=media-libs/libogg-1:0 >=media-libs/flac-1.1.2:0 ) |
136 |
fluidsynth? ( >=media-sound/fluidsynth-1.1.2:0 ) |
137 |
fontconfig? ( media-libs/fontconfig:1.0 ) |
138 |
gcrypt? ( >=dev-libs/libgcrypt-1.2.0:0= ) |
139 |
gme? ( media-libs/game-music-emu:0 ) |
140 |
gnome? ( gnome-base/gnome-vfs:2 dev-libs/glib:2 ) |
141 |
gnutls? ( >=net-libs/gnutls-3.0.20:0 ) |
142 |
ieee1394? ( >=sys-libs/libraw1394-2.0.1:0 >=sys-libs/libavc1394-0.5.3:0 ) |
143 |
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1:0 ) |
144 |
jpeg? ( virtual/jpeg:0 ) |
145 |
kate? ( >=media-libs/libkate-0.3:0 ) |
146 |
libass? ( >=media-libs/libass-0.9.8:0 media-libs/fontconfig:1.0 ) |
147 |
libcaca? ( >=media-libs/libcaca-0.99_beta14:0 ) |
148 |
libnotify? ( x11-libs/libnotify:0 x11-libs/gtk+:2 x11-libs/gdk-pixbuf:2 dev-libs/glib:2 ) |
149 |
libsamplerate? ( media-libs/libsamplerate:0 ) |
150 |
libtar? ( >=dev-libs/libtar-1.2.11-r3:0 ) |
151 |
libtiger? ( >=media-libs/libtiger-0.3.1:0 ) |
152 |
linsys? ( >=media-libs/zvbi-0.2.28:0 ) |
153 |
lirc? ( app-misc/lirc:0 ) |
154 |
live? ( >=media-plugins/live-2011.12.23:0 ) |
155 |
lua? ( >=dev-lang/lua-5.1:0 ) |
156 |
matroska? ( >=dev-libs/libebml-1:0= >=media-libs/libmatroska-1:0= ) |
157 |
modplug? ( >=media-libs/libmodplug-0.8.4:0 !~media-libs/libmodplug-0.8.8 ) |
158 |
mp3? ( media-libs/libmad:0 ) |
159 |
mpeg? ( >=media-libs/libmpeg2-0.3.2:0 ) |
160 |
mtp? ( >=media-libs/libmtp-1:0 ) |
161 |
musepack? ( >=media-sound/musepack-tools-444:0 ) |
162 |
ncurses? ( sys-libs/ncurses:5[unicode] ) |
163 |
ogg? ( >=media-libs/libogg-1:0 ) |
164 |
opencv? ( >media-libs/opencv-2:0 ) |
165 |
opengl? ( virtual/opengl:0 >=x11-libs/libX11-1.3.99.901:0 ) |
166 |
opus? ( >=media-libs/opus-1.0.3:0 ) |
167 |
png? ( media-libs/libpng:0= sys-libs/zlib:0 ) |
168 |
postproc? ( |
169 |
!libav? ( >=media-video/ffmpeg-1.2:0= ) |
170 |
libav? ( media-libs/libpostproc:0= ) |
171 |
) |
172 |
projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) |
173 |
pulseaudio? ( >=media-sound/pulseaudio-1:0 ) |
174 |
qt4? ( >=dev-qt/qtgui-4.6:4 >=dev-qt/qtcore-4.6:4 ) |
175 |
qt5? ( >=dev-qt/qtgui-5.1:5 >=dev-qt/qtcore-5.1:5 >=dev-qt/qtwidgets-5.1:5 >=dev-qt/qtx11extras-5.1:5 ) |
176 |
rdp? ( >=net-misc/freerdp-1.0.1:0= ) |
177 |
samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4:0[client] ) ) |
178 |
schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) |
179 |
sdl? ( >=media-libs/libsdl-1.2.10:0 |
180 |
sdl-image? ( >=media-libs/sdl-image-1.2.10:0 sys-libs/zlib:0 ) ) |
181 |
sftp? ( net-libs/libssh2:0 ) |
182 |
shout? ( >=media-libs/libshout-2.1:0 ) |
183 |
sid? ( media-libs/libsidplay:2 ) |
184 |
skins? ( x11-libs/libXext:0 x11-libs/libXpm:0 x11-libs/libXinerama:0 ) |
185 |
speex? ( media-libs/speex:0 ) |
186 |
svg? ( >=gnome-base/librsvg-2.9:2 >=x11-libs/cairo-1.13.1:0 ) |
187 |
swscale? ( |
188 |
!libav? ( media-video/ffmpeg:0= ) |
189 |
libav? ( media-video/libav:0= ) |
190 |
) |
191 |
taglib? ( >=media-libs/taglib-1.9:0 sys-libs/zlib:0 ) |
192 |
theora? ( >=media-libs/libtheora-1.0_beta3:0 ) |
193 |
tremor? ( media-libs/tremor:0 ) |
194 |
truetype? ( media-libs/freetype:2 virtual/ttf-fonts:0 |
195 |
!fontconfig? ( media-fonts/dejavu:0 ) ) |
196 |
twolame? ( media-sound/twolame:0 ) |
197 |
udev? ( >=virtual/udev-142:0 ) |
198 |
upnp? ( net-libs/libupnp:0 ) |
199 |
v4l? ( media-libs/libv4l:0 ) |
200 |
vaapi? ( |
201 |
x11-libs/libva:0[X,drm] |
202 |
!libav? ( media-video/ffmpeg:0=[vaapi] ) |
203 |
libav? ( media-video/libav:0=[vaapi] ) |
204 |
) |
205 |
vcdx? ( >=dev-libs/libcdio-0.78.2:0 >=media-video/vcdimager-0.7.22:0 )" |
206 |
|
207 |
# Temporarily block non-live FFMPEG versions as they break vdpau, 9999 works; |
208 |
# thus we'll have to wait for a new release there. |
209 |
RDEPEND="${RDEPEND} |
210 |
vdpau? ( |
211 |
>=x11-libs/libvdpau-0.6:0 |
212 |
!libav? ( >=media-video/ffmpeg-1.2:0= ) |
213 |
libav? ( >=media-video/libav-10:0= ) |
214 |
) |
215 |
vnc? ( >=net-libs/libvncserver-0.9.9:0 ) |
216 |
vorbis? ( >=media-libs/libvorbis-1.1:0 ) |
217 |
vpx? ( media-libs/libvpx:0 ) |
218 |
X? ( x11-libs/libX11:0 ) |
219 |
x264? ( >=media-libs/x264-0.0.20090923:0= ) |
220 |
x265? ( media-libs/x265:0= ) |
221 |
xcb? ( >=x11-libs/libxcb-1.6:0 >=x11-libs/xcb-util-0.3.4:0 >=x11-libs/xcb-util-keysyms-0.3.4:0 ) |
222 |
xml? ( >=dev-libs/libxml2-2.5:2 ) |
223 |
zvbi? ( >=media-libs/zvbi-0.2.25:0 ) |
224 |
" |
225 |
|
226 |
DEPEND="${RDEPEND} |
227 |
kde? ( >=kde-base/kdelibs-4:4 ) |
228 |
xcb? ( x11-proto/xproto:0 ) |
229 |
app-arch/xz-utils:0 |
230 |
x86? ( dev-lang/yasm:* ) |
231 |
amd64? ( dev-lang/yasm:* ) |
232 |
>=sys-devel/gettext-0.18.3:* |
233 |
virtual/pkgconfig:* |
234 |
" |
235 |
|
236 |
REQUIRED_USE=" |
237 |
aalib? ( X ) |
238 |
bidi? ( truetype ) |
239 |
cddb? ( cdda ) |
240 |
dvb? ( dvbpsi ) |
241 |
dxva2? ( avcodec ) |
242 |
ffmpeg? ( avcodec avformat swscale postproc ) |
243 |
fontconfig? ( truetype ) |
244 |
gnutls? ( gcrypt ) |
245 |
httpd? ( lua ) |
246 |
libcaca? ( X ) |
247 |
libtar? ( skins ) |
248 |
libtiger? ( kate ) |
249 |
qt4? ( X !qt5 ) |
250 |
qt5? ( X !qt4 ) |
251 |
sdl? ( X ) |
252 |
skins? ( truetype X ^^ ( qt4 qt5 ) ) |
253 |
vaapi? ( avcodec X ) |
254 |
vlm? ( encode ) |
255 |
xv? ( xcb ) |
256 |
" |
257 |
|
258 |
S="${WORKDIR}/${MY_P}" |
259 |
|
260 |
pkg_setup() { |
261 |
if [[ "${MERGE_TYPE}" != "binary" && "$(tc-getCC)" == *"gcc"* ]] ; then |
262 |
if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then |
263 |
die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754." |
264 |
fi |
265 |
fi |
266 |
} |
267 |
|
268 |
src_unpack() { |
269 |
if [ "${PV%9999}" != "${PV}" ] ; then |
270 |
git-r3_src_unpack |
271 |
else |
272 |
unpack ${A} |
273 |
fi |
274 |
} |
275 |
|
276 |
src_prepare() { |
277 |
# Remove unnecessary warnings about unimplemented pragmas on gcc for now. |
278 |
# Need to recheck this with gcc 4.9 and every subsequent minor bump of gcc. |
279 |
# |
280 |
# config.h:792: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas] |
281 |
# config.h:793: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas] |
282 |
# |
283 |
# http://gcc.gnu.org/c99status.html |
284 |
if [[ "$(tc-getCC)" == *"gcc"* ]] ; then |
285 |
sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die |
286 |
fi |
287 |
|
288 |
# Bootstrap when we are on a git checkout. |
289 |
if [[ "${PV%9999}" != "${PV}" ]] ; then |
290 |
./bootstrap |
291 |
fi |
292 |
|
293 |
# Make it build with libtool 1.5 |
294 |
rm -f m4/lt* m4/libtool.m4 || die |
295 |
|
296 |
# We are not in a real git checkout due to the absence of a .git directory. |
297 |
touch src/revision.txt || die |
298 |
|
299 |
# Fix build system mistake. |
300 |
epatch "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch |
301 |
|
302 |
# Patch up incompatibilities and reconfigure autotools. |
303 |
epatch "${FILESDIR}"/${PN}-9999-libva-1.2.1-compat.patch |
304 |
|
305 |
# Fix up broken audio when skipping using a fixed reversed bisected commit. |
306 |
epatch "${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch |
307 |
|
308 |
# Don't use --started-from-file when not using dbus. |
309 |
if ! use dbus ; then |
310 |
sed -i 's/ --started-from-file//' share/vlc.desktop.in || die |
311 |
fi |
312 |
|
313 |
epatch_user |
314 |
|
315 |
eautoreconf |
316 |
|
317 |
# Disable automatic running of tests. |
318 |
find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die |
319 |
|
320 |
# If qtchooser is installed, it may break the build, because moc,rcc and uic binaries for wrong qt version may be used. |
321 |
# Setting QT_SELECT environment variable will enforce correct binaries. |
322 |
if use qt4; then |
323 |
export QT_SELECT=qt4 |
324 |
elif use qt5; then |
325 |
export QT_SELECT=qt5 |
326 |
fi |
327 |
} |
328 |
|
329 |
src_configure() { |
330 |
# Compatibility fix for Samba 4. |
331 |
use samba && append-cppflags "-I/usr/include/samba-4.0" |
332 |
|
333 |
# We need to disable -fstack-check if use >=gcc 4.8.0. |
334 |
# See bug #499996 |
335 |
use x86 && append-cflags $(test-flags-CC -fno-stack-check) |
336 |
|
337 |
# Needs libresid-builder from libsidplay:2 which is in another directory... |
338 |
# FIXME! |
339 |
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" |
340 |
|
341 |
if use truetype || use projectm ; then |
342 |
local dejavu="/usr/share/fonts/dejavu/" |
343 |
myconf="--with-default-font=${dejavu}/DejaVuSans.ttf \ |
344 |
--with-default-font-family=Sans \ |
345 |
--with-default-monospace-font=${dejavu}/DejaVuSansMono.ttf |
346 |
--with-default-monospace-font-family=Monospace" |
347 |
fi |
348 |
|
349 |
local qt_flag="" |
350 |
if use qt4 || use qt5 ; then |
351 |
qt_flag="--enable-qt" |
352 |
fi |
353 |
|
354 |
econf \ |
355 |
${myconf} \ |
356 |
--enable-vlc \ |
357 |
--docdir=/usr/share/doc/${PF} \ |
358 |
--disable-dependency-tracking \ |
359 |
--disable-optimizations \ |
360 |
--disable-update-check \ |
361 |
--enable-fast-install \ |
362 |
--enable-screen \ |
363 |
$(use_enable a52) \ |
364 |
$(use_enable aalib aa) \ |
365 |
$(use_enable alsa) \ |
366 |
$(use_enable altivec) \ |
367 |
$(use_enable atmo) \ |
368 |
$(use_enable audioqueue) \ |
369 |
$(use_enable avahi bonjour) \ |
370 |
$(use_enable avcodec) \ |
371 |
$(use_enable avformat) \ |
372 |
$(use_enable bidi fribidi) \ |
373 |
$(use_enable bluray) \ |
374 |
$(use_enable cdda vcd) \ |
375 |
$(use_enable cddb libcddb) \ |
376 |
$(use_enable chromaprint) \ |
377 |
$(use_enable dbus) \ |
378 |
$(use_enable directfb) \ |
379 |
$(use_enable directx) \ |
380 |
$(use_enable dc1394) \ |
381 |
$(use_enable debug) \ |
382 |
$(use_enable dts dca) \ |
383 |
$(use_enable dvbpsi) \ |
384 |
$(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ |
385 |
$(use_enable dxva2) \ |
386 |
$(use_enable encode sout) \ |
387 |
$(use_enable faad) \ |
388 |
$(use_enable fdk fdkaac) \ |
389 |
$(use_enable flac) \ |
390 |
$(use_enable fluidsynth) \ |
391 |
$(use_enable fontconfig) \ |
392 |
$(use_enable gcrypt libgcrypt) \ |
393 |
$(use_enable gme) \ |
394 |
$(use_enable gnome gnomevfs) \ |
395 |
$(use_enable gnutls) \ |
396 |
$(use_enable growl) \ |
397 |
$(use_enable httpd) \ |
398 |
$(use_enable ieee1394 dv1394) \ |
399 |
$(use_enable jack) \ |
400 |
$(use_enable jpeg) \ |
401 |
$(use_enable kate) \ |
402 |
$(use_with kde kde-solid) \ |
403 |
$(use_enable libass) \ |
404 |
$(use_enable libcaca caca) \ |
405 |
$(use_enable libnotify notify) \ |
406 |
$(use_enable libsamplerate samplerate) \ |
407 |
$(use_enable libtar) \ |
408 |
$(use_enable libtiger tiger) \ |
409 |
$(use_enable linsys) \ |
410 |
$(use_enable lirc) \ |
411 |
$(use_enable live live555) \ |
412 |
$(use_enable lua) \ |
413 |
$(use_enable macosx-dialog-provider) \ |
414 |
$(use_enable macosx-eyetv) \ |
415 |
$(use_enable macosx-qtkit) \ |
416 |
$(use_enable macosx-quartztext) \ |
417 |
$(use_enable matroska mkv) \ |
418 |
$(use_enable cpu_flags_x86_mmx mmx) \ |
419 |
$(use_enable modplug mod) \ |
420 |
$(use_enable mp3 mad) \ |
421 |
$(use_enable mpeg libmpeg2) \ |
422 |
$(use_enable mtp) \ |
423 |
$(use_enable musepack mpc) \ |
424 |
$(use_enable ncurses) \ |
425 |
$(use_enable neon) \ |
426 |
$(use_enable ogg) $(use_enable ogg mux_ogg) \ |
427 |
$(use_enable omxil) \ |
428 |
$(use_enable omxil omxil-vout) \ |
429 |
$(use_enable opencv) \ |
430 |
$(use_enable opengl glx) $(use_enable opengl glspectrum) \ |
431 |
$(use_enable opus) \ |
432 |
$(use_enable optimisememory optimize-memory) \ |
433 |
$(use_enable png) \ |
434 |
$(use_enable postproc) \ |
435 |
$(use_enable projectm) \ |
436 |
$(use_enable pulseaudio pulse) \ |
437 |
${qt_flag} \ |
438 |
$(use_enable rdp freerdp) \ |
439 |
$(use_enable rtsp realrtsp) \ |
440 |
$(use_enable run-as-root) \ |
441 |
$(use_enable samba smbclient) \ |
442 |
$(use_enable schroedinger) \ |
443 |
$(use_enable sdl) \ |
444 |
$(use_enable sdl-image) \ |
445 |
$(use_enable sid) \ |
446 |
$(use_enable sftp) \ |
447 |
$(use_enable shout) \ |
448 |
$(use_enable skins skins2) \ |
449 |
$(use_enable speex) \ |
450 |
$(use_enable cpu_flags_x86_sse sse) \ |
451 |
$(use_enable svg) \ |
452 |
$(use_enable svg svgdec) \ |
453 |
$(use_enable swscale) \ |
454 |
$(use_enable taglib) \ |
455 |
$(use_enable theora) \ |
456 |
$(use_enable tremor) \ |
457 |
$(use_enable truetype freetype) \ |
458 |
$(use_enable twolame) \ |
459 |
$(use_enable udev) \ |
460 |
$(use_enable upnp) \ |
461 |
$(use_enable v4l v4l2) \ |
462 |
$(use_enable vaapi libva) \ |
463 |
$(use_enable vcdx) \ |
464 |
$(use_enable vdpau) \ |
465 |
$(use_enable vlm) \ |
466 |
$(use_enable vnc) \ |
467 |
$(use_enable vorbis) \ |
468 |
$(use_enable vpx) \ |
469 |
$(use_enable wma-fixed) \ |
470 |
$(use_with X x) \ |
471 |
$(use_enable x264) \ |
472 |
$(use_enable x265) \ |
473 |
$(use_enable xcb) \ |
474 |
$(use_enable xml libxml2) \ |
475 |
$(use_enable xv xvideo) \ |
476 |
$(use_enable zvbi) $(use_enable !zvbi telx) \ |
477 |
--disable-asdcp \ |
478 |
--disable-coverage \ |
479 |
--disable-cprof \ |
480 |
--disable-crystalhd \ |
481 |
--disable-decklink \ |
482 |
--disable-gles1 \ |
483 |
--disable-gles2 \ |
484 |
--disable-goom \ |
485 |
--disable-kai \ |
486 |
--disable-kva \ |
487 |
--disable-maintainer-mode \ |
488 |
--disable-merge-ffmpeg \ |
489 |
--disable-mfx \ |
490 |
--disable-mmal-codec \ |
491 |
--disable-mmal-vout \ |
492 |
--disable-opensles \ |
493 |
--disable-oss \ |
494 |
--disable-quicktime \ |
495 |
--disable-rpi-omxil \ |
496 |
--disable-shine \ |
497 |
--disable-sndio \ |
498 |
--disable-vda \ |
499 |
--disable-vsxu \ |
500 |
--disable-wasapi |
501 |
|
502 |
# ^ We don't have these disabled libraries in the Portage tree yet. |
503 |
|
504 |
# _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo. |
505 |
# Other values of _FORTIFY_SOURCE may break the build (bug 523144), so definition should not be removed from config.h. |
506 |
# To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the very start of config.h file |
507 |
sed -i '1i#undef _FORTIFY_SOURCE' "${S}"/config.h || die |
508 |
} |
509 |
|
510 |
src_test() { |
511 |
Xemake check-TESTS |
512 |
} |
513 |
|
514 |
DOCS="AUTHORS THANKS NEWS README doc/fortunes.txt doc/intf-vcd.txt" |
515 |
|
516 |
src_install() { |
517 |
default |
518 |
|
519 |
# Punt useless libtool's .la files |
520 |
find "${D}" -name '*.la' -delete |
521 |
} |
522 |
|
523 |
pkg_postinst() { |
524 |
if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then |
525 |
einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/" |
526 |
"/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/" |
527 |
else |
528 |
ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)" |
529 |
ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually" |
530 |
ewarn "If you do not do it, vlc will take a long time to load." |
531 |
fi |
532 |
} |