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