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