1 |
commit: bec997fd8ea69eb7a613e9529015628f9a02c759 |
2 |
Author: Amy Winston <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 26 08:57:04 2015 +0000 |
4 |
Commit: Amy Winston <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 26 08:57:04 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bec997fd |
7 |
|
8 |
media-video/vlc: 2.2.0 version removed bug #564140. |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
media-video/vlc/Manifest | 1 - |
13 |
media-video/vlc/vlc-2.2.0.ebuild | 495 --------------------------------------- |
14 |
2 files changed, 496 deletions(-) |
15 |
|
16 |
diff --git a/media-video/vlc/Manifest b/media-video/vlc/Manifest |
17 |
index e8674ed..d7f6c6a 100644 |
18 |
--- a/media-video/vlc/Manifest |
19 |
+++ b/media-video/vlc/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST vlc-2.1.5.tar.xz 19574208 SHA256 6f6566ab6cd90d381395b7f0e401060b044cd3843e50ceb252b558a88e5d1f72 SHA512 37c6b82b4e89f4a14ed391cc677d9325a032e04bcc51a3e0d7d2ccf9e17a7a0deb90d9129e9dc3baf05a1ea9dae9c05e3177ab17a31098aafa6a2cb23388fa32 WHIRLPOOL c13098f922c7b24f3c718e88807a7dcb656af21bcf2be63d2ec7401583680658bd371e3935ba22537857861e0b1b0c4f0e693c87ed20999c679b4a04cddf7008 |
22 |
-DIST vlc-2.2.0.tar.xz 20861760 SHA256 5e0a27e248c47da723a696420aca3a4dd15cc3ed8cc81618d3f1dc8661b25517 SHA512 41162ff2dcc35edb47721c5a0f5d1346a0bcf3099c641e317ca1ce50baadeec3eef38f10355396a82e029474f6decd1e4355bbf218cadb795ccad3ff81a585bb WHIRLPOOL 83777143ef84177fffb1e034e47012bfe4ac2355883f64d3932dcf0c3edf237d858016523a886d00934da441ae2e7b635dc4111b0fb368083d4b71c43d00f695 |
23 |
DIST vlc-2.2.1.tar.xz 20940288 SHA256 543d9d7e378ec0fa1ee2e7f7f5acf8c456c7d0ecc32037171523197ef3cf1fcb SHA512 91cd33ac61ebe376c24b3cc0d1dc52d7765fdccbd17e75abbbbf38f52b400e0269dc48f34ed558bff7ec1dd52c4f27098012709a3eb9fe7e8aad1069516de5de WHIRLPOOL 5c889fc5c0137f022b0b3408a5252668a1a946ed45677bb97bbbf0ec14c9411c24e8d1587e987391596774aaf7f1e4592c55b0c0f76742e84296bbfffb08e885 |
24 |
|
25 |
diff --git a/media-video/vlc/vlc-2.2.0.ebuild b/media-video/vlc/vlc-2.2.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index 3629d6f..0000000 |
28 |
--- a/media-video/vlc/vlc-2.2.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,495 +0,0 @@ |
31 |
-# Copyright 1999-2015 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
-# $Id$ |
34 |
- |
35 |
-EAPI="5" |
36 |
- |
37 |
-SCM="" |
38 |
-if [ "${PV%9999}" != "${PV}" ] ; then |
39 |
- SCM="git-r3" |
40 |
- |
41 |
- if [ "${PV%.9999}" != "${PV}" ] ; then |
42 |
- EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git" |
43 |
- else |
44 |
- EGIT_REPO_URI="git://git.videolan.org/vlc.git" |
45 |
- fi |
46 |
-fi |
47 |
- |
48 |
-inherit eutils multilib autotools toolchain-funcs flag-o-matic virtualx ${SCM} |
49 |
- |
50 |
-MY_PV="${PV/_/-}" |
51 |
-MY_PV="${MY_PV/-beta/-test}" |
52 |
-MY_P="${PN}-${MY_PV}" |
53 |
- |
54 |
-DESCRIPTION="VLC media player - Video player and streamer" |
55 |
-HOMEPAGE="http://www.videolan.org/vlc/" |
56 |
-if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
57 |
- SRC_URI="" |
58 |
-elif [[ "${MY_P}" == "${P}" ]]; then |
59 |
- SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz" |
60 |
-else |
61 |
- SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz" |
62 |
-fi |
63 |
- |
64 |
-LICENSE="LGPL-2.1 GPL-2" |
65 |
-SLOT="0/5-8" # vlc - vlccore |
66 |
- |
67 |
-if [ "${PV%9999}" = "${PV}" ] ; then |
68 |
- KEYWORDS="~amd64 ~arm -sparc ~x86 ~x86-fbsd" |
69 |
-else |
70 |
- KEYWORDS="" |
71 |
-fi |
72 |
- |
73 |
-IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec |
74 |
- +avformat bidi bluray cdda cddb chromaprint dbus dc1394 debug |
75 |
- directfb directx dts dvb +dvbpsi dvd dxva2 elibc_glibc +encode faad fdk |
76 |
- fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls |
77 |
- growl httpd ieee1394 jack jpeg kate kde libass libav libcaca libnotify |
78 |
- +libsamplerate libtiger linsys libtar lirc live lua |
79 |
- macosx-dialog-provider macosx-eyetv macosx-quartztext macosx-qtkit |
80 |
- matroska media-library cpu_flags_x86_mmx modplug mp3 mpeg |
81 |
- mtp musepack ncurses neon ogg omxil opencv opengl optimisememory opus |
82 |
- png postproc projectm pulseaudio +qt4 qt5 rdp rtsp run-as-root samba |
83 |
- schroedinger sdl sdl-image sftp shout sid skins speex cpu_flags_x86_sse svg +swscale |
84 |
- taglib theora tremor truetype twolame udev upnp vaapi v4l vcdx vdpau |
85 |
- vlm vnc vorbis vpx wma-fixed +X x264 x265 +xcb xml xv zvbi" |
86 |
- |
87 |
-RDEPEND=" |
88 |
- !<media-video/ffmpeg-1.2:0 |
89 |
- dev-libs/libgpg-error:0 |
90 |
- net-dns/libidn:0 |
91 |
- >=sys-libs/zlib-1.2.5.1-r2:0[minizip] |
92 |
- virtual/libintl:0 |
93 |
- a52? ( >=media-libs/a52dec-0.7.4-r3:0 ) |
94 |
- aalib? ( media-libs/aalib:0 ) |
95 |
- alsa? ( >=media-libs/alsa-lib-1.0.24:0 ) |
96 |
- avahi? ( >=net-dns/avahi-0.6:0[dbus] ) |
97 |
- avcodec? ( |
98 |
- !libav? ( media-video/ffmpeg:0= ) |
99 |
- libav? ( >=media-video/libav-11:0= ) |
100 |
- ) |
101 |
- avformat? ( |
102 |
- !libav? ( media-video/ffmpeg:0= ) |
103 |
- libav? ( media-video/libav:0= ) |
104 |
- ) |
105 |
- bidi? ( >=dev-libs/fribidi-0.10.4:0 ) |
106 |
- bluray? ( >=media-libs/libbluray-0.3:0 ) |
107 |
- cddb? ( >=media-libs/libcddb-1.2:0 ) |
108 |
- chromaprint? ( >=media-libs/chromaprint-0.6:0 ) |
109 |
- dbus? ( >=sys-apps/dbus-1.6:0 ) |
110 |
- dc1394? ( >=sys-libs/libraw1394-2.0.1:0 >=media-libs/libdc1394-2.1:2 ) |
111 |
- directfb? ( dev-libs/DirectFB:0 sys-libs/zlib:0 ) |
112 |
- dts? ( >=media-libs/libdca-0.0.5:0 ) |
113 |
- dvbpsi? ( >=media-libs/libdvbpsi-0.2.1:0 ) |
114 |
- dvd? ( >=media-libs/libdvdread-4.9:0 >=media-libs/libdvdnav-4.9:0 ) |
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? ( >=media-libs/libogg-1:0 >=media-libs/flac-1.1.2:0 ) |
119 |
- fluidsynth? ( >=media-sound/fluidsynth-1.1.2:0 ) |
120 |
- fontconfig? ( media-libs/fontconfig:1.0 ) |
121 |
- gcrypt? ( >=dev-libs/libgcrypt-1.2.0:0= ) |
122 |
- gme? ( media-libs/game-music-emu:0 ) |
123 |
- gnome? ( gnome-base/gnome-vfs:2 dev-libs/glib:2 ) |
124 |
- gnutls? ( >=net-libs/gnutls-3.0.20:0 ) |
125 |
- ieee1394? ( >=sys-libs/libraw1394-2.0.1:0 >=sys-libs/libavc1394-0.5.3:0 ) |
126 |
- jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1:0 ) |
127 |
- jpeg? ( virtual/jpeg:0 ) |
128 |
- kate? ( >=media-libs/libkate-0.3:0 ) |
129 |
- libass? ( >=media-libs/libass-0.9.8:0 media-libs/fontconfig:1.0 ) |
130 |
- libcaca? ( >=media-libs/libcaca-0.99_beta14:0 ) |
131 |
- libnotify? ( x11-libs/libnotify:0 x11-libs/gtk+:2 x11-libs/gdk-pixbuf:2 dev-libs/glib:2 ) |
132 |
- libsamplerate? ( media-libs/libsamplerate:0 ) |
133 |
- libtar? ( >=dev-libs/libtar-1.2.11-r3:0 ) |
134 |
- libtiger? ( >=media-libs/libtiger-0.3.1:0 ) |
135 |
- linsys? ( >=media-libs/zvbi-0.2.28:0 ) |
136 |
- lirc? ( app-misc/lirc:0 ) |
137 |
- live? ( >=media-plugins/live-2011.12.23:0 ) |
138 |
- lua? ( >=dev-lang/lua-5.1:0 ) |
139 |
- matroska? ( >=dev-libs/libebml-1:0= >=media-libs/libmatroska-1:0= ) |
140 |
- modplug? ( >=media-libs/libmodplug-0.8.4:0 !~media-libs/libmodplug-0.8.8 ) |
141 |
- mp3? ( media-libs/libmad:0 ) |
142 |
- mpeg? ( >=media-libs/libmpeg2-0.3.2:0 ) |
143 |
- mtp? ( >=media-libs/libmtp-1:0 ) |
144 |
- musepack? ( >=media-sound/musepack-tools-444:0 ) |
145 |
- ncurses? ( sys-libs/ncurses:0=[unicode] ) |
146 |
- ogg? ( >=media-libs/libogg-1:0 ) |
147 |
- opencv? ( >media-libs/opencv-2:0 ) |
148 |
- opengl? ( virtual/opengl:0 >=x11-libs/libX11-1.3.99.901:0 ) |
149 |
- opus? ( >=media-libs/opus-1.0.3:0 ) |
150 |
- png? ( media-libs/libpng:0= sys-libs/zlib:0 ) |
151 |
- postproc? ( |
152 |
- !libav? ( >=media-video/ffmpeg-2.2:0= ) |
153 |
- libav? ( media-libs/libpostproc:0= ) |
154 |
- ) |
155 |
- projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) |
156 |
- pulseaudio? ( >=media-sound/pulseaudio-1:0 ) |
157 |
- qt4? ( >=dev-qt/qtgui-4.6:4 >=dev-qt/qtcore-4.6:4 ) |
158 |
- qt5? ( >=dev-qt/qtgui-5.1:5 >=dev-qt/qtcore-5.1:5 >=dev-qt/qtwidgets-5.1:5 >=dev-qt/qtx11extras-5.1:5 ) |
159 |
- rdp? ( >=net-misc/freerdp-1.0.1:0= ) |
160 |
- samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4:0[client] ) ) |
161 |
- schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) |
162 |
- sdl? ( >=media-libs/libsdl-1.2.10:0 |
163 |
- sdl-image? ( >=media-libs/sdl-image-1.2.10:0 sys-libs/zlib:0 ) ) |
164 |
- sftp? ( net-libs/libssh2:0 ) |
165 |
- shout? ( >=media-libs/libshout-2.1:0 ) |
166 |
- sid? ( media-libs/libsidplay:2 ) |
167 |
- skins? ( x11-libs/libXext:0 x11-libs/libXpm:0 x11-libs/libXinerama:0 ) |
168 |
- speex? ( media-libs/speex:0 ) |
169 |
- svg? ( >=gnome-base/librsvg-2.9:2 >=x11-libs/cairo-1.13.1:0 ) |
170 |
- swscale? ( |
171 |
- !libav? ( media-video/ffmpeg:0= ) |
172 |
- libav? ( media-video/libav:0= ) |
173 |
- ) |
174 |
- taglib? ( >=media-libs/taglib-1.9:0 sys-libs/zlib:0 ) |
175 |
- theora? ( >=media-libs/libtheora-1.0_beta3:0 ) |
176 |
- tremor? ( media-libs/tremor:0 ) |
177 |
- truetype? ( media-libs/freetype:2 virtual/ttf-fonts:0 |
178 |
- !fontconfig? ( media-fonts/dejavu:0 ) ) |
179 |
- twolame? ( media-sound/twolame:0 ) |
180 |
- udev? ( >=virtual/udev-142:0 ) |
181 |
- upnp? ( net-libs/libupnp:0 ) |
182 |
- v4l? ( media-libs/libv4l:0 ) |
183 |
- vaapi? ( |
184 |
- x11-libs/libva:0[X,drm] |
185 |
- !libav? ( media-video/ffmpeg:0=[vaapi] ) |
186 |
- libav? ( media-video/libav:0=[vaapi] ) |
187 |
- ) |
188 |
- vcdx? ( >=dev-libs/libcdio-0.78.2:0 >=media-video/vcdimager-0.7.22:0 )" |
189 |
- |
190 |
-# Temporarily block non-live FFMPEG versions as they break vdpau, 9999 works; |
191 |
-# thus we'll have to wait for a new release there. |
192 |
-RDEPEND="${RDEPEND} |
193 |
- vdpau? ( |
194 |
- >=x11-libs/libvdpau-0.6:0 |
195 |
- !libav? ( >=media-video/ffmpeg-2.2:0= ) |
196 |
- libav? ( >=media-video/libav-10:0= ) |
197 |
- ) |
198 |
- vnc? ( >=net-libs/libvncserver-0.9.9:0 ) |
199 |
- vorbis? ( >=media-libs/libvorbis-1.1:0 ) |
200 |
- vpx? ( media-libs/libvpx:0 ) |
201 |
- X? ( x11-libs/libX11:0 ) |
202 |
- x264? ( >=media-libs/x264-0.0.20090923:0= ) |
203 |
- x265? ( media-libs/x265:0= ) |
204 |
- xcb? ( >=x11-libs/libxcb-1.6:0 >=x11-libs/xcb-util-0.3.4:0 >=x11-libs/xcb-util-keysyms-0.3.4:0 ) |
205 |
- xml? ( >=dev-libs/libxml2-2.5:2 ) |
206 |
- zvbi? ( >=media-libs/zvbi-0.2.25:0 ) |
207 |
-" |
208 |
- |
209 |
-DEPEND="${RDEPEND} |
210 |
- kde? ( >=kde-base/kdelibs-4:4 ) |
211 |
- xcb? ( x11-proto/xproto:0 ) |
212 |
- app-arch/xz-utils:0 |
213 |
- x86? ( dev-lang/yasm:* ) |
214 |
- amd64? ( dev-lang/yasm:* ) |
215 |
- >=sys-devel/gettext-0.18.3:* |
216 |
- virtual/pkgconfig:* |
217 |
-" |
218 |
- |
219 |
-REQUIRED_USE=" |
220 |
- aalib? ( X ) |
221 |
- bidi? ( truetype ) |
222 |
- cddb? ( cdda ) |
223 |
- dvb? ( dvbpsi ) |
224 |
- dxva2? ( avcodec ) |
225 |
- ffmpeg? ( avcodec avformat swscale ) |
226 |
- fontconfig? ( truetype ) |
227 |
- gnutls? ( gcrypt ) |
228 |
- httpd? ( lua ) |
229 |
- libcaca? ( X ) |
230 |
- libtar? ( skins ) |
231 |
- libtiger? ( kate ) |
232 |
- qt4? ( X !qt5 ) |
233 |
- qt5? ( X !qt4 ) |
234 |
- sdl? ( X ) |
235 |
- skins? ( truetype X ^^ ( qt4 qt5 ) ) |
236 |
- vaapi? ( avcodec X ) |
237 |
- vlm? ( encode ) |
238 |
- xv? ( xcb ) |
239 |
-" |
240 |
- |
241 |
-S="${WORKDIR}/${MY_P}" |
242 |
- |
243 |
-pkg_setup() { |
244 |
- if [[ "${MERGE_TYPE}" != "binary" && "$(tc-getCC)" == *"gcc"* ]] ; then |
245 |
- if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then |
246 |
- die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754." |
247 |
- fi |
248 |
- fi |
249 |
-} |
250 |
- |
251 |
-src_unpack() { |
252 |
- if [ "${PV%9999}" != "${PV}" ] ; then |
253 |
- git-r3_src_unpack |
254 |
- else |
255 |
- unpack ${A} |
256 |
- fi |
257 |
-} |
258 |
- |
259 |
-src_prepare() { |
260 |
- # Remove unnecessary warnings about unimplemented pragmas on gcc for now. |
261 |
- # Need to recheck this with gcc 4.9 and every subsequent minor bump of gcc. |
262 |
- # |
263 |
- # config.h:792: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas] |
264 |
- # config.h:793: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas] |
265 |
- # |
266 |
- # https://gcc.gnu.org/c99status.html |
267 |
- if [[ "$(tc-getCC)" == *"gcc"* ]] ; then |
268 |
- sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die |
269 |
- fi |
270 |
- |
271 |
- # Bootstrap when we are on a git checkout. |
272 |
- if [[ "${PV%9999}" != "${PV}" ]] ; then |
273 |
- ./bootstrap |
274 |
- fi |
275 |
- |
276 |
- # Make it build with libtool 1.5 |
277 |
- rm -f m4/lt* m4/libtool.m4 || die |
278 |
- |
279 |
- # We are not in a real git checkout due to the absence of a .git directory. |
280 |
- touch src/revision.txt || die |
281 |
- |
282 |
- # Fix build system mistake. |
283 |
- epatch "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch |
284 |
- |
285 |
- # Patch up incompatibilities and reconfigure autotools. |
286 |
- epatch "${FILESDIR}"/${PN}-9999-libva-1.2.1-compat.patch |
287 |
- |
288 |
- # Fix up broken audio when skipping using a fixed reversed bisected commit. |
289 |
- epatch "${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch |
290 |
- |
291 |
- # Bug #541928 |
292 |
- epatch "${FILESDIR}"/${P}-fix-xcb.patch |
293 |
- |
294 |
- # Bug #541678 |
295 |
- epatch "${FILESDIR}"/qt4-select.patch |
296 |
- |
297 |
- # Don't use --started-from-file when not using dbus. |
298 |
- if ! use dbus ; then |
299 |
- sed -i 's/ --started-from-file//' share/vlc.desktop.in || die |
300 |
- fi |
301 |
- |
302 |
- epatch_user |
303 |
- |
304 |
- eautoreconf |
305 |
- |
306 |
- # Disable automatic running of tests. |
307 |
- find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die |
308 |
- |
309 |
- # If qtchooser is installed, it may break the build, because moc,rcc and uic binaries for wrong qt version may be used. |
310 |
- # Setting QT_SELECT environment variable will enforce correct binaries. |
311 |
- if use qt4; then |
312 |
- export QT_SELECT=qt4 |
313 |
- elif use qt5; then |
314 |
- export QT_SELECT=qt5 |
315 |
- fi |
316 |
-} |
317 |
- |
318 |
-src_configure() { |
319 |
- # Compatibility fix for Samba 4. |
320 |
- use samba && append-cppflags "-I/usr/include/samba-4.0" |
321 |
- |
322 |
- # We need to disable -fstack-check if use >=gcc 4.8.0. |
323 |
- # See bug #499996 |
324 |
- use x86 && append-cflags $(test-flags-CC -fno-stack-check) |
325 |
- |
326 |
- # Needs libresid-builder from libsidplay:2 which is in another directory... |
327 |
- # FIXME! |
328 |
- append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" |
329 |
- |
330 |
- if use truetype || use projectm ; then |
331 |
- local dejavu="/usr/share/fonts/dejavu/" |
332 |
- myconf="--with-default-font=${dejavu}/DejaVuSans.ttf \ |
333 |
- --with-default-font-family=Sans \ |
334 |
- --with-default-monospace-font=${dejavu}/DejaVuSansMono.ttf |
335 |
- --with-default-monospace-font-family=Monospace" |
336 |
- fi |
337 |
- |
338 |
- local qt_flag="" |
339 |
- if use qt4 ; then |
340 |
- qt_flag="--enable-qt=4" |
341 |
- elif use qt5 ; then |
342 |
- qt_flag="--enable-qt=5" |
343 |
- else |
344 |
- qt_flag="--disable-qt" |
345 |
- fi |
346 |
- |
347 |
- econf \ |
348 |
- ${myconf} \ |
349 |
- --enable-vlc \ |
350 |
- --docdir=/usr/share/doc/${PF} \ |
351 |
- --disable-dependency-tracking \ |
352 |
- --disable-optimizations \ |
353 |
- --disable-update-check \ |
354 |
- --enable-fast-install \ |
355 |
- --enable-screen \ |
356 |
- $(use_enable a52) \ |
357 |
- $(use_enable aalib aa) \ |
358 |
- $(use_enable alsa) \ |
359 |
- $(use_enable altivec) \ |
360 |
- $(use_enable atmo) \ |
361 |
- $(use_enable audioqueue) \ |
362 |
- $(use_enable avahi bonjour) \ |
363 |
- $(use_enable avcodec) \ |
364 |
- $(use_enable avformat) \ |
365 |
- $(use_enable bidi fribidi) \ |
366 |
- $(use_enable bluray) \ |
367 |
- $(use_enable cdda vcd) \ |
368 |
- $(use_enable cddb libcddb) \ |
369 |
- $(use_enable chromaprint) \ |
370 |
- $(use_enable dbus) \ |
371 |
- $(use_enable directfb) \ |
372 |
- $(use_enable directx) \ |
373 |
- $(use_enable dc1394) \ |
374 |
- $(use_enable debug) \ |
375 |
- $(use_enable dts dca) \ |
376 |
- $(use_enable dvbpsi) \ |
377 |
- $(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ |
378 |
- $(use_enable dxva2) \ |
379 |
- $(use_enable encode sout) \ |
380 |
- $(use_enable faad) \ |
381 |
- $(use_enable fdk fdkaac) \ |
382 |
- $(use_enable flac) \ |
383 |
- $(use_enable fluidsynth) \ |
384 |
- $(use_enable fontconfig) \ |
385 |
- $(use_enable gcrypt libgcrypt) \ |
386 |
- $(use_enable gme) \ |
387 |
- $(use_enable gnome gnomevfs) \ |
388 |
- $(use_enable gnutls) \ |
389 |
- $(use_enable growl) \ |
390 |
- $(use_enable httpd) \ |
391 |
- $(use_enable ieee1394 dv1394) \ |
392 |
- $(use_enable jack) \ |
393 |
- $(use_enable jpeg) \ |
394 |
- $(use_enable kate) \ |
395 |
- $(use_with kde kde-solid) \ |
396 |
- $(use_enable libass) \ |
397 |
- $(use_enable libcaca caca) \ |
398 |
- $(use_enable libnotify notify) \ |
399 |
- $(use_enable libsamplerate samplerate) \ |
400 |
- $(use_enable libtar) \ |
401 |
- $(use_enable libtiger tiger) \ |
402 |
- $(use_enable linsys) \ |
403 |
- $(use_enable lirc) \ |
404 |
- $(use_enable live live555) \ |
405 |
- $(use_enable lua) \ |
406 |
- $(use_enable macosx-dialog-provider) \ |
407 |
- $(use_enable macosx-eyetv) \ |
408 |
- $(use_enable macosx-qtkit) \ |
409 |
- $(use_enable macosx-quartztext) \ |
410 |
- $(use_enable matroska mkv) \ |
411 |
- $(use_enable cpu_flags_x86_mmx mmx) \ |
412 |
- $(use_enable modplug mod) \ |
413 |
- $(use_enable mp3 mad) \ |
414 |
- $(use_enable mpeg libmpeg2) \ |
415 |
- $(use_enable mtp) \ |
416 |
- $(use_enable musepack mpc) \ |
417 |
- $(use_enable ncurses) \ |
418 |
- $(use_enable neon) \ |
419 |
- $(use_enable ogg) $(use_enable ogg mux_ogg) \ |
420 |
- $(use_enable omxil) \ |
421 |
- $(use_enable omxil omxil-vout) \ |
422 |
- $(use_enable opencv) \ |
423 |
- $(use_enable opengl glspectrum) \ |
424 |
- $(use_enable opus) \ |
425 |
- $(use_enable optimisememory optimize-memory) \ |
426 |
- $(use_enable png) \ |
427 |
- $(use_enable postproc) \ |
428 |
- $(use_enable projectm) \ |
429 |
- $(use_enable pulseaudio pulse) \ |
430 |
- ${qt_flag} \ |
431 |
- $(use_enable rdp freerdp) \ |
432 |
- $(use_enable rtsp realrtsp) \ |
433 |
- $(use_enable run-as-root) \ |
434 |
- $(use_enable samba smbclient) \ |
435 |
- $(use_enable schroedinger) \ |
436 |
- $(use_enable sdl) \ |
437 |
- $(use_enable sdl-image) \ |
438 |
- $(use_enable sid) \ |
439 |
- $(use_enable sftp) \ |
440 |
- $(use_enable shout) \ |
441 |
- $(use_enable skins skins2) \ |
442 |
- $(use_enable speex) \ |
443 |
- $(use_enable cpu_flags_x86_sse sse) \ |
444 |
- $(use_enable svg) \ |
445 |
- $(use_enable svg svgdec) \ |
446 |
- $(use_enable swscale) \ |
447 |
- $(use_enable taglib) \ |
448 |
- $(use_enable theora) \ |
449 |
- $(use_enable tremor) \ |
450 |
- $(use_enable truetype freetype) \ |
451 |
- $(use_enable twolame) \ |
452 |
- $(use_enable udev) \ |
453 |
- $(use_enable upnp) \ |
454 |
- $(use_enable v4l v4l2) \ |
455 |
- $(use_enable vaapi libva) \ |
456 |
- $(use_enable vcdx) \ |
457 |
- $(use_enable vdpau) \ |
458 |
- $(use_enable vlm) \ |
459 |
- $(use_enable vnc) \ |
460 |
- $(use_enable vorbis) \ |
461 |
- $(use_enable vpx) \ |
462 |
- $(use_enable wma-fixed) \ |
463 |
- $(use_with X x) \ |
464 |
- $(use_enable x264) \ |
465 |
- $(use_enable x265) \ |
466 |
- $(use_enable xcb) \ |
467 |
- $(use_enable xml libxml2) \ |
468 |
- $(use_enable xv xvideo) \ |
469 |
- $(use_enable zvbi) $(use_enable !zvbi telx) \ |
470 |
- --disable-asdcp \ |
471 |
- --disable-coverage \ |
472 |
- --disable-cprof \ |
473 |
- --disable-crystalhd \ |
474 |
- --disable-decklink \ |
475 |
- --disable-gles1 \ |
476 |
- --disable-gles2 \ |
477 |
- --disable-goom \ |
478 |
- --disable-kai \ |
479 |
- --disable-kva \ |
480 |
- --disable-maintainer-mode \ |
481 |
- --disable-merge-ffmpeg \ |
482 |
- --disable-mfx \ |
483 |
- --disable-mmal-codec \ |
484 |
- --disable-mmal-vout \ |
485 |
- --disable-opensles \ |
486 |
- --disable-oss \ |
487 |
- --disable-quicktime \ |
488 |
- --disable-rpi-omxil \ |
489 |
- --disable-shine \ |
490 |
- --disable-sndio \ |
491 |
- --disable-vda \ |
492 |
- --disable-vsxu \ |
493 |
- --disable-wasapi |
494 |
- |
495 |
- # ^ We don't have these disabled libraries in the Portage tree yet. |
496 |
- |
497 |
- # _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo. |
498 |
- # Other values of _FORTIFY_SOURCE may break the build (bug 523144), so definition should not be removed from config.h. |
499 |
- # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the very start of config.h file |
500 |
- sed -i '1i#undef _FORTIFY_SOURCE' "${S}"/config.h || die |
501 |
-} |
502 |
- |
503 |
-src_test() { |
504 |
- Xemake check-TESTS |
505 |
-} |
506 |
- |
507 |
-DOCS="AUTHORS THANKS NEWS README doc/fortunes.txt doc/intf-vcd.txt" |
508 |
- |
509 |
-src_install() { |
510 |
- default |
511 |
- |
512 |
- # Punt useless libtool's .la files |
513 |
- find "${D}" -name '*.la' -delete |
514 |
-} |
515 |
- |
516 |
-pkg_postinst() { |
517 |
- if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then |
518 |
- einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/" |
519 |
- "/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/" |
520 |
- else |
521 |
- ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)" |
522 |
- ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually" |
523 |
- ewarn "If you do not do it, vlc will take a long time to load." |
524 |
- fi |
525 |
-} |