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