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