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