Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/vlc/
Date: Sun, 24 Feb 2019 18:01:54
Message-Id: 1551031284.2a1ddf003cf16ca0a4ab588eba78648b88d215d7.asturm@gentoo
1 commit: 2a1ddf003cf16ca0a4ab588eba78648b88d215d7
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 24 17:23:21 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 24 18:01:24 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a1ddf00
7
8 media-video/vlc: Drop 3.0.6 (r0)
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-video/vlc/vlc-3.0.6.ebuild | 499 ---------------------------------------
14 1 file changed, 499 deletions(-)
15
16 diff --git a/media-video/vlc/vlc-3.0.6.ebuild b/media-video/vlc/vlc-3.0.6.ebuild
17 deleted file mode 100644
18 index 63a6fda4089..00000000000
19 --- a/media-video/vlc/vlc-3.0.6.ebuild
20 +++ /dev/null
21 @@ -1,499 +0,0 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -MY_PV="${PV/_/-}"
28 -MY_PV="${MY_PV/-beta/-test}"
29 -MY_P="${PN}-${MY_PV}"
30 -if [[ ${PV} = *9999 ]] ; then
31 - if [[ ${PV%.9999} != ${PV} ]] ; then
32 - EGIT_REPO_URI="https://git.videolan.org/git/vlc/vlc-${PV%.9999}.git"
33 - else
34 - EGIT_REPO_URI="https://git.videolan.org/git/vlc.git"
35 - fi
36 - inherit git-r3
37 -else
38 - if [[ ${MY_P} = ${P} ]] ; then
39 - SRC_URI="https://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz"
40 - else
41 - SRC_URI="https://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz"
42 - fi
43 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd"
44 -fi
45 -inherit autotools flag-o-matic toolchain-funcs virtualx xdg
46 -
47 -DESCRIPTION="Media player and framework with support for most multimedia files and streaming"
48 -HOMEPAGE="https://www.videolan.org/vlc/"
49 -
50 -LICENSE="LGPL-2.1 GPL-2"
51 -SLOT="0/5-9" # vlc - vlccore
52 -
53 -IUSE="a52 alsa altivec aom archive aribsub bidi bluray cddb chromaprint chromecast
54 - dav1d dbus dc1394 debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac
55 - fluidsynth fontconfig +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate
56 - libass libav libcaca libnotify +libsamplerate libtar libtiger linsys lirc live lua
57 - macosx-notifications macosx-qtkit mad matroska modplug mp3 mpeg mtp musepack ncurses
58 - neon nfs ogg omxil opencv optimisememory opus png postproc projectm pulseaudio +qt5
59 - rdp run-as-root samba sdl-image sftp shout sid skins soxr speex srt ssl
60 - svg taglib theora tremor truetype twolame udev upnp vaapi v4l vdpau vnc vorbis vpx
61 - wayland wma-fixed +X x264 x265 xml zeroconf zvbi cpu_flags_x86_mmx cpu_flags_x86_sse
62 -"
63 -REQUIRED_USE="
64 - chromecast? ( encode )
65 - directx? ( ffmpeg )
66 - fontconfig? ( truetype )
67 - libcaca? ( X )
68 - libtar? ( skins )
69 - libtiger? ( kate )
70 - postproc? ( ffmpeg )
71 - skins? ( qt5 truetype X xml )
72 - ssl? ( gcrypt )
73 - vaapi? ( ffmpeg X )
74 - vdpau? ( ffmpeg X )
75 -"
76 -BDEPEND="
77 - >=sys-devel/gettext-0.19.8
78 - virtual/pkgconfig
79 - amd64? ( dev-lang/yasm )
80 - x86? ( dev-lang/yasm )
81 -"
82 -RDEPEND="
83 - net-dns/libidn:=
84 - sys-libs/zlib:0[minizip]
85 - virtual/libintl:0
86 - virtual/opengl
87 - a52? ( media-libs/a52dec:0 )
88 - alsa? ( media-libs/alsa-lib:0 )
89 - aom? ( media-libs/libaom:= )
90 - archive? ( app-arch/libarchive:= )
91 - aribsub? ( media-libs/aribb24 )
92 - bidi? (
93 - dev-libs/fribidi:0
94 - media-libs/freetype:2[harfbuzz]
95 - media-libs/harfbuzz
96 - virtual/ttf-fonts:0
97 - )
98 - bluray? ( media-libs/libbluray:0= )
99 - cddb? ( media-libs/libcddb:0 )
100 - chromaprint? ( media-libs/chromaprint:0= )
101 - chromecast? (
102 - >=dev-libs/protobuf-2.5.0:=
103 - >=net-libs/libmicrodns-0.0.9:=
104 - )
105 - dav1d? ( media-libs/dav1d )
106 - dbus? ( sys-apps/dbus:0 )
107 - dc1394? (
108 - media-libs/libdc1394:2
109 - sys-libs/libraw1394:0
110 - )
111 - dts? ( media-libs/libdca:0 )
112 - dvbpsi? ( >=media-libs/libdvbpsi-1.2.0:0= )
113 - dvd? (
114 - >=media-libs/libdvdnav-4.9:0
115 - >=media-libs/libdvdread-4.9:0
116 - )
117 - faad? ( media-libs/faad2:0 )
118 - fdk? ( <media-libs/fdk-aac-2.0.0:0= )
119 - ffmpeg? (
120 - !libav? ( >=media-video/ffmpeg-3.1.3:0=[vaapi?,vdpau?] )
121 - libav? ( >=media-video/libav-12.2:0=[vaapi?,vdpau?] )
122 - )
123 - flac? (
124 - media-libs/flac:0
125 - media-libs/libogg:0
126 - )
127 - fluidsynth? ( media-sound/fluidsynth:0 )
128 - fontconfig? ( media-libs/fontconfig:1.0 )
129 - gcrypt? (
130 - dev-libs/libgcrypt:0=
131 - dev-libs/libgpg-error:0
132 - )
133 - gme? ( media-libs/game-music-emu:0 )
134 - gnome-keyring? ( app-crypt/libsecret )
135 - gstreamer? ( >=media-libs/gst-plugins-base-1.4.5:1.0 )
136 - ieee1394? (
137 - sys-libs/libavc1394:0
138 - sys-libs/libraw1394:0
139 - )
140 - jack? ( virtual/jack )
141 - jpeg? ( virtual/jpeg:0 )
142 - kate? ( media-libs/libkate:0 )
143 - libass? (
144 - media-libs/fontconfig:1.0
145 - media-libs/libass:0=
146 - )
147 - libcaca? ( media-libs/libcaca:0 )
148 - libnotify? (
149 - dev-libs/glib:2
150 - x11-libs/gdk-pixbuf:2
151 - x11-libs/gtk+:3
152 - x11-libs/libnotify:0
153 - )
154 - libsamplerate? ( media-libs/libsamplerate:0 )
155 - libtar? ( dev-libs/libtar:0 )
156 - libtiger? ( media-libs/libtiger:0 )
157 - linsys? ( media-libs/zvbi )
158 - lirc? ( app-misc/lirc:0 )
159 - live? ( media-plugins/live:0 )
160 - lua? ( >=dev-lang/lua-5.1:0 )
161 - mad? ( media-libs/libmad )
162 - matroska? (
163 - dev-libs/libebml:0=
164 - media-libs/libmatroska:0=
165 - )
166 - modplug? ( media-libs/libmodplug )
167 - mp3? ( media-sound/mpg123 )
168 - mpeg? ( media-libs/libmpeg2 )
169 - mtp? ( media-libs/libmtp:0= )
170 - musepack? ( media-sound/musepack-tools:0 )
171 - ncurses? ( sys-libs/ncurses:0=[unicode] )
172 - nfs? ( >=net-fs/libnfs-0.10.0:= )
173 - ogg? ( media-libs/libogg:0 )
174 - opencv? ( media-libs/opencv:0= )
175 - opus? ( >=media-libs/opus-1.0.3:0 )
176 - png? ( media-libs/libpng:0= )
177 - postproc? ( libav? ( media-libs/libpostproc:0= ) )
178 - projectm? (
179 - media-fonts/dejavu:0
180 - media-libs/libprojectm:0
181 - )
182 - pulseaudio? ( media-sound/pulseaudio:0 )
183 - qt5? (
184 - dev-qt/qtcore:5
185 - dev-qt/qtgui:5
186 - dev-qt/qtsvg:5
187 - dev-qt/qtwidgets:5
188 - X? (
189 - dev-qt/qtx11extras:5
190 - x11-libs/libX11
191 - )
192 - )
193 - rdp? ( >=net-misc/freerdp-2.0.0_rc0:0=[client] )
194 - samba? ( >=net-fs/samba-4.0.0:0[client,-debug(-)] )
195 - sdl-image? ( media-libs/sdl-image:0 )
196 - sftp? ( net-libs/libssh2:0 )
197 - shout? ( media-libs/libshout:0 )
198 - sid? ( media-libs/libsidplay:2 )
199 - skins? (
200 - x11-libs/libXext:0
201 - x11-libs/libXinerama:0
202 - x11-libs/libXpm:0
203 - )
204 - soxr? ( media-libs/soxr )
205 - speex? (
206 - >=media-libs/speex-1.2.0:0
207 - media-libs/speexdsp:0
208 - )
209 - srt? ( net-libs/srt )
210 - ssl? ( net-libs/gnutls:0 )
211 - svg? (
212 - gnome-base/librsvg:2
213 - x11-libs/cairo:0
214 - )
215 - taglib? ( >=media-libs/taglib-1.9:0 )
216 - theora? ( media-libs/libtheora:0 )
217 - tremor? ( media-libs/tremor:0 )
218 - truetype? (
219 - media-libs/freetype:2
220 - virtual/ttf-fonts:0
221 - !fontconfig? ( media-fonts/dejavu:0 )
222 - )
223 - twolame? ( media-sound/twolame:0 )
224 - udev? ( virtual/udev:0 )
225 - upnp? ( net-libs/libupnp:= )
226 - v4l? ( media-libs/libv4l:0 )
227 - vaapi? ( x11-libs/libva:0=[drm,wayland?,X?] )
228 - vdpau? ( x11-libs/libvdpau:0 )
229 - vnc? ( net-libs/libvncserver:0 )
230 - vorbis? ( media-libs/libvorbis:0 )
231 - vpx? ( <media-libs/libvpx-1.8:0= )
232 - wayland? (
233 - >=dev-libs/wayland-1.15
234 - dev-libs/wayland-protocols
235 - )
236 - X? (
237 - x11-libs/libX11
238 - x11-libs/libxcb
239 - x11-libs/xcb-util
240 - x11-libs/xcb-util-keysyms
241 - )
242 - x264? ( >=media-libs/x264-0.0.20160712:0= )
243 - x265? ( media-libs/x265:0= )
244 - xml? ( dev-libs/libxml2:2 )
245 - zeroconf? ( net-dns/avahi:0[dbus] )
246 - zvbi? ( media-libs/zvbi )
247 -"
248 -DEPEND="${RDEPEND}
249 - X? ( x11-base/xorg-proto )
250 -"
251 -
252 -PATCHES=(
253 - "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch # build system
254 - "${FILESDIR}"/${PN}-2.2.4-libav-11.7.patch # bug #593460
255 - "${FILESDIR}"/${PN}-2.2.8-freerdp-2.patch # bug 590164
256 -)
257 -
258 -DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt )
259 -
260 -S="${WORKDIR}/${MY_P}"
261 -
262 -src_prepare() {
263 - xdg_src_prepare # bug 608256
264 -
265 - has_version '>=net-libs/libupnp-1.8.0' && \
266 - eapply "${FILESDIR}"/${PN}-2.2.8-libupnp-slot-1.8.patch
267 -
268 - # Bootstrap when we are on a git checkout.
269 - if [[ ${PV} = *9999 ]] ; then
270 - ./bootstrap
271 - fi
272 -
273 - # Make it build with libtool 1.5
274 - rm m4/lt* m4/libtool.m4 || die
275 -
276 - # We are not in a real git checkout due to the absence of a .git directory.
277 - touch src/revision.txt || die
278 -
279 - # Don't use --started-from-file when not using dbus.
280 - if ! use dbus ; then
281 - sed -i 's/ --started-from-file//' share/vlc.desktop.in || die
282 - fi
283 -
284 - # Disable running of vlc-cache-gen, we do that in pkg_postinst
285 - sed -e "/test.*build.*host/s/\$(host)/nothanks/" \
286 - -i Makefile.am -i bin/Makefile.am || die "Failed to disable vlc-cache-gen"
287 -
288 - eautoreconf
289 -
290 - # Disable automatic running of tests.
291 - find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die
292 -}
293 -
294 -src_configure() {
295 - local myeconfargs=(
296 - --disable-aa
297 - --disable-dependency-tracking
298 - --disable-optimizations
299 - --disable-rpath
300 - --disable-update-check
301 - --enable-fast-install
302 - --enable-screen
303 - --enable-vcd
304 - --enable-vlc
305 - $(use_enable a52)
306 - $(use_enable alsa)
307 - $(use_enable altivec)
308 - $(use_enable aom)
309 - $(use_enable archive)
310 - $(use_enable aribsub)
311 - $(use_enable bidi fribidi)
312 - $(use_enable bidi harfbuzz)
313 - $(use_enable bluray)
314 - $(use_enable cddb libcddb)
315 - $(use_enable chromaprint)
316 - $(use_enable chromecast)
317 - $(use_enable chromecast microdns)
318 - $(use_enable cpu_flags_x86_mmx mmx)
319 - $(use_enable cpu_flags_x86_sse sse)
320 - $(use_enable dav1d)
321 - $(use_enable dbus)
322 - $(use_enable dbus kwallet)
323 - $(use_enable dc1394)
324 - $(use_enable debug)
325 - $(use_enable directx)
326 - $(use_enable directx d3d11va)
327 - $(use_enable directx dxva2)
328 - $(use_enable dts dca)
329 - $(use_enable dvbpsi)
330 - $(use_enable dvd dvdnav)
331 - $(use_enable dvd dvdread)
332 - $(use_enable encode sout)
333 - $(use_enable encode vlm)
334 - $(use_enable faad)
335 - $(use_enable fdk fdkaac)
336 - $(use_enable ffmpeg avcodec)
337 - $(use_enable ffmpeg avformat)
338 - $(use_enable ffmpeg swscale)
339 - $(use_enable flac)
340 - $(use_enable fluidsynth)
341 - $(use_enable fontconfig)
342 - $(use_enable gcrypt libgcrypt)
343 - $(use_enable gme)
344 - $(use_enable gnome-keyring secret)
345 - $(use_enable gstreamer gst-decode)
346 - $(use_enable ieee1394 dv1394)
347 - $(use_enable jack)
348 - $(use_enable jpeg)
349 - $(use_enable kate)
350 - $(use_enable libass)
351 - $(use_enable libcaca caca)
352 - $(use_enable libnotify notify)
353 - $(use_enable libsamplerate samplerate)
354 - $(use_enable libtar)
355 - $(use_enable libtiger tiger)
356 - $(use_enable linsys)
357 - $(use_enable lirc)
358 - $(use_enable live live555)
359 - $(use_enable lua)
360 - $(use_enable macosx-notifications osx-notifications)
361 - $(use_enable macosx-qtkit)
362 - $(use_enable mad)
363 - $(use_enable matroska)
364 - $(use_enable modplug mod)
365 - $(use_enable mp3 mpg123)
366 - $(use_enable mpeg libmpeg2)
367 - $(use_enable mtp)
368 - $(use_enable musepack mpc)
369 - $(use_enable ncurses)
370 - $(use_enable neon)
371 - $(use_enable ogg)
372 - $(use_enable omxil)
373 - $(use_enable omxil omxil-vout)
374 - $(use_enable opencv)
375 - $(use_enable optimisememory optimize-memory)
376 - $(use_enable opus)
377 - $(use_enable png)
378 - $(use_enable postproc)
379 - $(use_enable projectm)
380 - $(use_enable pulseaudio pulse)
381 - $(use_enable qt5 qt)
382 - $(use_enable rdp freerdp)
383 - $(use_enable run-as-root)
384 - $(use_enable samba smbclient)
385 - $(use_enable sdl-image)
386 - $(use_enable sftp)
387 - $(use_enable shout)
388 - $(use_enable sid)
389 - $(use_enable skins skins2)
390 - $(use_enable soxr)
391 - $(use_enable speex)
392 - $(use_enable srt)
393 - $(use_enable ssl gnutls)
394 - $(use_enable svg)
395 - $(use_enable svg svgdec)
396 - $(use_enable taglib)
397 - $(use_enable theora)
398 - $(use_enable tremor)
399 - $(use_enable twolame)
400 - $(use_enable udev)
401 - $(use_enable upnp)
402 - $(use_enable v4l v4l2)
403 - $(use_enable vaapi libva)
404 - $(use_enable vdpau)
405 - $(use_enable vnc)
406 - $(use_enable vorbis)
407 - $(use_enable vpx)
408 - $(use_enable wayland)
409 - $(use_enable wma-fixed)
410 - $(use_with X x)
411 - $(use_enable X xcb)
412 - $(use_enable X xvideo)
413 - $(use_enable x264)
414 - $(use_enable x265)
415 - $(use_enable xml libxml2)
416 - $(use_enable zeroconf avahi)
417 - $(use_enable zvbi)
418 - $(use_enable !zvbi telx)
419 - --with-kde-solid=/usr/share/solid/actions
420 - --disable-asdcp
421 - --disable-coverage
422 - --disable-cprof
423 - --disable-crystalhd
424 - --disable-decklink
425 - --disable-gles2
426 - --disable-goom
427 - --disable-kai
428 - --disable-kva
429 - --disable-libplacebo
430 - --disable-maintainer-mode
431 - --disable-merge-ffmpeg
432 - --disable-mfx
433 - --disable-mmal
434 - --disable-opensles
435 - --disable-oss
436 - --disable-rpi-omxil
437 - --disable-schroedinger
438 - --disable-shine
439 - --disable-sndio
440 - --disable-spatialaudio
441 - --disable-vsxu
442 - --disable-wasapi
443 - )
444 - # ^ We don't have these disabled libraries in the Portage tree yet.
445 -
446 - if use x264 && has_version ">=media-libs/x264-0.0.20190214"; then
447 - myeconfargs+=( --enable-x26410b )
448 - else
449 - myeconfargs+=( --disable-x26410b )
450 - fi
451 -
452 - # Compatibility fix for Samba 4.
453 - use samba && append-cppflags "-I/usr/include/samba-4.0"
454 -
455 - if use x86; then
456 - # We need to disable -fstack-check if use >=gcc 4.8.0. bug #499996
457 - append-cflags $(test-flags-CC -fno-stack-check)
458 - # Bug 569774
459 - replace-flags -Os -O2
460 - fi
461 -
462 - # VLC now requires C++11 after commit 4b1c9dcdda0bbff801e47505ff9dfd3f274eb0d8
463 - append-cxxflags -std=c++11
464 -
465 - # FIXME: Needs libresid-builder from libsidplay:2 which is in another directory...
466 - append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/"
467 -
468 - if use truetype || use bidi; then
469 - myeconfargs+=( --enable-freetype )
470 - else
471 - myeconfargs+=( --disable-freetype )
472 - fi
473 -
474 - if use truetype || use projectm; then
475 - local dejavu="/usr/share/fonts/dejavu/"
476 - myeconfargs+=(
477 - --with-default-font=${dejavu}/DejaVuSans.ttf
478 - --with-default-font-family=Sans
479 - --with-default-monospace-font=${dejavu}/DejaVuSansMono.ttf
480 - --with-default-monospace-font-family=Monospace
481 - )
482 - fi
483 -
484 - econf "${myeconfargs[@]}"
485 -
486 - # _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo.
487 - # Other values may break the build (bug 523144), so definition should not be removed.
488 - # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the start of config.h
489 - sed -i '1i#undef _FORTIFY_SOURCE' config.h || die
490 -}
491 -
492 -src_test() {
493 - virtx emake check-TESTS
494 -}
495 -
496 -src_install() {
497 - default
498 - find "${D}" -name '*.la' -delete || die
499 -}
500 -
501 -pkg_postinst() {
502 - if [[ -z ${ROOT} ]] && [[ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ]] ; then
503 - einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/"
504 - "/usr/$(get_libdir)/vlc/vlc-cache-gen" "/usr/$(get_libdir)/vlc/plugins/"
505 - else
506 - ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)"
507 - ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually"
508 - ewarn "If you do not do it, vlc will take a long time to load."
509 - fi
510 -
511 - xdg_pkg_postinst
512 -}
513 -
514 -pkg_postrm() {
515 - if [[ -e /usr/$(get_libdir)/vlc/plugins/plugins.dat ]]; then
516 - rm /usr/$(get_libdir)/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
517 - fi
518 -
519 - xdg_pkg_postrm
520 -}