1 |
tomwij 14/02/22 16:30:52 |
2 |
|
3 |
Modified: vlc-2.1.9999.ebuild metadata.xml ChangeLog |
4 |
vlc-9999.ebuild |
5 |
Added: vlc-2.1.4.ebuild |
6 |
Log: |
7 |
There is no opengles in Portage yet; and thus, disabled GLES support until there is. Dropped amd64-fbsd temporarily due to libvncserver dependency. Version bump to 2.1.4; fixes bug #500678, reported (and tested) by Frank Krömmelbein. |
8 |
|
9 |
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
10 |
|
11 |
Revision Changes Path |
12 |
1.16 media-video/vlc/vlc-2.1.9999.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.1.9999.ebuild?rev=1.16&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.1.9999.ebuild?rev=1.16&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.1.9999.ebuild?r1=1.15&r2=1.16 |
17 |
|
18 |
Index: vlc-2.1.9999.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.1.9999.ebuild,v |
21 |
retrieving revision 1.15 |
22 |
retrieving revision 1.16 |
23 |
diff -u -r1.15 -r1.16 |
24 |
--- vlc-2.1.9999.ebuild 21 Feb 2014 17:25:34 -0000 1.15 |
25 |
+++ vlc-2.1.9999.ebuild 22 Feb 2014 16:30:52 -0000 1.16 |
26 |
@@ -1,6 +1,6 @@ |
27 |
# Copyright 1999-2014 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.1.9999.ebuild,v 1.15 2014/02/21 17:25:34 tomwij Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.1.9999.ebuild,v 1.16 2014/02/22 16:30:52 tomwij Exp $ |
31 |
|
32 |
EAPI="5" |
33 |
|
34 |
@@ -43,7 +43,7 @@ |
35 |
IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec |
36 |
+avformat bidi bluray cdda cddb chromaprint dbus dc1394 debug dirac |
37 |
directfb directx dts dvb +dvbpsi dvd dxva2 elibc_glibc egl +encode faad fdk |
38 |
- fluidsynth +ffmpeg flac fontconfig +gcrypt gles1 gles2 gme gnome gnutls |
39 |
+ fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls |
40 |
growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify |
41 |
libsamplerate libtiger linsys libtar lirc live lua +macosx |
42 |
+macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext |
43 |
@@ -85,8 +85,6 @@ |
44 |
fluidsynth? ( >=media-sound/fluidsynth-1.1.2:0 ) |
45 |
fontconfig? ( media-libs/fontconfig:1.0 ) |
46 |
gcrypt? ( >=dev-libs/libgcrypt-1.2.0:0 ) |
47 |
- gles1? ( virtual/opengles:0 ) |
48 |
- gles2? ( virtual/opengles:0 ) |
49 |
gme? ( media-libs/game-music-emu:0 ) |
50 |
gnome? ( gnome-base/gnome-vfs:2 dev-libs/glib:2 ) |
51 |
gnutls? ( >=net-libs/gnutls-3.0.20:0 ) |
52 |
@@ -319,8 +317,6 @@ |
53 |
$(use_enable fluidsynth) \ |
54 |
$(use_enable fontconfig) \ |
55 |
$(use_enable gcrypt libgcrypt) \ |
56 |
- $(use_enable gles1) \ |
57 |
- $(use_enable gles2) \ |
58 |
$(use_enable gme) \ |
59 |
$(use_enable gnome gnomevfs) \ |
60 |
$(use_enable gnutls) \ |
61 |
@@ -409,6 +405,8 @@ |
62 |
--disable-cprof \ |
63 |
--disable-crystalhd \ |
64 |
--disable-decklink \ |
65 |
+ --disable-gles1 \ |
66 |
+ --disable-gles2 \ |
67 |
--disable-goom \ |
68 |
--disable-ios-audio \ |
69 |
--disable-kai \ |
70 |
|
71 |
|
72 |
|
73 |
1.79 media-video/vlc/metadata.xml |
74 |
|
75 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/metadata.xml?rev=1.79&view=markup |
76 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/metadata.xml?rev=1.79&content-type=text/plain |
77 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/metadata.xml?r1=1.78&r2=1.79 |
78 |
|
79 |
Index: metadata.xml |
80 |
=================================================================== |
81 |
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/metadata.xml,v |
82 |
retrieving revision 1.78 |
83 |
retrieving revision 1.79 |
84 |
diff -u -r1.78 -r1.79 |
85 |
--- metadata.xml 22 Feb 2014 15:40:03 -0000 1.78 |
86 |
+++ metadata.xml 22 Feb 2014 16:30:52 -0000 1.79 |
87 |
@@ -26,8 +26,6 @@ |
88 |
<flag name="fdk">Enables the Fraunhofer AAC codec library.</flag> |
89 |
<flag name="fluidsynth">Enables Fluidsynth MIDI software synthesis (with external sound fonts).</flag> |
90 |
<flag name="gcrypt">Enables cryptography support via libgcrypt.</flag> |
91 |
- <flag name="gles1">Enables support for GLES1.</flag> |
92 |
- <flag name="gles2">Enables support for GLES2.</flag> |
93 |
<flag name="gme">Enables support for <pkg>media-libs/game-music-emu</pkg> for playing various video game music formats.</flag> |
94 |
<flag name="gnome">Adds support for GNOME's filesystem abstraction layer, <pkg>gnome-base/gnome-vfs</pkg>. This flag is not GUI-related.</flag> |
95 |
<flag name="growl">Enables growl notification support (over UDP for remote access and native on OSX)</flag> |
96 |
|
97 |
|
98 |
|
99 |
1.890 media-video/vlc/ChangeLog |
100 |
|
101 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?rev=1.890&view=markup |
102 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?rev=1.890&content-type=text/plain |
103 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/ChangeLog?r1=1.889&r2=1.890 |
104 |
|
105 |
Index: ChangeLog |
106 |
=================================================================== |
107 |
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v |
108 |
retrieving revision 1.889 |
109 |
retrieving revision 1.890 |
110 |
diff -u -r1.889 -r1.890 |
111 |
--- ChangeLog 22 Feb 2014 15:40:03 -0000 1.889 |
112 |
+++ ChangeLog 22 Feb 2014 16:30:52 -0000 1.890 |
113 |
@@ -1,6 +1,15 @@ |
114 |
# ChangeLog for media-video/vlc |
115 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
116 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.889 2014/02/22 15:40:03 tomwij Exp $ |
117 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.890 2014/02/22 16:30:52 tomwij Exp $ |
118 |
+ |
119 |
+*vlc-2.1.4 (22 Feb 2014) |
120 |
+ |
121 |
+ 22 Feb 2014; Tom Wijsman <TomWij@g.o> +vlc-2.1.4.ebuild, |
122 |
+ vlc-2.1.9999.ebuild, vlc-9999.ebuild: |
123 |
+ There is no opengles in Portage yet; and thus, disabled GLES support until |
124 |
+ there is. Dropped amd64-fbsd temporarily due to libvncserver dependency. |
125 |
+ Version bump to 2.1.4; fixes bug #500678, reported (and tested) by Frank |
126 |
+ Krömmelbein. |
127 |
|
128 |
22 Feb 2014; Tom Wijsman <TomWij@g.o> metadata.xml, vlc-9999.ebuild: |
129 |
Update description of USE flag xcb with explanation that it is needed in order |
130 |
|
131 |
|
132 |
|
133 |
1.211 media-video/vlc/vlc-9999.ebuild |
134 |
|
135 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-9999.ebuild?rev=1.211&view=markup |
136 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-9999.ebuild?rev=1.211&content-type=text/plain |
137 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-9999.ebuild?r1=1.210&r2=1.211 |
138 |
|
139 |
Index: vlc-9999.ebuild |
140 |
=================================================================== |
141 |
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v |
142 |
retrieving revision 1.210 |
143 |
retrieving revision 1.211 |
144 |
diff -u -r1.210 -r1.211 |
145 |
--- vlc-9999.ebuild 21 Feb 2014 17:25:34 -0000 1.210 |
146 |
+++ vlc-9999.ebuild 22 Feb 2014 16:30:52 -0000 1.211 |
147 |
@@ -1,6 +1,6 @@ |
148 |
# Copyright 1999-2014 Gentoo Foundation |
149 |
# Distributed under the terms of the GNU General Public License v2 |
150 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.210 2014/02/21 17:25:34 tomwij Exp $ |
151 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.211 2014/02/22 16:30:52 tomwij Exp $ |
152 |
|
153 |
EAPI="5" |
154 |
|
155 |
@@ -43,7 +43,7 @@ |
156 |
IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec |
157 |
+avformat bidi bluray cdda cddb chromaprint dbus dc1394 debug |
158 |
directfb directx dts dvb +dvbpsi dvd dxva2 elibc_glibc egl +encode faad fdk |
159 |
- fluidsynth +ffmpeg flac fontconfig +gcrypt gles1 gles2 gme gnome gnutls |
160 |
+ fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls |
161 |
growl httpd ieee1394 ios-vout jack jpeg kate kde libass libcaca libnotify |
162 |
libsamplerate libtiger linsys libtar lirc live lua +macosx |
163 |
+macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext |
164 |
@@ -84,8 +84,6 @@ |
165 |
fluidsynth? ( >=media-sound/fluidsynth-1.1.2:0 ) |
166 |
fontconfig? ( media-libs/fontconfig:1.0 ) |
167 |
gcrypt? ( >=dev-libs/libgcrypt-1.2.0:0 ) |
168 |
- gles1? ( virtual/opengles:0 ) |
169 |
- gles2? ( virtual/opengles:0 ) |
170 |
gme? ( media-libs/game-music-emu:0 ) |
171 |
gnome? ( gnome-base/gnome-vfs:2 dev-libs/glib:2 ) |
172 |
gnutls? ( >=net-libs/gnutls-3.0.20:0 ) |
173 |
@@ -323,8 +321,6 @@ |
174 |
$(use_enable fluidsynth) \ |
175 |
$(use_enable fontconfig) \ |
176 |
$(use_enable gcrypt libgcrypt) \ |
177 |
- $(use_enable gles1) \ |
178 |
- $(use_enable gles2) \ |
179 |
$(use_enable gme) \ |
180 |
$(use_enable gnome gnomevfs) \ |
181 |
$(use_enable gnutls) \ |
182 |
@@ -416,6 +412,8 @@ |
183 |
--disable-cprof \ |
184 |
--disable-crystalhd \ |
185 |
--disable-decklink \ |
186 |
+ --disable-gles1 \ |
187 |
+ --disable-gles2 \ |
188 |
--disable-goom \ |
189 |
--disable-ios-audio \ |
190 |
--disable-kai \ |
191 |
|
192 |
|
193 |
|
194 |
1.1 media-video/vlc/vlc-2.1.4.ebuild |
195 |
|
196 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.1.4.ebuild?rev=1.1&view=markup |
197 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.1.4.ebuild?rev=1.1&content-type=text/plain |
198 |
|
199 |
Index: vlc-2.1.4.ebuild |
200 |
=================================================================== |
201 |
# Copyright 1999-2014 Gentoo Foundation |
202 |
# Distributed under the terms of the GNU General Public License v2 |
203 |
# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.1.4.ebuild,v 1.1 2014/02/22 16:30:52 tomwij Exp $ |
204 |
|
205 |
EAPI="5" |
206 |
|
207 |
SCM="" |
208 |
if [ "${PV%9999}" != "${PV}" ] ; then |
209 |
SCM="git-r3" |
210 |
|
211 |
if [ "${PV%.9999}" != "${PV}" ] ; then |
212 |
EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git" |
213 |
else |
214 |
EGIT_REPO_URI="git://git.videolan.org/vlc.git" |
215 |
fi |
216 |
fi |
217 |
|
218 |
inherit eutils multilib autotools toolchain-funcs flag-o-matic virtualx ${SCM} |
219 |
|
220 |
MY_PV="${PV/_/-}" |
221 |
MY_PV="${MY_PV/-beta/-test}" |
222 |
MY_P="${PN}-${MY_PV}" |
223 |
|
224 |
DESCRIPTION="VLC media player - Video player and streamer" |
225 |
HOMEPAGE="http://www.videolan.org/vlc/" |
226 |
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
227 |
SRC_URI="" |
228 |
elif [[ "${MY_P}" == "${P}" ]]; then |
229 |
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz" |
230 |
else |
231 |
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz" |
232 |
fi |
233 |
|
234 |
LICENSE="LGPL-2.1 GPL-2" |
235 |
SLOT="0/5-7" # vlc - vlccore |
236 |
|
237 |
if [ "${PV%9999}" = "${PV}" ] ; then |
238 |
KEYWORDS="~amd64 ~arm ~ppc -sparc ~x86 ~x86-fbsd" |
239 |
else |
240 |
KEYWORDS="" |
241 |
fi |
242 |
|
243 |
IUSE="a52 aalib alsa altivec atmo +audioqueue avahi +avcodec |
244 |
+avformat bidi bluray cdda cddb chromaprint dbus dc1394 debug dirac |
245 |
directfb directx dts dvb +dvbpsi dvd dxva2 elibc_glibc egl +encode faad fdk |
246 |
fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls |
247 |
growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify |
248 |
libsamplerate libtiger linsys libtar lirc live lua +macosx |
249 |
+macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext |
250 |
+macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg |
251 |
mtp musepack ncurses neon ogg omxil opencv opengl optimisememory opus |
252 |
png +postproc projectm pulseaudio +qt4 qt5 rdp rtsp run-as-root samba |
253 |
schroedinger sdl sdl-image sftp shout sid skins speex sse svg +swscale |
254 |
taglib theora tremor truetype twolame udev upnp vaapi v4l vcdx vdpau |
255 |
vlm vnc vorbis wma-fixed +X x264 +xcb xml xv zvbi" |
256 |
|
257 |
RDEPEND=" |
258 |
!<media-video/ffmpeg-1.2:0 |
259 |
dev-libs/libgpg-error:0 |
260 |
net-dns/libidn:0 |
261 |
>=sys-libs/zlib-1.2.5.1-r2:0[minizip] |
262 |
virtual/libintl:0 |
263 |
a52? ( >=media-libs/a52dec-0.7.4-r3:0 ) |
264 |
aalib? ( media-libs/aalib:0 ) |
265 |
alsa? ( >=media-libs/alsa-lib-1.0.24:0 ) |
266 |
avahi? ( >=net-dns/avahi-0.6:0[dbus] ) |
267 |
avcodec? ( virtual/ffmpeg:0 ) |
268 |
avformat? ( virtual/ffmpeg:0 ) |
269 |
bidi? ( >=dev-libs/fribidi-0.10.4:0 ) |
270 |
bluray? ( >=media-libs/libbluray-0.2.1:0 ) |
271 |
cddb? ( >=media-libs/libcddb-1.2.0:0 ) |
272 |
chromaprint? ( >=media-libs/chromaprint-0.6:0 ) |
273 |
dbus? ( >=sys-apps/dbus-1.0.2:0 ) |
274 |
dc1394? ( >=sys-libs/libraw1394-2.0.1:0 >=media-libs/libdc1394-2.1.0:2 ) |
275 |
dirac? ( >=media-video/dirac-0.10.0:0 ) |
276 |
directfb? ( dev-libs/DirectFB:0 sys-libs/zlib:0 ) |
277 |
dts? ( media-libs/libdca:0 ) |
278 |
dvbpsi? ( >=media-libs/libdvbpsi-0.2.1:0 ) |
279 |
dvd? ( media-libs/libdvdread:0 >=media-libs/libdvdnav-0.1.9:0 ) |
280 |
egl? ( virtual/opengl:0 ) |
281 |
elibc_glibc? ( >=sys-libs/glibc-2.8:2.2 ) |
282 |
faad? ( >=media-libs/faad2-2.6.1:0 ) |
283 |
fdk? ( media-libs/fdk-aac:0 ) |
284 |
flac? ( media-libs/libogg:0 >=media-libs/flac-1.1.2:0 ) |
285 |
fluidsynth? ( >=media-sound/fluidsynth-1.1.2:0 ) |
286 |
fontconfig? ( media-libs/fontconfig:1.0 ) |
287 |
gcrypt? ( >=dev-libs/libgcrypt-1.2.0:0 ) |
288 |
gme? ( media-libs/game-music-emu:0 ) |
289 |
gnome? ( gnome-base/gnome-vfs:2 dev-libs/glib:2 ) |
290 |
gnutls? ( >=net-libs/gnutls-3.0.20:0 ) |
291 |
ieee1394? ( >=sys-libs/libraw1394-2.0.1:0 >=sys-libs/libavc1394-0.5.3:0 ) |
292 |
ios-vout? ( virtual/opengl:0 ) |
293 |
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1:0 ) |
294 |
kate? ( >=media-libs/libkate-0.3.0:0 ) |
295 |
libass? ( >=media-libs/libass-0.9.8:0 media-libs/fontconfig:1.0 ) |
296 |
libcaca? ( >=media-libs/libcaca-0.99_beta14:0 ) |
297 |
libnotify? ( x11-libs/libnotify:0 x11-libs/gtk+:2 x11-libs/gdk-pixbuf:2 dev-libs/glib:2 ) |
298 |
libsamplerate? ( media-libs/libsamplerate:0 ) |
299 |
libtar? ( >=dev-libs/libtar-1.2.11-r3:0 ) |
300 |
libtiger? ( >=media-libs/libtiger-0.3.1:0 ) |
301 |
linsys? ( >=media-libs/zvbi-0.2.28:0 ) |
302 |
lirc? ( app-misc/lirc:0 ) |
303 |
live? ( >=media-plugins/live-2011.12.23:0 ) |
304 |
lua? ( >=dev-lang/lua-5.1:0 ) |
305 |
macosx-vout? ( virtual/opengl:0 ) |
306 |
matroska? ( >=dev-libs/libebml-1.0.0:0= >=media-libs/libmatroska-1.0.0:0= ) |
307 |
modplug? ( >=media-libs/libmodplug-0.8.8.1:0 ) |
308 |
mp3? ( media-libs/libmad:0 ) |
309 |
mpeg? ( >=media-libs/libmpeg2-0.3.2:0 ) |
310 |
mtp? ( >=media-libs/libmtp-1.0.0:0 ) |
311 |
musepack? ( >=media-sound/musepack-tools-444:0 ) |
312 |
ncurses? ( sys-libs/ncurses:5[unicode] ) |
313 |
ogg? ( media-libs/libogg:0 ) |
314 |
opencv? ( >media-libs/opencv-2.0:0 ) |
315 |
opengl? ( virtual/opengl:0 >=x11-libs/libX11-1.3.99.901:0 ) |
316 |
opus? ( >=media-libs/opus-1.0.3:0 ) |
317 |
png? ( media-libs/libpng:0= sys-libs/zlib:0 ) |
318 |
postproc? ( || ( >=media-video/ffmpeg-1.2:0= media-libs/libpostproc:0 ) ) |
319 |
projectm? ( media-libs/libprojectm:0 media-fonts/dejavu:0 ) |
320 |
pulseaudio? ( >=media-sound/pulseaudio-0.9.22:0 ) |
321 |
qt4? ( >=dev-qt/qtgui-4.6.0:4 >=dev-qt/qtcore-4.6.0:4 ) |
322 |
qt5? ( >=dev-qt/qtgui-5.1.0:5 >=dev-qt/qtcore-5.1.0:5 dev-qt/qtwidgets:5 ) |
323 |
rdp? ( net-misc/freerdp:0= ) |
324 |
samba? ( || ( >=net-fs/samba-3.4.6:0[smbclient] >=net-fs/samba-4.0.0:0[client] ) ) |
325 |
schroedinger? ( >=media-libs/schroedinger-1.0.10:0 ) |
326 |
sdl? ( >=media-libs/libsdl-1.2.10:0 |
327 |
sdl-image? ( >=media-libs/sdl-image-1.2.10:0 sys-libs/zlib:0 ) ) |
328 |
sftp? ( net-libs/libssh2:0 ) |
329 |
shout? ( media-libs/libshout:0 ) |
330 |
sid? ( media-libs/libsidplay:2 ) |
331 |
skins? ( x11-libs/libXext:0 x11-libs/libXpm:0 x11-libs/libXinerama:0 ) |
332 |
speex? ( media-libs/speex:0 ) |
333 |
svg? ( >=gnome-base/librsvg-2.9.0:2 ) |
334 |
swscale? ( virtual/ffmpeg:0 ) |
335 |
taglib? ( >=media-libs/taglib-1.6.1:0 sys-libs/zlib:0 ) |
336 |
theora? ( >=media-libs/libtheora-1.0_beta3:0 ) |
337 |
tremor? ( media-libs/tremor:0 ) |
338 |
truetype? ( media-libs/freetype:2 virtual/ttf-fonts:0 |
339 |
!fontconfig? ( media-fonts/dejavu:0 ) ) |
340 |
twolame? ( media-sound/twolame:0 ) |
341 |
udev? ( >=virtual/udev-142:0 ) |
342 |
upnp? ( net-libs/libupnp:0 ) |
343 |
v4l? ( media-libs/libv4l:0 ) |
344 |
vaapi? ( x11-libs/libva:0 virtual/ffmpeg[vaapi] ) |
345 |
vcdx? ( >=dev-libs/libcdio-0.78.2:0 >=media-video/vcdimager-0.7.22:0 ) |
346 |
vdpau? ( >=x11-libs/libvdpau-0.6:0 !<media-video/libav-9.11 ) |
347 |
vnc? ( >=net-libs/libvncserver-0.9.9:0 ) |
348 |
vorbis? ( media-libs/libvorbis:0 ) |
349 |
X? ( x11-libs/libX11:0 ) |
350 |
x264? ( >=media-libs/x264-0.0.20090923:0= ) |
351 |
xcb? ( >=x11-libs/libxcb-1.6:0 >=x11-libs/xcb-util-0.3.4:0 >=x11-libs/xcb-util-keysyms-0.3.4:0 ) |
352 |
xml? ( dev-libs/libxml2:2 ) |
353 |
zvbi? ( >=media-libs/zvbi-0.2.25:0 ) |
354 |
" |
355 |
|
356 |
DEPEND="${RDEPEND} |
357 |
kde? ( >=kde-base/kdelibs-4:4 ) |
358 |
xcb? ( x11-proto/xproto:0 ) |
359 |
app-arch/xz-utils:0 |
360 |
>=sys-devel/gettext-0.18.3:0 |
361 |
virtual/pkgconfig:0 |
362 |
" |
363 |
|
364 |
REQUIRED_USE=" |
365 |
aalib? ( X ) |
366 |
bidi? ( truetype ) |
367 |
cddb? ( cdda ) |
368 |
dvb? ( dvbpsi ) |
369 |
dxva2? ( avcodec ) |
370 |
egl? ( X ) |
371 |
ffmpeg? ( avcodec avformat swscale postproc ) |
372 |
fontconfig? ( truetype ) |
373 |
gnutls? ( gcrypt ) |
374 |
httpd? ( lua ) |
375 |
libcaca? ( X ) |
376 |
libtar? ( skins ) |
377 |
libtiger? ( kate ) |
378 |
qt4? ( X !qt5 ) |
379 |
qt5? ( X !qt4 ) |
380 |
sdl? ( X ) |
381 |
skins? ( truetype X ^^ ( qt4 qt5 ) ) |
382 |
vaapi? ( avcodec X ) |
383 |
vlm? ( encode ) |
384 |
xv? ( xcb ) |
385 |
" |
386 |
|
387 |
S="${WORKDIR}/${MY_P}" |
388 |
|
389 |
pkg_setup() { |
390 |
if [[ "$(tc-getCC)" == *"gcc"* ]] ; then |
391 |
if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then |
392 |
die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754." |
393 |
fi |
394 |
fi |
395 |
} |
396 |
|
397 |
src_unpack() { |
398 |
if [ "${PV%9999}" != "${PV}" ] ; then |
399 |
git-r3_src_unpack |
400 |
else |
401 |
unpack ${A} |
402 |
fi |
403 |
} |
404 |
|
405 |
src_prepare() { |
406 |
# Support for Qt5. |
407 |
if use qt5 ; then |
408 |
export UIC="/usr/lib64/qt5/bin/uic" |
409 |
export MOC="/usr/lib64/qt5/bin/moc" |
410 |
fi |
411 |
|
412 |
# Remove unnecessary warnings about unimplemented pragmas on gcc for now. |
413 |
# Need to recheck this with gcc 4.9 and every subsequent minor bump of gcc. |
414 |
# |
415 |
# config.h:792: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas] |
416 |
# config.h:793: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas] |
417 |
# |
418 |
# http://gcc.gnu.org/c99status.html |
419 |
if [[ "$(tc-getCC)" == *"gcc"* ]] ; then |
420 |
sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die |
421 |
fi |
422 |
|
423 |
# _FORTIFY_SOURCE is set to 2 by default on Gentoo, remove redefine warnings. |
424 |
sed -i '/_FORTIFY_SOURCE.*, 2,/d' configure.ac || die |
425 |
|
426 |
# Bootstrap when we are on a git checkout. |
427 |
if [[ "${PV%9999}" != "${PV}" ]] ; then |
428 |
./bootstrap |
429 |
fi |
430 |
|
431 |
# Make it build with libtool 1.5 |
432 |
rm -f m4/lt* m4/libtool.m4 || die |
433 |
|
434 |
# We are not in a real git checkout due to the absence of a .git directory. |
435 |
touch src/revision.txt || die |
436 |
|
437 |
# Patch up incompatibilities and reconfigure autotools. |
438 |
epatch "${FILESDIR}"/${PN}-2.1.0-newer-rdp.patch |
439 |
epatch "${FILESDIR}"/${PN}-2.1.0-libva-1.2.1-compat.patch |
440 |
|
441 |
# Fix up broken audio when skipping using a fixed reversed bisected commit. |
442 |
epatch "${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch |
443 |
|
444 |
# Disable avcodec checks when avcodec is not used. |
445 |
sed -i 's/^#if LIBAVCODEC_VERSION_CHECK(.*)$/#if 0/' modules/codec/avcodec/fourcc.c || die |
446 |
|
447 |
# Don't use --started-from-file when not using dbus. |
448 |
if ! use dbus ; then |
449 |
sed -i 's/ --started-from-file//' share/vlc.desktop.in || die |
450 |
fi |
451 |
|
452 |
eautoreconf |
453 |
|
454 |
# Disable automatic running of tests. |
455 |
find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die |
456 |
} |
457 |
|
458 |
src_configure() { |
459 |
# Compatibility fix for Samba 4. |
460 |
use samba && append-cppflags "-I/usr/include/samba-4.0" |
461 |
|
462 |
# Needs libresid-builder from libsidplay:2 which is in another directory... |
463 |
# FIXME! |
464 |
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/" |
465 |
|
466 |
if use truetype || use projectm ; then |
467 |
local dejavu="/usr/share/fonts/dejavu/" |
468 |
myconf="--with-default-font=${dejavu}/DejaVuSans.ttf \ |
469 |
--with-default-font-family=Sans \ |
470 |
--with-default-monospace-font=${dejavu}/DejaVuSansMono.ttf |
471 |
--with-default-monospace-font-family=Monospace" |
472 |
fi |
473 |
|
474 |
local qt_flag="" |
475 |
if use qt4 || use qt5 ; then |
476 |
qt_flag="--enable-qt" |
477 |
fi |
478 |
|
479 |
econf \ |
480 |
${myconf} \ |
481 |
--enable-vlc \ |
482 |
--docdir=/usr/share/doc/${PF} \ |
483 |
--disable-dependency-tracking \ |
484 |
--disable-optimizations \ |
485 |
--disable-update-check \ |
486 |
--enable-fast-install \ |
487 |
--enable-screen \ |
488 |
$(use_enable a52) \ |
489 |
$(use_enable aalib aa) \ |
490 |
$(use_enable alsa) \ |
491 |
$(use_enable altivec) \ |
492 |
$(use_enable atmo) \ |
493 |
$(use_enable audioqueue) \ |
494 |
$(use_enable avahi bonjour) \ |
495 |
$(use_enable avcodec) \ |
496 |
$(use_enable avformat) \ |
497 |
$(use_enable bidi fribidi) \ |
498 |
$(use_enable bluray) \ |
499 |
$(use_enable cdda vcd) \ |
500 |
$(use_enable cddb libcddb) \ |
501 |
$(use_enable chromaprint) \ |
502 |
$(use_enable dbus) \ |
503 |
$(use_enable dirac) \ |
504 |
$(use_enable directfb) \ |
505 |
$(use_enable directx) \ |
506 |
$(use_enable dc1394) \ |
507 |
$(use_enable debug) \ |
508 |
$(use_enable dts dca) \ |
509 |
$(use_enable dvbpsi) \ |
510 |
$(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ |
511 |
$(use_enable dxva2) \ |
512 |
$(use_enable egl) \ |
513 |
$(use_enable encode sout) \ |
514 |
$(use_enable faad) \ |
515 |
$(use_enable fdk fdkaac) \ |
516 |
$(use_enable flac) \ |
517 |
$(use_enable fluidsynth) \ |
518 |
$(use_enable fontconfig) \ |
519 |
$(use_enable gcrypt libgcrypt) \ |
520 |
$(use_enable gme) \ |
521 |
$(use_enable gnome gnomevfs) \ |
522 |
$(use_enable gnutls) \ |
523 |
$(use_enable growl) \ |
524 |
$(use_enable httpd) \ |
525 |
$(use_enable ieee1394 dv1394) \ |
526 |
$(use_enable ios-vout) \ |
527 |
$(use_enable ios-vout ios-vout2) \ |
528 |
$(use_enable jack) \ |
529 |
$(use_enable kate) \ |
530 |
$(use_with kde kde-solid) \ |
531 |
$(use_enable libass) \ |
532 |
$(use_enable libcaca caca) \ |
533 |
$(use_enable libnotify notify) \ |
534 |
$(use_enable libsamplerate samplerate) \ |
535 |
$(use_enable libtar) \ |
536 |
$(use_enable libtiger tiger) \ |
537 |
$(use_enable linsys) \ |
538 |
$(use_enable lirc) \ |
539 |
$(use_enable live live555) \ |
540 |
$(use_enable lua) \ |
541 |
$(use_enable macosx-audio) \ |
542 |
$(use_enable macosx-dialog-provider) \ |
543 |
$(use_enable macosx-eyetv) \ |
544 |
$(use_enable macosx-qtkit) \ |
545 |
$(use_enable macosx-quartztext) \ |
546 |
$(use_enable macosx-vout) \ |
547 |
$(use_enable matroska mkv) \ |
548 |
$(use_enable mmx) \ |
549 |
$(use_enable modplug mod) \ |
550 |
$(use_enable mp3 mad) \ |
551 |
$(use_enable mpeg libmpeg2) \ |
552 |
$(use_enable mtp) \ |
553 |
$(use_enable musepack mpc) \ |
554 |
$(use_enable ncurses) \ |
555 |
$(use_enable neon) \ |
556 |
$(use_enable ogg) $(use_enable ogg mux_ogg) \ |
557 |
$(use_enable omxil) \ |
558 |
$(use_enable omxil omxil-vout) \ |
559 |
$(use_enable opencv) \ |
560 |
$(use_enable opengl glx) \ |
561 |
$(use_enable opus) \ |
562 |
$(use_enable optimisememory optimize-memory) \ |
563 |
$(use_enable png) \ |
564 |
$(use_enable postproc) \ |
565 |
$(use_enable projectm) \ |
566 |
$(use_enable pulseaudio pulse) \ |
567 |
${qt_flag} \ |
568 |
$(use_enable rdp libfreerdp) \ |
569 |
$(use_enable rtsp realrtsp) \ |
570 |
$(use_enable run-as-root) \ |
571 |
$(use_enable samba smbclient) \ |
572 |
$(use_enable schroedinger) \ |
573 |
$(use_enable sdl) \ |
574 |
$(use_enable sdl-image) \ |
575 |
$(use_enable sid) \ |
576 |
$(use_enable sftp) \ |
577 |
$(use_enable shout) \ |
578 |
$(use_enable skins skins2) \ |
579 |
$(use_enable speex) \ |
580 |
$(use_enable sse) \ |
581 |
$(use_enable svg) \ |
582 |
$(use_enable swscale) \ |
583 |
$(use_enable taglib) \ |
584 |
$(use_enable theora) \ |
585 |
$(use_enable tremor) \ |
586 |
$(use_enable truetype freetype) \ |
587 |
$(use_enable twolame) \ |
588 |
$(use_enable udev) \ |
589 |
$(use_enable upnp) \ |
590 |
$(use_enable v4l v4l2) \ |
591 |
$(use_enable vaapi libva) \ |
592 |
$(use_enable vcdx) \ |
593 |
$(use_enable vdpau) \ |
594 |
$(use_enable vlm) \ |
595 |
$(use_enable vnc libvnc) \ |
596 |
$(use_enable vorbis) \ |
597 |
$(use_enable wma-fixed) \ |
598 |
$(use_with X x) \ |
599 |
$(use_enable x264) \ |
600 |
$(use_enable xcb) \ |
601 |
$(use_enable xml libxml2) \ |
602 |
$(use_enable xv xvideo) \ |
603 |
$(use_enable zvbi) $(use_enable !zvbi telx) \ |
604 |
--disable-coverage \ |
605 |
--disable-cprof \ |
606 |
--disable-crystalhd \ |
607 |
--disable-decklink \ |
608 |
--disable-gles1 \ |
609 |
--disable-gles2 \ |
610 |
--disable-goom \ |
611 |
--disable-ios-audio \ |
612 |
--disable-kai \ |
613 |
--disable-kva \ |
614 |
--disable-maintainer-mode \ |
615 |
--disable-merge-ffmpeg \ |
616 |
--disable-opensles \ |
617 |
--disable-oss \ |
618 |
--disable-quicksync \ |
619 |
--disable-quicktime \ |
620 |
--disable-rpi-omxil \ |
621 |
--disable-shine \ |
622 |
--disable-sndio \ |
623 |
--disable-vda \ |
624 |
--disable-vsxu \ |
625 |
--disable-wasapi |
626 |
|
627 |
# ^ We don't have these disabled libraries in the Portage tree yet. |
628 |
} |
629 |
|
630 |
src_test() { |
631 |
Xemake check-TESTS |
632 |
} |
633 |
|
634 |
DOCS="AUTHORS THANKS NEWS README doc/fortunes.txt doc/intf-vcd.txt" |
635 |
|
636 |
src_install() { |
637 |
default |
638 |
|
639 |
# Punt useless libtool's .la files |
640 |
find "${D}" -name '*.la' -delete |
641 |
} |
642 |
|
643 |
pkg_postinst() { |
644 |
if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then |
645 |
einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/" |
646 |
"/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/" |
647 |
else |
648 |
ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)" |
649 |
ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually" |
650 |
ewarn "If you do not do it, vlc will take a long time to load." |
651 |
fi |
652 |
} |