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