1 |
commit: fc226ad7a4dee9aadd02c6c13eb4e721411f5ef9 |
2 |
Author: John Helmert III <ajak <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 26 21:51:50 2021 +0000 |
4 |
Commit: John Helmert III <ajak <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 26 21:51:50 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc226ad7 |
7 |
|
8 |
media-video/vlc: drop 3.0.12.1-r102, 3.0.14-r5, 3.0.16-r5 |
9 |
|
10 |
Signed-off-by: John Helmert III <ajak <AT> gentoo.org> |
11 |
|
12 |
media-video/vlc/Manifest | 1 - |
13 |
media-video/vlc/vlc-3.0.12.1-r102.ebuild | 513 ------------------------------ |
14 |
media-video/vlc/vlc-3.0.14-r5.ebuild | 513 ------------------------------ |
15 |
media-video/vlc/vlc-3.0.16-r5.ebuild | 514 ------------------------------- |
16 |
4 files changed, 1541 deletions(-) |
17 |
|
18 |
diff --git a/media-video/vlc/Manifest b/media-video/vlc/Manifest |
19 |
index 4dcd130a939..7098c1b0265 100644 |
20 |
--- a/media-video/vlc/Manifest |
21 |
+++ b/media-video/vlc/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
-DIST vlc-3.0-3.0.12.1.tar.gz 34233801 BLAKE2B 0bc571d8f3f8aa40eee93fe8ab13bd1f37e288372d46b13998986899d03bf327b300a98ec5736bb9fe7bb58aae65c1d469786a4dfdb80f4cf8b5bbbb250ee45d SHA512 05b079dcfd4a21cdae7bb19e9d71f2fad33ca846852683c5d2ca6d45f779749ead420d5211b4acce76971d7ec2265d0d07f970f35f647dd446e337dc31aa0ec1 |
24 |
DIST vlc-3.0-3.0.14.tar.gz 34355555 BLAKE2B e8182229da1fe4f73b640fad8005ec3fc49da70f289bd32c33fcec51bf81d393b067a795626bad57c87499e8de181ac3ce159e572431e794586753c4a7c32597 SHA512 6d366c0f17a8bda7f588ab1818d985bccd076dd821bc83dd7d06827d463931e56cb06ca934622ee2cda4a76b0fbe265a66e4566e9307abc768b76174020f0150 |
25 |
DIST vlc-3.0.16.tar.xz 26439328 BLAKE2B 1971b88f3faf6d3b019c3fcb83108242bb218f1472dc3c1763a8eaa996befcb36a685a75beb8c2513e3365e77a9df6623d194ef511b5271e3114f2f46588e1ff SHA512 35cdf191071224d0cf1b5a83c00773ff87b9e5bfcf0f5523f7edd53f75b23eda6b27bb49ffa97d69a1d176b8fe4786d959aeeb00d4380beab71c9f7e6b7c7298 |
26 |
|
27 |
diff --git a/media-video/vlc/vlc-3.0.12.1-r102.ebuild b/media-video/vlc/vlc-3.0.12.1-r102.ebuild |
28 |
deleted file mode 100644 |
29 |
index 472f7f61b4e..00000000000 |
30 |
--- a/media-video/vlc/vlc-3.0.12.1-r102.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,513 +0,0 @@ |
33 |
-# Copyright 2000-2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-LUA_COMPAT=( lua5-{1..2} ) |
39 |
- |
40 |
-MY_PV="${PV/_/-}" |
41 |
-MY_PV="${MY_PV/-beta/-test}" |
42 |
-MY_P="${PN}-${MY_PV}" |
43 |
-if [[ ${PV} = *9999 ]] ; then |
44 |
- if [[ ${PV%.9999} != ${PV} ]] ; then |
45 |
- EGIT_REPO_URI="https://git.videolan.org/git/vlc/vlc-${PV%.9999}.git" |
46 |
- else |
47 |
- EGIT_REPO_URI="https://git.videolan.org/git/vlc.git" |
48 |
- fi |
49 |
- inherit git-r3 |
50 |
-else |
51 |
- SRC_URI="https://code.videolan.org/videolan/vlc-$(ver_cut 1-2)/-/archive/${PV}/vlc-$(ver_cut 1-2)-${PV}.tar.gz" |
52 |
- S="${WORKDIR}/${PN}-$(ver_cut 1-2)-${PV}" |
53 |
- #if [[ ${MY_P} = ${P} ]] ; then |
54 |
- # SRC_URI="https://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz" |
55 |
- #else |
56 |
- # SRC_URI="https://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz" |
57 |
- #fi |
58 |
- KEYWORDS="amd64 ~arm arm64 ppc ppc64 -sparc x86" |
59 |
-fi |
60 |
- |
61 |
-inherit autotools flag-o-matic lua-single toolchain-funcs virtualx xdg |
62 |
- |
63 |
-DESCRIPTION="Media player and framework with support for most multimedia files and streaming" |
64 |
-HOMEPAGE="https://www.videolan.org/vlc/" |
65 |
- |
66 |
-LICENSE="LGPL-2.1 GPL-2" |
67 |
-SLOT="0/5-9" # vlc - vlccore |
68 |
- |
69 |
-IUSE="a52 alsa aom archive aribsub bidi bluray cddb chromaprint chromecast |
70 |
- dav1d dbus dc1394 debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac |
71 |
- fluidsynth fontconfig +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate |
72 |
- libass libcaca libnotify +libsamplerate libtar libtiger linsys lirc |
73 |
- live lua macosx-notifications mad matroska modplug mp3 mpeg mtp musepack ncurses |
74 |
- nfs ogg omxil optimisememory opus png projectm pulseaudio +qt5 rdp |
75 |
- run-as-root samba sdl-image sftp shout sid skins soxr speex srt ssl svg taglib |
76 |
- theora tremor truetype twolame udev upnp vaapi v4l vdpau vnc vorbis vpx wayland +X |
77 |
- x264 x265 xml zeroconf zvbi cpu_flags_arm_neon cpu_flags_ppc_altivec cpu_flags_x86_mmx |
78 |
- cpu_flags_x86_sse |
79 |
-" |
80 |
-REQUIRED_USE=" |
81 |
- chromecast? ( encode ) |
82 |
- directx? ( ffmpeg ) |
83 |
- fontconfig? ( truetype ) |
84 |
- libcaca? ( X ) |
85 |
- libtar? ( skins ) |
86 |
- libtiger? ( kate ) |
87 |
- lua? ( ${LUA_REQUIRED_USE} ) |
88 |
- skins? ( qt5 truetype X xml ) |
89 |
- ssl? ( gcrypt ) |
90 |
- vaapi? ( ffmpeg X ) |
91 |
- vdpau? ( ffmpeg X ) |
92 |
-" |
93 |
-BDEPEND=" |
94 |
- >=sys-devel/gettext-0.19.8 |
95 |
- virtual/pkgconfig |
96 |
- lua? ( ${LUA_DEPS} ) |
97 |
- amd64? ( dev-lang/yasm ) |
98 |
- x86? ( dev-lang/yasm ) |
99 |
-" |
100 |
-RDEPEND=" |
101 |
- net-dns/libidn:= |
102 |
- sys-libs/zlib[minizip] |
103 |
- virtual/libintl |
104 |
- virtual/opengl |
105 |
- a52? ( media-libs/a52dec ) |
106 |
- alsa? ( media-libs/alsa-lib ) |
107 |
- aom? ( media-libs/libaom:= ) |
108 |
- archive? ( app-arch/libarchive:= ) |
109 |
- aribsub? ( media-libs/aribb24 ) |
110 |
- bidi? ( |
111 |
- dev-libs/fribidi |
112 |
- media-libs/freetype:2[harfbuzz] |
113 |
- media-libs/harfbuzz |
114 |
- virtual/ttf-fonts |
115 |
- ) |
116 |
- bluray? ( media-libs/libbluray:= ) |
117 |
- cddb? ( media-libs/libcddb ) |
118 |
- chromaprint? ( media-libs/chromaprint:= ) |
119 |
- chromecast? ( |
120 |
- >=dev-libs/protobuf-2.5.0:= |
121 |
- >=net-libs/libmicrodns-0.1.2:= |
122 |
- ) |
123 |
- dav1d? ( media-libs/dav1d:= ) |
124 |
- dbus? ( sys-apps/dbus ) |
125 |
- dc1394? ( |
126 |
- media-libs/libdc1394:2 |
127 |
- sys-libs/libraw1394 |
128 |
- ) |
129 |
- dts? ( media-libs/libdca ) |
130 |
- dvbpsi? ( >=media-libs/libdvbpsi-1.2.0:= ) |
131 |
- dvd? ( |
132 |
- >=media-libs/libdvdnav-4.9:0= |
133 |
- >=media-libs/libdvdread-4.9:0= |
134 |
- ) |
135 |
- faad? ( media-libs/faad2 ) |
136 |
- fdk? ( media-libs/fdk-aac:= ) |
137 |
- ffmpeg? ( >=media-video/ffmpeg-3.1.3:0=[postproc,vaapi?,vdpau?] ) |
138 |
- flac? ( |
139 |
- media-libs/flac |
140 |
- media-libs/libogg |
141 |
- ) |
142 |
- fluidsynth? ( media-sound/fluidsynth:= ) |
143 |
- fontconfig? ( media-libs/fontconfig:1.0 ) |
144 |
- gcrypt? ( |
145 |
- dev-libs/libgcrypt:0= |
146 |
- dev-libs/libgpg-error |
147 |
- ) |
148 |
- gme? ( media-libs/game-music-emu ) |
149 |
- gnome-keyring? ( app-crypt/libsecret ) |
150 |
- gstreamer? ( >=media-libs/gst-plugins-base-1.4.5:1.0 ) |
151 |
- ieee1394? ( |
152 |
- sys-libs/libavc1394 |
153 |
- sys-libs/libraw1394 |
154 |
- ) |
155 |
- jack? ( virtual/jack ) |
156 |
- jpeg? ( virtual/jpeg:0 ) |
157 |
- kate? ( media-libs/libkate ) |
158 |
- libass? ( |
159 |
- media-libs/fontconfig:1.0 |
160 |
- media-libs/libass:= |
161 |
- ) |
162 |
- libcaca? ( media-libs/libcaca ) |
163 |
- libnotify? ( |
164 |
- dev-libs/glib:2 |
165 |
- x11-libs/gdk-pixbuf:2 |
166 |
- x11-libs/gtk+:3 |
167 |
- x11-libs/libnotify |
168 |
- ) |
169 |
- libsamplerate? ( media-libs/libsamplerate ) |
170 |
- libtar? ( dev-libs/libtar ) |
171 |
- libtiger? ( media-libs/libtiger ) |
172 |
- linsys? ( media-libs/zvbi ) |
173 |
- lirc? ( app-misc/lirc ) |
174 |
- live? ( media-plugins/live:= ) |
175 |
- lua? ( ${LUA_DEPS} ) |
176 |
- mad? ( media-libs/libmad ) |
177 |
- matroska? ( |
178 |
- >=dev-libs/libebml-1.3.6:= |
179 |
- media-libs/libmatroska:= |
180 |
- ) |
181 |
- modplug? ( >=media-libs/libmodplug-0.8.9.0 ) |
182 |
- mp3? ( media-sound/mpg123 ) |
183 |
- mpeg? ( media-libs/libmpeg2 ) |
184 |
- mtp? ( media-libs/libmtp:= ) |
185 |
- musepack? ( media-sound/musepack-tools ) |
186 |
- ncurses? ( sys-libs/ncurses:=[unicode(+)] ) |
187 |
- nfs? ( >=net-fs/libnfs-0.10.0:= ) |
188 |
- ogg? ( media-libs/libogg ) |
189 |
- opus? ( >=media-libs/opus-1.0.3 ) |
190 |
- png? ( media-libs/libpng:0= ) |
191 |
- projectm? ( |
192 |
- media-fonts/dejavu |
193 |
- >=media-libs/libprojectm-3.1.12:0= |
194 |
- ) |
195 |
- pulseaudio? ( media-sound/pulseaudio ) |
196 |
- qt5? ( |
197 |
- dev-qt/qtcore:5 |
198 |
- dev-qt/qtgui:5 |
199 |
- dev-qt/qtsvg:5 |
200 |
- dev-qt/qtwidgets:5 |
201 |
- X? ( |
202 |
- dev-qt/qtx11extras:5 |
203 |
- x11-libs/libX11 |
204 |
- ) |
205 |
- ) |
206 |
- rdp? ( >=net-misc/freerdp-2.0.0_rc0:=[client(+)] ) |
207 |
- samba? ( >=net-fs/samba-4.0.0:0[client,-debug(-)] ) |
208 |
- sdl-image? ( media-libs/sdl-image ) |
209 |
- sftp? ( net-libs/libssh2 ) |
210 |
- shout? ( media-libs/libshout ) |
211 |
- sid? ( media-libs/libsidplay:2 ) |
212 |
- skins? ( |
213 |
- x11-libs/libXext |
214 |
- x11-libs/libXinerama |
215 |
- x11-libs/libXpm |
216 |
- ) |
217 |
- soxr? ( >=media-libs/soxr-0.1.2 ) |
218 |
- speex? ( |
219 |
- >=media-libs/speex-1.2.0 |
220 |
- media-libs/speexdsp |
221 |
- ) |
222 |
- srt? ( >=net-libs/srt-1.4.2:= ) |
223 |
- ssl? ( net-libs/gnutls:= ) |
224 |
- svg? ( |
225 |
- gnome-base/librsvg:2 |
226 |
- x11-libs/cairo |
227 |
- ) |
228 |
- taglib? ( >=media-libs/taglib-1.9 ) |
229 |
- theora? ( media-libs/libtheora ) |
230 |
- tremor? ( media-libs/tremor ) |
231 |
- truetype? ( |
232 |
- media-libs/freetype:2 |
233 |
- virtual/ttf-fonts |
234 |
- !fontconfig? ( media-fonts/dejavu ) |
235 |
- ) |
236 |
- twolame? ( media-sound/twolame ) |
237 |
- udev? ( virtual/udev ) |
238 |
- upnp? ( net-libs/libupnp:=[ipv6] ) |
239 |
- v4l? ( media-libs/libv4l:= ) |
240 |
- vaapi? ( x11-libs/libva:=[drm,wayland?,X?] ) |
241 |
- vdpau? ( x11-libs/libvdpau ) |
242 |
- vnc? ( net-libs/libvncserver ) |
243 |
- vorbis? ( media-libs/libvorbis ) |
244 |
- vpx? ( media-libs/libvpx:= ) |
245 |
- wayland? ( |
246 |
- >=dev-libs/wayland-1.15 |
247 |
- dev-libs/wayland-protocols |
248 |
- ) |
249 |
- X? ( |
250 |
- x11-libs/libX11 |
251 |
- x11-libs/libxcb |
252 |
- x11-libs/xcb-util |
253 |
- x11-libs/xcb-util-keysyms |
254 |
- ) |
255 |
- x264? ( >=media-libs/x264-0.0.20190214:= ) |
256 |
- x265? ( media-libs/x265:= ) |
257 |
- xml? ( dev-libs/libxml2:2 ) |
258 |
- zeroconf? ( net-dns/avahi[dbus] ) |
259 |
- zvbi? ( media-libs/zvbi ) |
260 |
-" |
261 |
-DEPEND="${RDEPEND} |
262 |
- X? ( x11-base/xorg-proto ) |
263 |
-" |
264 |
- |
265 |
-PATCHES=( |
266 |
- "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch # build system |
267 |
- "${FILESDIR}"/${PN}-2.2.8-freerdp-2.patch # bug 590164 |
268 |
- "${FILESDIR}"/${PN}-3.0.6-fdk-aac-2.0.0.patch # bug 672290 |
269 |
- "${FILESDIR}"/${PN}-3.0.11.1-configure_lua_version.patch |
270 |
- "${FILESDIR}"/${PN}-3.0.11.1-srt-1.4.2.patch # bug 758062 |
271 |
- "${FILESDIR}"/${PN}-3.0.12.1-limits-p{1,2}.patch # bug 767796 |
272 |
-) |
273 |
- |
274 |
-DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt ) |
275 |
- |
276 |
-pkg_setup() { |
277 |
- if use lua; then |
278 |
- lua-single_pkg_setup |
279 |
- fi |
280 |
-} |
281 |
- |
282 |
-src_prepare() { |
283 |
- xdg_src_prepare # bug 608256 |
284 |
- |
285 |
- has_version 'net-libs/libupnp:1.8' && \ |
286 |
- eapply "${FILESDIR}"/${PN}-2.2.8-libupnp-slot-1.8.patch |
287 |
- |
288 |
- # Bootstrap when we are on a git checkout. |
289 |
- if [[ ${PV} = *9999 ]] ; then |
290 |
- ./bootstrap |
291 |
- fi |
292 |
- |
293 |
- # Make it build with libtool 1.5 |
294 |
- #rm 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 |
- # Don't use --started-from-file when not using dbus. |
300 |
- if ! use dbus ; then |
301 |
- sed -i 's/ --started-from-file//' share/vlc.desktop.in || die |
302 |
- fi |
303 |
- |
304 |
- # Disable running of vlc-cache-gen, we do that in pkg_postinst |
305 |
- sed -e "/test.*build.*host/s/\$(host)/nothanks/" \ |
306 |
- -i Makefile.am -i bin/Makefile.am || die "Failed to disable vlc-cache-gen" |
307 |
- |
308 |
- # Fix gettext version mismatch errors. |
309 |
- sed -i -e s/GETTEXT_VERSION/GETTEXT_REQUIRE_VERSION/ configure.ac || die |
310 |
- |
311 |
- eautoreconf |
312 |
- |
313 |
- # Disable automatic running of tests. |
314 |
- find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die |
315 |
-} |
316 |
- |
317 |
-src_configure() { |
318 |
- local -x BUILDCC=$(tc-getBUILD_CC) |
319 |
- |
320 |
- local myeconfargs=( |
321 |
- --disable-aa |
322 |
- --disable-optimizations |
323 |
- --disable-rpath |
324 |
- --disable-update-check |
325 |
- --enable-fast-install |
326 |
- --enable-screen |
327 |
- --enable-vcd |
328 |
- --enable-vlc |
329 |
- $(use_enable a52) |
330 |
- $(use_enable alsa) |
331 |
- $(use_enable aom) |
332 |
- $(use_enable archive) |
333 |
- $(use_enable aribsub) |
334 |
- $(use_enable bidi fribidi) |
335 |
- $(use_enable bidi harfbuzz) |
336 |
- $(use_enable bluray) |
337 |
- $(use_enable cddb libcddb) |
338 |
- $(use_enable chromaprint) |
339 |
- $(use_enable chromecast) |
340 |
- $(use_enable chromecast microdns) |
341 |
- $(use_enable cpu_flags_arm_neon neon) |
342 |
- $(use_enable cpu_flags_ppc_altivec altivec) |
343 |
- $(use_enable cpu_flags_x86_mmx mmx) |
344 |
- $(use_enable cpu_flags_x86_sse sse) |
345 |
- $(use_enable dav1d) |
346 |
- $(use_enable dbus) |
347 |
- $(use_enable dbus kwallet) |
348 |
- $(use_enable dc1394) |
349 |
- $(use_enable debug) |
350 |
- $(use_enable directx) |
351 |
- $(use_enable directx d3d11va) |
352 |
- $(use_enable directx dxva2) |
353 |
- $(use_enable dts dca) |
354 |
- $(use_enable dvbpsi) |
355 |
- $(use_enable dvd dvdnav) |
356 |
- $(use_enable dvd dvdread) |
357 |
- $(use_enable encode sout) |
358 |
- $(use_enable encode vlm) |
359 |
- $(use_enable faad) |
360 |
- $(use_enable fdk fdkaac) |
361 |
- $(use_enable ffmpeg avcodec) |
362 |
- $(use_enable ffmpeg avformat) |
363 |
- $(use_enable ffmpeg postproc) |
364 |
- $(use_enable ffmpeg swscale) |
365 |
- $(use_enable flac) |
366 |
- $(use_enable fluidsynth) |
367 |
- $(use_enable fontconfig) |
368 |
- $(use_enable gcrypt libgcrypt) |
369 |
- $(use_enable gme) |
370 |
- $(use_enable gnome-keyring secret) |
371 |
- $(use_enable gstreamer gst-decode) |
372 |
- $(use_enable ieee1394 dv1394) |
373 |
- $(use_enable jack) |
374 |
- $(use_enable jpeg) |
375 |
- $(use_enable kate) |
376 |
- $(use_enable libass) |
377 |
- $(use_enable libcaca caca) |
378 |
- $(use_enable libnotify notify) |
379 |
- $(use_enable libsamplerate samplerate) |
380 |
- $(use_enable libtar) |
381 |
- $(use_enable libtiger tiger) |
382 |
- $(use_enable linsys) |
383 |
- $(use_enable lirc) |
384 |
- $(use_enable live live555) |
385 |
- $(use_enable lua) |
386 |
- $(use_enable macosx-notifications osx-notifications) |
387 |
- $(use_enable mad) |
388 |
- $(use_enable matroska) |
389 |
- $(use_enable modplug mod) |
390 |
- $(use_enable mp3 mpg123) |
391 |
- $(use_enable mpeg libmpeg2) |
392 |
- $(use_enable mtp) |
393 |
- $(use_enable musepack mpc) |
394 |
- $(use_enable ncurses) |
395 |
- $(use_enable nfs) |
396 |
- $(use_enable ogg) |
397 |
- $(use_enable omxil) |
398 |
- $(use_enable omxil omxil-vout) |
399 |
- $(use_enable optimisememory optimize-memory) |
400 |
- $(use_enable opus) |
401 |
- $(use_enable png) |
402 |
- $(use_enable projectm) |
403 |
- $(use_enable pulseaudio pulse) |
404 |
- $(use_enable qt5 qt) |
405 |
- $(use_enable rdp freerdp) |
406 |
- $(use_enable run-as-root) |
407 |
- $(use_enable samba smbclient) |
408 |
- $(use_enable sdl-image) |
409 |
- $(use_enable sftp) |
410 |
- $(use_enable shout) |
411 |
- $(use_enable sid) |
412 |
- $(use_enable skins skins2) |
413 |
- $(use_enable soxr) |
414 |
- $(use_enable speex) |
415 |
- $(use_enable srt) |
416 |
- $(use_enable ssl gnutls) |
417 |
- $(use_enable svg) |
418 |
- $(use_enable svg svgdec) |
419 |
- $(use_enable taglib) |
420 |
- $(use_enable theora) |
421 |
- $(use_enable tremor) |
422 |
- $(use_enable twolame) |
423 |
- $(use_enable udev) |
424 |
- $(use_enable upnp) |
425 |
- $(use_enable v4l v4l2) |
426 |
- $(use_enable vaapi libva) |
427 |
- $(use_enable vdpau) |
428 |
- $(use_enable vnc) |
429 |
- $(use_enable vorbis) |
430 |
- $(use_enable vpx) |
431 |
- $(use_enable wayland) |
432 |
- $(use_with X x) |
433 |
- $(use_enable X xcb) |
434 |
- $(use_enable X xvideo) |
435 |
- $(use_enable x264) |
436 |
- $(use_enable x264 x26410b) |
437 |
- $(use_enable x265) |
438 |
- $(use_enable xml libxml2) |
439 |
- $(use_enable zeroconf avahi) |
440 |
- $(use_enable zvbi) |
441 |
- $(use_enable !zvbi telx) |
442 |
- --with-kde-solid="${EPREFIX}"/usr/share/solid/actions |
443 |
- --disable-asdcp |
444 |
- --disable-coverage |
445 |
- --disable-cprof |
446 |
- --disable-crystalhd |
447 |
- --disable-decklink |
448 |
- --disable-gles2 |
449 |
- --disable-goom |
450 |
- --disable-kai |
451 |
- --disable-kva |
452 |
- --disable-libplacebo |
453 |
- --disable-maintainer-mode |
454 |
- --disable-merge-ffmpeg |
455 |
- --disable-mfx |
456 |
- --disable-mmal |
457 |
- --disable-opencv |
458 |
- --disable-opensles |
459 |
- --disable-oss |
460 |
- --disable-rpi-omxil |
461 |
- --disable-schroedinger |
462 |
- --disable-shine |
463 |
- --disable-sndio |
464 |
- --disable-spatialaudio |
465 |
- --disable-vsxu |
466 |
- --disable-wasapi |
467 |
- --disable-wma-fixed |
468 |
- ) |
469 |
- # ^ We don't have these disabled libraries in the Portage tree yet. |
470 |
- |
471 |
- # Compatibility fix for Samba 4. |
472 |
- use samba && append-cppflags "-I/usr/include/samba-4.0" |
473 |
- |
474 |
- if use x86; then |
475 |
- # We need to disable -fstack-check if use >=gcc 4.8.0. bug #499996 |
476 |
- append-cflags $(test-flags-CC -fno-stack-check) |
477 |
- # Bug 569774 |
478 |
- replace-flags -Os -O2 |
479 |
- fi |
480 |
- |
481 |
- # VLC now requires C++11 after commit 4b1c9dcdda0bbff801e47505ff9dfd3f274eb0d8 |
482 |
- append-cxxflags -std=c++11 |
483 |
- |
484 |
- if use omxil; then |
485 |
- # bug #723006 |
486 |
- # https://trac.videolan.org/vlc/ticket/24617 |
487 |
- append-cflags -fcommon |
488 |
- fi |
489 |
- |
490 |
- # FIXME: Needs libresid-builder from libsidplay:2 which is in another directory... |
491 |
- append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" |
492 |
- |
493 |
- if use truetype || use bidi; then |
494 |
- myeconfargs+=( --enable-freetype ) |
495 |
- else |
496 |
- myeconfargs+=( --disable-freetype ) |
497 |
- fi |
498 |
- |
499 |
- if use truetype || use projectm; then |
500 |
- local dejavu="${EPREFIX}/usr/share/fonts/dejavu/" |
501 |
- myeconfargs+=( |
502 |
- --with-default-font=${dejavu}/DejaVuSans.ttf |
503 |
- --with-default-font-family=Sans |
504 |
- --with-default-monospace-font=${dejavu}/DejaVuSansMono.ttf |
505 |
- --with-default-monospace-font-family=Monospace |
506 |
- ) |
507 |
- fi |
508 |
- |
509 |
- econf "${myeconfargs[@]}" |
510 |
- |
511 |
- # _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo. |
512 |
- # Other values may break the build (bug 523144), so definition should not be removed. |
513 |
- # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the start of config.h |
514 |
- sed -i '1i#undef _FORTIFY_SOURCE' config.h || die |
515 |
-} |
516 |
- |
517 |
-src_test() { |
518 |
- virtx emake check-TESTS |
519 |
-} |
520 |
- |
521 |
-src_install() { |
522 |
- default |
523 |
- find "${ED}" -name '*.la' -delete || die |
524 |
-} |
525 |
- |
526 |
-pkg_postinst() { |
527 |
- if [[ -z "${ROOT}" ]] && [[ -x "${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen" ]] ; then |
528 |
- einfo "Running ${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen on ${EROOT}/usr/$(get_libdir)/vlc/plugins/" |
529 |
- "${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen" "${EROOT}/usr/$(get_libdir)/vlc/plugins/" |
530 |
- else |
531 |
- ewarn "We cannot run vlc-cache-gen (most likely ROOT != /)" |
532 |
- ewarn "Please run ${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen manually" |
533 |
- ewarn "If you do not do it, vlc will take a long time to load." |
534 |
- fi |
535 |
- |
536 |
- xdg_pkg_postinst |
537 |
-} |
538 |
- |
539 |
-pkg_postrm() { |
540 |
- if [[ -e "${EROOT}"/usr/$(get_libdir)/vlc/plugins/plugins.dat ]]; then |
541 |
- rm "${EROOT}"/usr/$(get_libdir)/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat" |
542 |
- fi |
543 |
- |
544 |
- xdg_pkg_postrm |
545 |
-} |
546 |
|
547 |
diff --git a/media-video/vlc/vlc-3.0.14-r5.ebuild b/media-video/vlc/vlc-3.0.14-r5.ebuild |
548 |
deleted file mode 100644 |
549 |
index a983b3b9307..00000000000 |
550 |
--- a/media-video/vlc/vlc-3.0.14-r5.ebuild |
551 |
+++ /dev/null |
552 |
@@ -1,513 +0,0 @@ |
553 |
-# Copyright 2000-2021 Gentoo Authors |
554 |
-# Distributed under the terms of the GNU General Public License v2 |
555 |
- |
556 |
-EAPI=7 |
557 |
- |
558 |
-LUA_COMPAT=( lua5-{1..2} ) |
559 |
- |
560 |
-MY_PV="${PV/_/-}" |
561 |
-MY_PV="${MY_PV/-beta/-test}" |
562 |
-MY_P="${PN}-${MY_PV}" |
563 |
-if [[ ${PV} = *9999 ]] ; then |
564 |
- if [[ ${PV%.9999} != ${PV} ]] ; then |
565 |
- EGIT_REPO_URI="https://git.videolan.org/git/vlc/vlc-${PV%.9999}.git" |
566 |
- else |
567 |
- EGIT_REPO_URI="https://git.videolan.org/git/vlc.git" |
568 |
- fi |
569 |
- inherit git-r3 |
570 |
-else |
571 |
- SRC_URI="https://code.videolan.org/videolan/vlc-$(ver_cut 1-2)/-/archive/${PV}/vlc-$(ver_cut 1-2)-${PV}.tar.gz" |
572 |
- S="${WORKDIR}/${PN}-$(ver_cut 1-2)-${PV}" |
573 |
- #if [[ ${MY_P} = ${P} ]] ; then |
574 |
- # SRC_URI="https://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz" |
575 |
- #else |
576 |
- # SRC_URI="https://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz" |
577 |
- #fi |
578 |
- KEYWORDS="amd64 ~arm arm64 ppc ppc64 -sparc x86" |
579 |
-fi |
580 |
- |
581 |
-inherit autotools flag-o-matic lua-single toolchain-funcs virtualx xdg |
582 |
- |
583 |
-DESCRIPTION="Media player and framework with support for most multimedia files and streaming" |
584 |
-HOMEPAGE="https://www.videolan.org/vlc/" |
585 |
- |
586 |
-LICENSE="LGPL-2.1 GPL-2" |
587 |
-SLOT="0/5-9" # vlc - vlccore |
588 |
- |
589 |
-IUSE="a52 alsa aom archive aribsub bidi bluray cddb chromaprint chromecast |
590 |
- dav1d dbus dc1394 debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac |
591 |
- fluidsynth fontconfig +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate |
592 |
- libass libcaca libnotify +libsamplerate libtar libtiger linsys lirc |
593 |
- live lua macosx-notifications mad matroska modplug mp3 mpeg mtp musepack ncurses |
594 |
- nfs ogg omxil optimisememory opus png projectm pulseaudio +qt5 rdp |
595 |
- run-as-root samba sdl-image sftp shout sid skins soxr speex srt ssl svg taglib |
596 |
- theora tremor truetype twolame udev upnp vaapi v4l vdpau vnc vpx wayland +X |
597 |
- x264 x265 xml zeroconf zvbi cpu_flags_arm_neon cpu_flags_ppc_altivec cpu_flags_x86_mmx |
598 |
- cpu_flags_x86_sse |
599 |
-" |
600 |
-REQUIRED_USE=" |
601 |
- chromecast? ( encode ) |
602 |
- directx? ( ffmpeg ) |
603 |
- fontconfig? ( truetype ) |
604 |
- libcaca? ( X ) |
605 |
- libtar? ( skins ) |
606 |
- libtiger? ( kate ) |
607 |
- lua? ( ${LUA_REQUIRED_USE} ) |
608 |
- skins? ( qt5 truetype X xml ) |
609 |
- ssl? ( gcrypt ) |
610 |
- vaapi? ( ffmpeg X ) |
611 |
- vdpau? ( ffmpeg X ) |
612 |
-" |
613 |
-BDEPEND=" |
614 |
- >=sys-devel/gettext-0.19.8 |
615 |
- virtual/pkgconfig |
616 |
- lua? ( ${LUA_DEPS} ) |
617 |
- amd64? ( dev-lang/yasm ) |
618 |
- x86? ( dev-lang/yasm ) |
619 |
-" |
620 |
-RDEPEND=" |
621 |
- media-libs/libvorbis |
622 |
- net-dns/libidn:= |
623 |
- sys-libs/zlib[minizip] |
624 |
- virtual/libintl |
625 |
- virtual/opengl |
626 |
- a52? ( media-libs/a52dec ) |
627 |
- alsa? ( media-libs/alsa-lib ) |
628 |
- aom? ( media-libs/libaom:= ) |
629 |
- archive? ( app-arch/libarchive:= ) |
630 |
- aribsub? ( media-libs/aribb24 ) |
631 |
- bidi? ( |
632 |
- dev-libs/fribidi |
633 |
- media-libs/freetype:2[harfbuzz] |
634 |
- media-libs/harfbuzz |
635 |
- virtual/ttf-fonts |
636 |
- ) |
637 |
- bluray? ( >=media-libs/libbluray-1.3.0:= ) |
638 |
- cddb? ( media-libs/libcddb ) |
639 |
- chromaprint? ( media-libs/chromaprint:= ) |
640 |
- chromecast? ( |
641 |
- >=dev-libs/protobuf-2.5.0:= |
642 |
- >=net-libs/libmicrodns-0.1.2:= |
643 |
- ) |
644 |
- dav1d? ( media-libs/dav1d:= ) |
645 |
- dbus? ( sys-apps/dbus ) |
646 |
- dc1394? ( |
647 |
- media-libs/libdc1394:2 |
648 |
- sys-libs/libraw1394 |
649 |
- ) |
650 |
- dts? ( media-libs/libdca ) |
651 |
- dvbpsi? ( >=media-libs/libdvbpsi-1.2.0:= ) |
652 |
- dvd? ( |
653 |
- >=media-libs/libdvdnav-6.1.1:0= |
654 |
- >=media-libs/libdvdread-6.1.2:0= |
655 |
- ) |
656 |
- faad? ( media-libs/faad2 ) |
657 |
- fdk? ( media-libs/fdk-aac:= ) |
658 |
- ffmpeg? ( >=media-video/ffmpeg-3.1.3:0=[postproc,vaapi?,vdpau?] ) |
659 |
- flac? ( |
660 |
- media-libs/flac |
661 |
- media-libs/libogg |
662 |
- ) |
663 |
- fluidsynth? ( media-sound/fluidsynth:= ) |
664 |
- fontconfig? ( media-libs/fontconfig:1.0 ) |
665 |
- gcrypt? ( |
666 |
- dev-libs/libgcrypt:0= |
667 |
- dev-libs/libgpg-error |
668 |
- ) |
669 |
- gme? ( media-libs/game-music-emu ) |
670 |
- gnome-keyring? ( app-crypt/libsecret ) |
671 |
- gstreamer? ( >=media-libs/gst-plugins-base-1.4.5:1.0 ) |
672 |
- ieee1394? ( |
673 |
- sys-libs/libavc1394 |
674 |
- sys-libs/libraw1394 |
675 |
- ) |
676 |
- jack? ( virtual/jack ) |
677 |
- jpeg? ( virtual/jpeg:0 ) |
678 |
- kate? ( media-libs/libkate ) |
679 |
- libass? ( |
680 |
- media-libs/fontconfig:1.0 |
681 |
- media-libs/libass:= |
682 |
- ) |
683 |
- libcaca? ( media-libs/libcaca ) |
684 |
- libnotify? ( |
685 |
- dev-libs/glib:2 |
686 |
- x11-libs/gdk-pixbuf:2 |
687 |
- x11-libs/gtk+:3 |
688 |
- x11-libs/libnotify |
689 |
- ) |
690 |
- libsamplerate? ( media-libs/libsamplerate ) |
691 |
- libtar? ( dev-libs/libtar ) |
692 |
- libtiger? ( media-libs/libtiger ) |
693 |
- linsys? ( media-libs/zvbi ) |
694 |
- lirc? ( app-misc/lirc ) |
695 |
- live? ( <media-plugins/live-2021.05.22:= ) |
696 |
- lua? ( ${LUA_DEPS} ) |
697 |
- mad? ( media-libs/libmad ) |
698 |
- matroska? ( |
699 |
- >=dev-libs/libebml-1.4.2:= |
700 |
- media-libs/libmatroska:= |
701 |
- ) |
702 |
- modplug? ( >=media-libs/libmodplug-0.8.9.0 ) |
703 |
- mp3? ( media-sound/mpg123 ) |
704 |
- mpeg? ( media-libs/libmpeg2 ) |
705 |
- mtp? ( media-libs/libmtp:= ) |
706 |
- musepack? ( media-sound/musepack-tools ) |
707 |
- ncurses? ( sys-libs/ncurses:=[unicode(+)] ) |
708 |
- nfs? ( >=net-fs/libnfs-0.10.0:= ) |
709 |
- ogg? ( media-libs/libogg ) |
710 |
- opus? ( >=media-libs/opus-1.0.3 ) |
711 |
- png? ( media-libs/libpng:0= ) |
712 |
- projectm? ( |
713 |
- media-fonts/dejavu |
714 |
- >=media-libs/libprojectm-3.1.12:0= |
715 |
- ) |
716 |
- pulseaudio? ( media-sound/pulseaudio ) |
717 |
- qt5? ( |
718 |
- dev-qt/qtcore:5 |
719 |
- dev-qt/qtgui:5 |
720 |
- dev-qt/qtsvg:5 |
721 |
- dev-qt/qtwidgets:5 |
722 |
- X? ( |
723 |
- dev-qt/qtx11extras:5 |
724 |
- x11-libs/libX11 |
725 |
- ) |
726 |
- ) |
727 |
- rdp? ( >=net-misc/freerdp-2.0.0_rc0:=[client(+)] ) |
728 |
- samba? ( >=net-fs/samba-4.0.0:0[client,-debug(-)] ) |
729 |
- sdl-image? ( media-libs/sdl-image ) |
730 |
- sftp? ( net-libs/libssh2 ) |
731 |
- shout? ( media-libs/libshout ) |
732 |
- sid? ( media-libs/libsidplay:2 ) |
733 |
- skins? ( |
734 |
- x11-libs/libXext |
735 |
- x11-libs/libXinerama |
736 |
- x11-libs/libXpm |
737 |
- ) |
738 |
- soxr? ( >=media-libs/soxr-0.1.2 ) |
739 |
- speex? ( |
740 |
- >=media-libs/speex-1.2.0 |
741 |
- media-libs/speexdsp |
742 |
- ) |
743 |
- srt? ( >=net-libs/srt-1.4.2:= ) |
744 |
- ssl? ( net-libs/gnutls:= ) |
745 |
- svg? ( |
746 |
- gnome-base/librsvg:2 |
747 |
- x11-libs/cairo |
748 |
- ) |
749 |
- taglib? ( >=media-libs/taglib-1.9 ) |
750 |
- theora? ( media-libs/libtheora ) |
751 |
- tremor? ( media-libs/tremor ) |
752 |
- truetype? ( |
753 |
- media-libs/freetype:2 |
754 |
- virtual/ttf-fonts |
755 |
- !fontconfig? ( media-fonts/dejavu ) |
756 |
- ) |
757 |
- twolame? ( media-sound/twolame ) |
758 |
- udev? ( virtual/udev ) |
759 |
- upnp? ( net-libs/libupnp:=[ipv6] ) |
760 |
- v4l? ( media-libs/libv4l:= ) |
761 |
- vaapi? ( x11-libs/libva:=[drm,wayland?,X?] ) |
762 |
- vdpau? ( x11-libs/libvdpau ) |
763 |
- vnc? ( net-libs/libvncserver ) |
764 |
- vpx? ( media-libs/libvpx:= ) |
765 |
- wayland? ( |
766 |
- >=dev-libs/wayland-1.15 |
767 |
- dev-libs/wayland-protocols |
768 |
- ) |
769 |
- X? ( |
770 |
- x11-libs/libX11 |
771 |
- x11-libs/libxcb |
772 |
- x11-libs/xcb-util |
773 |
- x11-libs/xcb-util-keysyms |
774 |
- ) |
775 |
- x264? ( >=media-libs/x264-0.0.20190214:= ) |
776 |
- x265? ( media-libs/x265:= ) |
777 |
- xml? ( dev-libs/libxml2:2 ) |
778 |
- zeroconf? ( net-dns/avahi[dbus] ) |
779 |
- zvbi? ( media-libs/zvbi ) |
780 |
-" |
781 |
-DEPEND="${RDEPEND} |
782 |
- X? ( x11-base/xorg-proto ) |
783 |
-" |
784 |
- |
785 |
-PATCHES=( |
786 |
- "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch # build system |
787 |
- "${FILESDIR}"/${PN}-2.2.8-freerdp-2.patch # bug 590164 |
788 |
- "${FILESDIR}"/${PN}-3.0.6-fdk-aac-2.0.0.patch # bug 672290 |
789 |
- "${FILESDIR}"/${PN}-3.0.11.1-configure_lua_version.patch |
790 |
- "${FILESDIR}"/${PN}-3.0.11.1-srt-1.4.2.patch # bug 758062 |
791 |
- "${FILESDIR}"/${PN}-3.0.13-srt-1.3.0.patch |
792 |
-) |
793 |
- |
794 |
-DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt ) |
795 |
- |
796 |
-pkg_setup() { |
797 |
- if use lua; then |
798 |
- lua-single_pkg_setup |
799 |
- fi |
800 |
-} |
801 |
- |
802 |
-src_prepare() { |
803 |
- xdg_src_prepare # bug 608256 |
804 |
- |
805 |
- has_version 'net-libs/libupnp:1.8' && \ |
806 |
- eapply "${FILESDIR}"/${PN}-2.2.8-libupnp-slot-1.8.patch |
807 |
- |
808 |
- # Bootstrap when we are on a git checkout. |
809 |
- if [[ ${PV} = *9999 ]] ; then |
810 |
- ./bootstrap |
811 |
- fi |
812 |
- |
813 |
- # Make it build with libtool 1.5 |
814 |
- #rm m4/lt* m4/libtool.m4 || die |
815 |
- |
816 |
- # We are not in a real git checkout due to the absence of a .git directory. |
817 |
- touch src/revision.txt || die |
818 |
- |
819 |
- # Don't use --started-from-file when not using dbus. |
820 |
- if ! use dbus ; then |
821 |
- sed -i 's/ --started-from-file//' share/vlc.desktop.in || die |
822 |
- fi |
823 |
- |
824 |
- # Disable running of vlc-cache-gen, we do that in pkg_postinst |
825 |
- sed -e "/test.*build.*host/s/\$(host)/nothanks/" \ |
826 |
- -i Makefile.am -i bin/Makefile.am || die "Failed to disable vlc-cache-gen" |
827 |
- |
828 |
- # Fix gettext version mismatch errors. |
829 |
- sed -i -e s/GETTEXT_VERSION/GETTEXT_REQUIRE_VERSION/ configure.ac || die |
830 |
- |
831 |
- eautoreconf |
832 |
- |
833 |
- # Disable automatic running of tests. |
834 |
- find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die |
835 |
-} |
836 |
- |
837 |
-src_configure() { |
838 |
- local -x BUILDCC=$(tc-getBUILD_CC) |
839 |
- |
840 |
- local myeconfargs=( |
841 |
- --disable-aa |
842 |
- --disable-optimizations |
843 |
- --disable-rpath |
844 |
- --disable-update-check |
845 |
- --enable-fast-install |
846 |
- --enable-screen |
847 |
- --enable-vcd |
848 |
- --enable-vlc |
849 |
- --enable-vorbis |
850 |
- $(use_enable a52) |
851 |
- $(use_enable alsa) |
852 |
- $(use_enable aom) |
853 |
- $(use_enable archive) |
854 |
- $(use_enable aribsub) |
855 |
- $(use_enable bidi fribidi) |
856 |
- $(use_enable bidi harfbuzz) |
857 |
- $(use_enable bluray) |
858 |
- $(use_enable cddb libcddb) |
859 |
- $(use_enable chromaprint) |
860 |
- $(use_enable chromecast) |
861 |
- $(use_enable chromecast microdns) |
862 |
- $(use_enable cpu_flags_arm_neon neon) |
863 |
- $(use_enable cpu_flags_ppc_altivec altivec) |
864 |
- $(use_enable cpu_flags_x86_mmx mmx) |
865 |
- $(use_enable cpu_flags_x86_sse sse) |
866 |
- $(use_enable dav1d) |
867 |
- $(use_enable dbus) |
868 |
- $(use_enable dbus kwallet) |
869 |
- $(use_enable dc1394) |
870 |
- $(use_enable debug) |
871 |
- $(use_enable directx) |
872 |
- $(use_enable directx d3d11va) |
873 |
- $(use_enable directx dxva2) |
874 |
- $(use_enable dts dca) |
875 |
- $(use_enable dvbpsi) |
876 |
- $(use_enable dvd dvdnav) |
877 |
- $(use_enable dvd dvdread) |
878 |
- $(use_enable encode sout) |
879 |
- $(use_enable encode vlm) |
880 |
- $(use_enable faad) |
881 |
- $(use_enable fdk fdkaac) |
882 |
- $(use_enable ffmpeg avcodec) |
883 |
- $(use_enable ffmpeg avformat) |
884 |
- $(use_enable ffmpeg postproc) |
885 |
- $(use_enable ffmpeg swscale) |
886 |
- $(use_enable flac) |
887 |
- $(use_enable fluidsynth) |
888 |
- $(use_enable fontconfig) |
889 |
- $(use_enable gcrypt libgcrypt) |
890 |
- $(use_enable gme) |
891 |
- $(use_enable gnome-keyring secret) |
892 |
- $(use_enable gstreamer gst-decode) |
893 |
- $(use_enable ieee1394 dv1394) |
894 |
- $(use_enable jack) |
895 |
- $(use_enable jpeg) |
896 |
- $(use_enable kate) |
897 |
- $(use_enable libass) |
898 |
- $(use_enable libcaca caca) |
899 |
- $(use_enable libnotify notify) |
900 |
- $(use_enable libsamplerate samplerate) |
901 |
- $(use_enable libtar) |
902 |
- $(use_enable libtiger tiger) |
903 |
- $(use_enable linsys) |
904 |
- $(use_enable lirc) |
905 |
- $(use_enable live live555) |
906 |
- $(use_enable lua) |
907 |
- $(use_enable macosx-notifications osx-notifications) |
908 |
- $(use_enable mad) |
909 |
- $(use_enable matroska) |
910 |
- $(use_enable modplug mod) |
911 |
- $(use_enable mp3 mpg123) |
912 |
- $(use_enable mpeg libmpeg2) |
913 |
- $(use_enable mtp) |
914 |
- $(use_enable musepack mpc) |
915 |
- $(use_enable ncurses) |
916 |
- $(use_enable nfs) |
917 |
- $(use_enable ogg) |
918 |
- $(use_enable omxil) |
919 |
- $(use_enable omxil omxil-vout) |
920 |
- $(use_enable optimisememory optimize-memory) |
921 |
- $(use_enable opus) |
922 |
- $(use_enable png) |
923 |
- $(use_enable projectm) |
924 |
- $(use_enable pulseaudio pulse) |
925 |
- $(use_enable qt5 qt) |
926 |
- $(use_enable rdp freerdp) |
927 |
- $(use_enable run-as-root) |
928 |
- $(use_enable samba smbclient) |
929 |
- $(use_enable sdl-image) |
930 |
- $(use_enable sftp) |
931 |
- $(use_enable shout) |
932 |
- $(use_enable sid) |
933 |
- $(use_enable skins skins2) |
934 |
- $(use_enable soxr) |
935 |
- $(use_enable speex) |
936 |
- $(use_enable srt) |
937 |
- $(use_enable ssl gnutls) |
938 |
- $(use_enable svg) |
939 |
- $(use_enable svg svgdec) |
940 |
- $(use_enable taglib) |
941 |
- $(use_enable theora) |
942 |
- $(use_enable tremor) |
943 |
- $(use_enable twolame) |
944 |
- $(use_enable udev) |
945 |
- $(use_enable upnp) |
946 |
- $(use_enable v4l v4l2) |
947 |
- $(use_enable vaapi libva) |
948 |
- $(use_enable vdpau) |
949 |
- $(use_enable vnc) |
950 |
- $(use_enable vpx) |
951 |
- $(use_enable wayland) |
952 |
- $(use_with X x) |
953 |
- $(use_enable X xcb) |
954 |
- $(use_enable X xvideo) |
955 |
- $(use_enable x264) |
956 |
- $(use_enable x264 x26410b) |
957 |
- $(use_enable x265) |
958 |
- $(use_enable xml libxml2) |
959 |
- $(use_enable zeroconf avahi) |
960 |
- $(use_enable zvbi) |
961 |
- $(use_enable !zvbi telx) |
962 |
- --with-kde-solid="${EPREFIX}"/usr/share/solid/actions |
963 |
- --disable-asdcp |
964 |
- --disable-coverage |
965 |
- --disable-cprof |
966 |
- --disable-crystalhd |
967 |
- --disable-decklink |
968 |
- --disable-gles2 |
969 |
- --disable-goom |
970 |
- --disable-kai |
971 |
- --disable-kva |
972 |
- --disable-libplacebo |
973 |
- --disable-maintainer-mode |
974 |
- --disable-merge-ffmpeg |
975 |
- --disable-mfx |
976 |
- --disable-mmal |
977 |
- --disable-opencv |
978 |
- --disable-opensles |
979 |
- --disable-oss |
980 |
- --disable-rpi-omxil |
981 |
- --disable-schroedinger |
982 |
- --disable-shine |
983 |
- --disable-sndio |
984 |
- --disable-spatialaudio |
985 |
- --disable-vsxu |
986 |
- --disable-wasapi |
987 |
- --disable-wma-fixed |
988 |
- ) |
989 |
- # ^ We don't have these disabled libraries in the Portage tree yet. |
990 |
- |
991 |
- # Compatibility fix for Samba 4. |
992 |
- use samba && append-cppflags "-I/usr/include/samba-4.0" |
993 |
- |
994 |
- if use x86; then |
995 |
- # We need to disable -fstack-check if use >=gcc 4.8.0. bug #499996 |
996 |
- append-cflags $(test-flags-CC -fno-stack-check) |
997 |
- # Bug 569774 |
998 |
- replace-flags -Os -O2 |
999 |
- fi |
1000 |
- |
1001 |
- # VLC now requires C++11 after commit 4b1c9dcdda0bbff801e47505ff9dfd3f274eb0d8 |
1002 |
- append-cxxflags -std=c++11 |
1003 |
- |
1004 |
- if use omxil; then |
1005 |
- # bug #723006 |
1006 |
- # https://trac.videolan.org/vlc/ticket/24617 |
1007 |
- append-cflags -fcommon |
1008 |
- fi |
1009 |
- |
1010 |
- # FIXME: Needs libresid-builder from libsidplay:2 which is in another directory... |
1011 |
- append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" |
1012 |
- |
1013 |
- if use truetype || use bidi; then |
1014 |
- myeconfargs+=( --enable-freetype ) |
1015 |
- else |
1016 |
- myeconfargs+=( --disable-freetype ) |
1017 |
- fi |
1018 |
- |
1019 |
- if use truetype || use projectm; then |
1020 |
- local dejavu="${EPREFIX}/usr/share/fonts/dejavu/" |
1021 |
- myeconfargs+=( |
1022 |
- --with-default-font=${dejavu}/DejaVuSans.ttf |
1023 |
- --with-default-font-family=Sans |
1024 |
- --with-default-monospace-font=${dejavu}/DejaVuSansMono.ttf |
1025 |
- --with-default-monospace-font-family=Monospace |
1026 |
- ) |
1027 |
- fi |
1028 |
- |
1029 |
- econf "${myeconfargs[@]}" |
1030 |
- |
1031 |
- # _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo. |
1032 |
- # Other values may break the build (bug 523144), so definition should not be removed. |
1033 |
- # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the start of config.h |
1034 |
- sed -i '1i#undef _FORTIFY_SOURCE' config.h || die |
1035 |
-} |
1036 |
- |
1037 |
-src_test() { |
1038 |
- virtx emake check-TESTS |
1039 |
-} |
1040 |
- |
1041 |
-src_install() { |
1042 |
- default |
1043 |
- find "${ED}" -name '*.la' -delete || die |
1044 |
-} |
1045 |
- |
1046 |
-pkg_postinst() { |
1047 |
- if [[ -z "${ROOT}" ]] && [[ -x "${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen" ]] ; then |
1048 |
- einfo "Running ${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen on ${EROOT}/usr/$(get_libdir)/vlc/plugins/" |
1049 |
- "${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen" "${EROOT}/usr/$(get_libdir)/vlc/plugins/" |
1050 |
- else |
1051 |
- ewarn "We cannot run vlc-cache-gen (most likely ROOT != /)" |
1052 |
- ewarn "Please run ${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen manually" |
1053 |
- ewarn "If you do not do it, vlc will take a long time to load." |
1054 |
- fi |
1055 |
- |
1056 |
- xdg_pkg_postinst |
1057 |
-} |
1058 |
- |
1059 |
-pkg_postrm() { |
1060 |
- if [[ -e "${EROOT}"/usr/$(get_libdir)/vlc/plugins/plugins.dat ]]; then |
1061 |
- rm "${EROOT}"/usr/$(get_libdir)/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat" |
1062 |
- fi |
1063 |
- |
1064 |
- xdg_pkg_postrm |
1065 |
-} |
1066 |
|
1067 |
diff --git a/media-video/vlc/vlc-3.0.16-r5.ebuild b/media-video/vlc/vlc-3.0.16-r5.ebuild |
1068 |
deleted file mode 100644 |
1069 |
index a21851568cb..00000000000 |
1070 |
--- a/media-video/vlc/vlc-3.0.16-r5.ebuild |
1071 |
+++ /dev/null |
1072 |
@@ -1,514 +0,0 @@ |
1073 |
-# Copyright 2000-2021 Gentoo Authors |
1074 |
-# Distributed under the terms of the GNU General Public License v2 |
1075 |
- |
1076 |
-EAPI=7 |
1077 |
- |
1078 |
-LUA_COMPAT=( lua5-{1..2} ) |
1079 |
- |
1080 |
-MY_PV="${PV/_/-}" |
1081 |
-MY_PV="${MY_PV/-beta/-test}" |
1082 |
-MY_P="${PN}-${MY_PV}" |
1083 |
-if [[ ${PV} = *9999 ]] ; then |
1084 |
- if [[ ${PV%.9999} != ${PV} ]] ; then |
1085 |
- EGIT_REPO_URI="https://git.videolan.org/git/vlc/vlc-${PV%.9999}.git" |
1086 |
- else |
1087 |
- EGIT_REPO_URI="https://git.videolan.org/git/vlc.git" |
1088 |
- fi |
1089 |
- inherit git-r3 |
1090 |
-else |
1091 |
- SRC_URI="https://get.videolan.org/vlc/${PV}/${P}.tar.xz" |
1092 |
- #S="${WORKDIR}/${PN}-$(ver_cut 1-2)-${PV}" |
1093 |
- #SRC_URI="https://code.videolan.org/videolan/vlc-$(ver_cut 1-2)/-/archive/${PV}/vlc-$(ver_cut 1-2)-${PV}.tar.gz" |
1094 |
- #if [[ ${MY_P} = ${P} ]] ; then |
1095 |
- # SRC_URI="https://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz" |
1096 |
- #else |
1097 |
- # SRC_URI="https://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz" |
1098 |
- #fi |
1099 |
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -sparc ~x86" |
1100 |
-fi |
1101 |
- |
1102 |
-inherit autotools flag-o-matic lua-single toolchain-funcs virtualx xdg |
1103 |
- |
1104 |
-DESCRIPTION="Media player and framework with support for most multimedia files and streaming" |
1105 |
-HOMEPAGE="https://www.videolan.org/vlc/" |
1106 |
- |
1107 |
-LICENSE="LGPL-2.1 GPL-2" |
1108 |
-SLOT="0/5-9" # vlc - vlccore |
1109 |
- |
1110 |
-IUSE="a52 alsa aom archive aribsub bidi bluray cddb chromaprint chromecast |
1111 |
- dav1d dbus dc1394 debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac |
1112 |
- fluidsynth fontconfig +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate |
1113 |
- libass libcaca libnotify +libsamplerate libtar libtiger linsys lirc |
1114 |
- live lua macosx-notifications mad matroska modplug mp3 mpeg mtp musepack ncurses |
1115 |
- nfs ogg omxil optimisememory opus png projectm pulseaudio +qt5 rdp |
1116 |
- run-as-root samba sdl-image sftp shout sid skins soxr speex srt ssl svg taglib |
1117 |
- theora tremor truetype twolame udev upnp vaapi v4l vdpau vnc vpx wayland +X |
1118 |
- x264 x265 xml zeroconf zvbi cpu_flags_arm_neon cpu_flags_ppc_altivec cpu_flags_x86_mmx |
1119 |
- cpu_flags_x86_sse |
1120 |
-" |
1121 |
-REQUIRED_USE=" |
1122 |
- chromecast? ( encode ) |
1123 |
- directx? ( ffmpeg ) |
1124 |
- fontconfig? ( truetype ) |
1125 |
- libcaca? ( X ) |
1126 |
- libtar? ( skins ) |
1127 |
- libtiger? ( kate ) |
1128 |
- lua? ( ${LUA_REQUIRED_USE} ) |
1129 |
- skins? ( qt5 truetype X xml ) |
1130 |
- ssl? ( gcrypt ) |
1131 |
- vaapi? ( ffmpeg X ) |
1132 |
- vdpau? ( ffmpeg X ) |
1133 |
-" |
1134 |
-BDEPEND=" |
1135 |
- >=sys-devel/gettext-0.19.8 |
1136 |
- virtual/pkgconfig |
1137 |
- lua? ( ${LUA_DEPS} ) |
1138 |
- amd64? ( dev-lang/yasm ) |
1139 |
- x86? ( dev-lang/yasm ) |
1140 |
-" |
1141 |
-RDEPEND=" |
1142 |
- media-libs/libvorbis |
1143 |
- net-dns/libidn:= |
1144 |
- sys-libs/zlib[minizip] |
1145 |
- virtual/libintl |
1146 |
- virtual/opengl |
1147 |
- a52? ( media-libs/a52dec ) |
1148 |
- alsa? ( media-libs/alsa-lib ) |
1149 |
- aom? ( media-libs/libaom:= ) |
1150 |
- archive? ( app-arch/libarchive:= ) |
1151 |
- aribsub? ( media-libs/aribb24 ) |
1152 |
- bidi? ( |
1153 |
- dev-libs/fribidi |
1154 |
- media-libs/freetype:2[harfbuzz] |
1155 |
- media-libs/harfbuzz |
1156 |
- virtual/ttf-fonts |
1157 |
- ) |
1158 |
- bluray? ( >=media-libs/libbluray-1.3.0:= ) |
1159 |
- cddb? ( media-libs/libcddb ) |
1160 |
- chromaprint? ( media-libs/chromaprint:= ) |
1161 |
- chromecast? ( |
1162 |
- >=dev-libs/protobuf-2.5.0:= |
1163 |
- >=net-libs/libmicrodns-0.1.2:= |
1164 |
- ) |
1165 |
- dav1d? ( media-libs/dav1d:= ) |
1166 |
- dbus? ( sys-apps/dbus ) |
1167 |
- dc1394? ( |
1168 |
- media-libs/libdc1394:2 |
1169 |
- sys-libs/libraw1394 |
1170 |
- ) |
1171 |
- dts? ( media-libs/libdca ) |
1172 |
- dvbpsi? ( >=media-libs/libdvbpsi-1.2.0:= ) |
1173 |
- dvd? ( |
1174 |
- >=media-libs/libdvdnav-6.1.1:0= |
1175 |
- >=media-libs/libdvdread-6.1.2:0= |
1176 |
- ) |
1177 |
- faad? ( media-libs/faad2 ) |
1178 |
- fdk? ( media-libs/fdk-aac:= ) |
1179 |
- ffmpeg? ( >=media-video/ffmpeg-3.1.3:0=[postproc,vaapi?,vdpau?] ) |
1180 |
- flac? ( |
1181 |
- media-libs/flac |
1182 |
- media-libs/libogg |
1183 |
- ) |
1184 |
- fluidsynth? ( media-sound/fluidsynth:= ) |
1185 |
- fontconfig? ( media-libs/fontconfig:1.0 ) |
1186 |
- gcrypt? ( |
1187 |
- dev-libs/libgcrypt:0= |
1188 |
- dev-libs/libgpg-error |
1189 |
- ) |
1190 |
- gme? ( media-libs/game-music-emu ) |
1191 |
- gnome-keyring? ( app-crypt/libsecret ) |
1192 |
- gstreamer? ( >=media-libs/gst-plugins-base-1.4.5:1.0 ) |
1193 |
- ieee1394? ( |
1194 |
- sys-libs/libavc1394 |
1195 |
- sys-libs/libraw1394 |
1196 |
- ) |
1197 |
- jack? ( virtual/jack ) |
1198 |
- jpeg? ( virtual/jpeg:0 ) |
1199 |
- kate? ( media-libs/libkate ) |
1200 |
- libass? ( |
1201 |
- media-libs/fontconfig:1.0 |
1202 |
- media-libs/libass:= |
1203 |
- ) |
1204 |
- libcaca? ( media-libs/libcaca ) |
1205 |
- libnotify? ( |
1206 |
- dev-libs/glib:2 |
1207 |
- x11-libs/gdk-pixbuf:2 |
1208 |
- x11-libs/gtk+:3 |
1209 |
- x11-libs/libnotify |
1210 |
- ) |
1211 |
- libsamplerate? ( media-libs/libsamplerate ) |
1212 |
- libtar? ( dev-libs/libtar ) |
1213 |
- libtiger? ( media-libs/libtiger ) |
1214 |
- linsys? ( media-libs/zvbi ) |
1215 |
- lirc? ( app-misc/lirc ) |
1216 |
- live? ( <media-plugins/live-2021.05.22:= ) |
1217 |
- lua? ( ${LUA_DEPS} ) |
1218 |
- mad? ( media-libs/libmad ) |
1219 |
- matroska? ( |
1220 |
- >=dev-libs/libebml-1.4.2:= |
1221 |
- media-libs/libmatroska:= |
1222 |
- ) |
1223 |
- modplug? ( >=media-libs/libmodplug-0.8.9.0 ) |
1224 |
- mp3? ( media-sound/mpg123 ) |
1225 |
- mpeg? ( media-libs/libmpeg2 ) |
1226 |
- mtp? ( media-libs/libmtp:= ) |
1227 |
- musepack? ( media-sound/musepack-tools ) |
1228 |
- ncurses? ( sys-libs/ncurses:=[unicode(+)] ) |
1229 |
- nfs? ( >=net-fs/libnfs-0.10.0:= ) |
1230 |
- ogg? ( media-libs/libogg ) |
1231 |
- opus? ( >=media-libs/opus-1.0.3 ) |
1232 |
- png? ( media-libs/libpng:0= ) |
1233 |
- projectm? ( |
1234 |
- media-fonts/dejavu |
1235 |
- >=media-libs/libprojectm-3.1.12:0= |
1236 |
- ) |
1237 |
- pulseaudio? ( media-sound/pulseaudio ) |
1238 |
- qt5? ( |
1239 |
- dev-qt/qtcore:5 |
1240 |
- dev-qt/qtgui:5 |
1241 |
- dev-qt/qtsvg:5 |
1242 |
- dev-qt/qtwidgets:5 |
1243 |
- X? ( |
1244 |
- dev-qt/qtx11extras:5 |
1245 |
- x11-libs/libX11 |
1246 |
- ) |
1247 |
- ) |
1248 |
- rdp? ( >=net-misc/freerdp-2.0.0_rc0:=[client(+)] ) |
1249 |
- samba? ( >=net-fs/samba-4.0.0:0[client,-debug(-)] ) |
1250 |
- sdl-image? ( media-libs/sdl-image ) |
1251 |
- sftp? ( net-libs/libssh2 ) |
1252 |
- shout? ( media-libs/libshout ) |
1253 |
- sid? ( media-libs/libsidplay:2 ) |
1254 |
- skins? ( |
1255 |
- x11-libs/libXext |
1256 |
- x11-libs/libXinerama |
1257 |
- x11-libs/libXpm |
1258 |
- ) |
1259 |
- soxr? ( >=media-libs/soxr-0.1.2 ) |
1260 |
- speex? ( |
1261 |
- >=media-libs/speex-1.2.0 |
1262 |
- media-libs/speexdsp |
1263 |
- ) |
1264 |
- srt? ( >=net-libs/srt-1.4.2:= ) |
1265 |
- ssl? ( net-libs/gnutls:= ) |
1266 |
- svg? ( |
1267 |
- gnome-base/librsvg:2 |
1268 |
- x11-libs/cairo |
1269 |
- ) |
1270 |
- taglib? ( >=media-libs/taglib-1.9 ) |
1271 |
- theora? ( media-libs/libtheora ) |
1272 |
- tremor? ( media-libs/tremor ) |
1273 |
- truetype? ( |
1274 |
- media-libs/freetype:2 |
1275 |
- virtual/ttf-fonts |
1276 |
- !fontconfig? ( media-fonts/dejavu ) |
1277 |
- ) |
1278 |
- twolame? ( media-sound/twolame ) |
1279 |
- udev? ( virtual/udev ) |
1280 |
- upnp? ( net-libs/libupnp:=[ipv6] ) |
1281 |
- v4l? ( media-libs/libv4l:= ) |
1282 |
- vaapi? ( x11-libs/libva:=[drm,wayland?,X?] ) |
1283 |
- vdpau? ( x11-libs/libvdpau ) |
1284 |
- vnc? ( net-libs/libvncserver ) |
1285 |
- vpx? ( media-libs/libvpx:= ) |
1286 |
- wayland? ( |
1287 |
- >=dev-libs/wayland-1.15 |
1288 |
- dev-libs/wayland-protocols |
1289 |
- ) |
1290 |
- X? ( |
1291 |
- x11-libs/libX11 |
1292 |
- x11-libs/libxcb |
1293 |
- x11-libs/xcb-util |
1294 |
- x11-libs/xcb-util-keysyms |
1295 |
- ) |
1296 |
- x264? ( >=media-libs/x264-0.0.20190214:= ) |
1297 |
- x265? ( media-libs/x265:= ) |
1298 |
- xml? ( dev-libs/libxml2:2 ) |
1299 |
- zeroconf? ( net-dns/avahi[dbus] ) |
1300 |
- zvbi? ( media-libs/zvbi ) |
1301 |
-" |
1302 |
-DEPEND="${RDEPEND} |
1303 |
- X? ( x11-base/xorg-proto ) |
1304 |
-" |
1305 |
- |
1306 |
-PATCHES=( |
1307 |
- "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch # build system |
1308 |
- "${FILESDIR}"/${PN}-2.2.8-freerdp-2.patch # bug 590164 |
1309 |
- "${FILESDIR}"/${PN}-3.0.6-fdk-aac-2.0.0.patch # bug 672290 |
1310 |
- "${FILESDIR}"/${PN}-3.0.11.1-configure_lua_version.patch |
1311 |
- "${FILESDIR}"/${PN}-3.0.11.1-srt-1.4.2.patch # bug 758062 |
1312 |
- "${FILESDIR}"/${PN}-3.0.13-srt-1.3.0.patch |
1313 |
-) |
1314 |
- |
1315 |
-DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt ) |
1316 |
- |
1317 |
-pkg_setup() { |
1318 |
- if use lua; then |
1319 |
- lua-single_pkg_setup |
1320 |
- fi |
1321 |
-} |
1322 |
- |
1323 |
-src_prepare() { |
1324 |
- xdg_src_prepare # bug 608256 |
1325 |
- |
1326 |
- has_version 'net-libs/libupnp:1.8' && \ |
1327 |
- eapply "${FILESDIR}"/${PN}-2.2.8-libupnp-slot-1.8.patch |
1328 |
- |
1329 |
- # Bootstrap when we are on a git checkout. |
1330 |
- if [[ ${PV} = *9999 ]] ; then |
1331 |
- ./bootstrap |
1332 |
- fi |
1333 |
- |
1334 |
- # Make it build with libtool 1.5 |
1335 |
- #rm m4/lt* m4/libtool.m4 || die |
1336 |
- |
1337 |
- # We are not in a real git checkout due to the absence of a .git directory. |
1338 |
- touch src/revision.txt || die |
1339 |
- |
1340 |
- # Don't use --started-from-file when not using dbus. |
1341 |
- if ! use dbus ; then |
1342 |
- sed -i 's/ --started-from-file//' share/vlc.desktop.in || die |
1343 |
- fi |
1344 |
- |
1345 |
- # Disable running of vlc-cache-gen, we do that in pkg_postinst |
1346 |
- sed -e "/test.*build.*host/s/\$(host)/nothanks/" \ |
1347 |
- -i Makefile.am -i bin/Makefile.am || die "Failed to disable vlc-cache-gen" |
1348 |
- |
1349 |
- # Fix gettext version mismatch errors. |
1350 |
- sed -i -e s/GETTEXT_VERSION/GETTEXT_REQUIRE_VERSION/ configure.ac || die |
1351 |
- |
1352 |
- eautoreconf |
1353 |
- |
1354 |
- # Disable automatic running of tests. |
1355 |
- find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die |
1356 |
-} |
1357 |
- |
1358 |
-src_configure() { |
1359 |
- local -x BUILDCC=$(tc-getBUILD_CC) |
1360 |
- |
1361 |
- local myeconfargs=( |
1362 |
- --disable-aa |
1363 |
- --disable-optimizations |
1364 |
- --disable-rpath |
1365 |
- --disable-update-check |
1366 |
- --enable-fast-install |
1367 |
- --enable-screen |
1368 |
- --enable-vcd |
1369 |
- --enable-vlc |
1370 |
- --enable-vorbis |
1371 |
- $(use_enable a52) |
1372 |
- $(use_enable alsa) |
1373 |
- $(use_enable aom) |
1374 |
- $(use_enable archive) |
1375 |
- $(use_enable aribsub) |
1376 |
- $(use_enable bidi fribidi) |
1377 |
- $(use_enable bidi harfbuzz) |
1378 |
- $(use_enable bluray) |
1379 |
- $(use_enable cddb libcddb) |
1380 |
- $(use_enable chromaprint) |
1381 |
- $(use_enable chromecast) |
1382 |
- $(use_enable chromecast microdns) |
1383 |
- $(use_enable cpu_flags_arm_neon neon) |
1384 |
- $(use_enable cpu_flags_ppc_altivec altivec) |
1385 |
- $(use_enable cpu_flags_x86_mmx mmx) |
1386 |
- $(use_enable cpu_flags_x86_sse sse) |
1387 |
- $(use_enable dav1d) |
1388 |
- $(use_enable dbus) |
1389 |
- $(use_enable dbus kwallet) |
1390 |
- $(use_enable dc1394) |
1391 |
- $(use_enable debug) |
1392 |
- $(use_enable directx) |
1393 |
- $(use_enable directx d3d11va) |
1394 |
- $(use_enable directx dxva2) |
1395 |
- $(use_enable dts dca) |
1396 |
- $(use_enable dvbpsi) |
1397 |
- $(use_enable dvd dvdnav) |
1398 |
- $(use_enable dvd dvdread) |
1399 |
- $(use_enable encode sout) |
1400 |
- $(use_enable encode vlm) |
1401 |
- $(use_enable faad) |
1402 |
- $(use_enable fdk fdkaac) |
1403 |
- $(use_enable ffmpeg avcodec) |
1404 |
- $(use_enable ffmpeg avformat) |
1405 |
- $(use_enable ffmpeg postproc) |
1406 |
- $(use_enable ffmpeg swscale) |
1407 |
- $(use_enable flac) |
1408 |
- $(use_enable fluidsynth) |
1409 |
- $(use_enable fontconfig) |
1410 |
- $(use_enable gcrypt libgcrypt) |
1411 |
- $(use_enable gme) |
1412 |
- $(use_enable gnome-keyring secret) |
1413 |
- $(use_enable gstreamer gst-decode) |
1414 |
- $(use_enable ieee1394 dv1394) |
1415 |
- $(use_enable jack) |
1416 |
- $(use_enable jpeg) |
1417 |
- $(use_enable kate) |
1418 |
- $(use_enable libass) |
1419 |
- $(use_enable libcaca caca) |
1420 |
- $(use_enable libnotify notify) |
1421 |
- $(use_enable libsamplerate samplerate) |
1422 |
- $(use_enable libtar) |
1423 |
- $(use_enable libtiger tiger) |
1424 |
- $(use_enable linsys) |
1425 |
- $(use_enable lirc) |
1426 |
- $(use_enable live live555) |
1427 |
- $(use_enable lua) |
1428 |
- $(use_enable macosx-notifications osx-notifications) |
1429 |
- $(use_enable mad) |
1430 |
- $(use_enable matroska) |
1431 |
- $(use_enable modplug mod) |
1432 |
- $(use_enable mp3 mpg123) |
1433 |
- $(use_enable mpeg libmpeg2) |
1434 |
- $(use_enable mtp) |
1435 |
- $(use_enable musepack mpc) |
1436 |
- $(use_enable ncurses) |
1437 |
- $(use_enable nfs) |
1438 |
- $(use_enable ogg) |
1439 |
- $(use_enable omxil) |
1440 |
- $(use_enable omxil omxil-vout) |
1441 |
- $(use_enable optimisememory optimize-memory) |
1442 |
- $(use_enable opus) |
1443 |
- $(use_enable png) |
1444 |
- $(use_enable projectm) |
1445 |
- $(use_enable pulseaudio pulse) |
1446 |
- $(use_enable qt5 qt) |
1447 |
- $(use_enable rdp freerdp) |
1448 |
- $(use_enable run-as-root) |
1449 |
- $(use_enable samba smbclient) |
1450 |
- $(use_enable sdl-image) |
1451 |
- $(use_enable sftp) |
1452 |
- $(use_enable shout) |
1453 |
- $(use_enable sid) |
1454 |
- $(use_enable skins skins2) |
1455 |
- $(use_enable soxr) |
1456 |
- $(use_enable speex) |
1457 |
- $(use_enable srt) |
1458 |
- $(use_enable ssl gnutls) |
1459 |
- $(use_enable svg) |
1460 |
- $(use_enable svg svgdec) |
1461 |
- $(use_enable taglib) |
1462 |
- $(use_enable theora) |
1463 |
- $(use_enable tremor) |
1464 |
- $(use_enable twolame) |
1465 |
- $(use_enable udev) |
1466 |
- $(use_enable upnp) |
1467 |
- $(use_enable v4l v4l2) |
1468 |
- $(use_enable vaapi libva) |
1469 |
- $(use_enable vdpau) |
1470 |
- $(use_enable vnc) |
1471 |
- $(use_enable vpx) |
1472 |
- $(use_enable wayland) |
1473 |
- $(use_with X x) |
1474 |
- $(use_enable X xcb) |
1475 |
- $(use_enable X xvideo) |
1476 |
- $(use_enable x264) |
1477 |
- $(use_enable x264 x26410b) |
1478 |
- $(use_enable x265) |
1479 |
- $(use_enable xml libxml2) |
1480 |
- $(use_enable zeroconf avahi) |
1481 |
- $(use_enable zvbi) |
1482 |
- $(use_enable !zvbi telx) |
1483 |
- --with-kde-solid="${EPREFIX}"/usr/share/solid/actions |
1484 |
- --disable-asdcp |
1485 |
- --disable-coverage |
1486 |
- --disable-cprof |
1487 |
- --disable-crystalhd |
1488 |
- --disable-decklink |
1489 |
- --disable-gles2 |
1490 |
- --disable-goom |
1491 |
- --disable-kai |
1492 |
- --disable-kva |
1493 |
- --disable-libplacebo |
1494 |
- --disable-maintainer-mode |
1495 |
- --disable-merge-ffmpeg |
1496 |
- --disable-mfx |
1497 |
- --disable-mmal |
1498 |
- --disable-opencv |
1499 |
- --disable-opensles |
1500 |
- --disable-oss |
1501 |
- --disable-rpi-omxil |
1502 |
- --disable-schroedinger |
1503 |
- --disable-shine |
1504 |
- --disable-sndio |
1505 |
- --disable-spatialaudio |
1506 |
- --disable-vsxu |
1507 |
- --disable-wasapi |
1508 |
- --disable-wma-fixed |
1509 |
- ) |
1510 |
- # ^ We don't have these disabled libraries in the Portage tree yet. |
1511 |
- |
1512 |
- # Compatibility fix for Samba 4. |
1513 |
- use samba && append-cppflags "-I/usr/include/samba-4.0" |
1514 |
- |
1515 |
- if use x86; then |
1516 |
- # We need to disable -fstack-check if use >=gcc 4.8.0. bug #499996 |
1517 |
- append-cflags $(test-flags-CC -fno-stack-check) |
1518 |
- # Bug 569774 |
1519 |
- replace-flags -Os -O2 |
1520 |
- fi |
1521 |
- |
1522 |
- # VLC now requires C++11 after commit 4b1c9dcdda0bbff801e47505ff9dfd3f274eb0d8 |
1523 |
- append-cxxflags -std=c++11 |
1524 |
- |
1525 |
- if use omxil; then |
1526 |
- # bug #723006 |
1527 |
- # https://trac.videolan.org/vlc/ticket/24617 |
1528 |
- append-cflags -fcommon |
1529 |
- fi |
1530 |
- |
1531 |
- # FIXME: Needs libresid-builder from libsidplay:2 which is in another directory... |
1532 |
- append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" |
1533 |
- |
1534 |
- if use truetype || use bidi; then |
1535 |
- myeconfargs+=( --enable-freetype ) |
1536 |
- else |
1537 |
- myeconfargs+=( --disable-freetype ) |
1538 |
- fi |
1539 |
- |
1540 |
- if use truetype || use projectm; then |
1541 |
- local dejavu="${EPREFIX}/usr/share/fonts/dejavu/" |
1542 |
- myeconfargs+=( |
1543 |
- --with-default-font=${dejavu}/DejaVuSans.ttf |
1544 |
- --with-default-font-family=Sans |
1545 |
- --with-default-monospace-font=${dejavu}/DejaVuSansMono.ttf |
1546 |
- --with-default-monospace-font-family=Monospace |
1547 |
- ) |
1548 |
- fi |
1549 |
- |
1550 |
- econf "${myeconfargs[@]}" |
1551 |
- |
1552 |
- # _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo. |
1553 |
- # Other values may break the build (bug 523144), so definition should not be removed. |
1554 |
- # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the start of config.h |
1555 |
- sed -i '1i#undef _FORTIFY_SOURCE' config.h || die |
1556 |
-} |
1557 |
- |
1558 |
-src_test() { |
1559 |
- virtx emake check-TESTS |
1560 |
-} |
1561 |
- |
1562 |
-src_install() { |
1563 |
- default |
1564 |
- find "${ED}" -name '*.la' -delete || die |
1565 |
-} |
1566 |
- |
1567 |
-pkg_postinst() { |
1568 |
- if [[ -z "${ROOT}" ]] && [[ -x "${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen" ]] ; then |
1569 |
- einfo "Running ${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen on ${EROOT}/usr/$(get_libdir)/vlc/plugins/" |
1570 |
- "${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen" "${EROOT}/usr/$(get_libdir)/vlc/plugins/" |
1571 |
- else |
1572 |
- ewarn "We cannot run vlc-cache-gen (most likely ROOT != /)" |
1573 |
- ewarn "Please run ${EROOT}/usr/$(get_libdir)/vlc/vlc-cache-gen manually" |
1574 |
- ewarn "If you do not do it, vlc will take a long time to load." |
1575 |
- fi |
1576 |
- |
1577 |
- xdg_pkg_postinst |
1578 |
-} |
1579 |
- |
1580 |
-pkg_postrm() { |
1581 |
- if [[ -e "${EROOT}"/usr/$(get_libdir)/vlc/plugins/plugins.dat ]]; then |
1582 |
- rm "${EROOT}"/usr/$(get_libdir)/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat" |
1583 |
- fi |
1584 |
- |
1585 |
- xdg_pkg_postrm |
1586 |
-} |