1 |
aballier 09/11/02 22:59:40 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: vlc-1.0.3.ebuild |
5 |
Removed: vlc-1.0.3_rc.ebuild |
6 |
Log: |
7 |
bump to 1.0.3 |
8 |
(Portage version: 2.2_rc48/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.528 media-video/vlc/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?rev=1.528&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?rev=1.528&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?r1=1.527&r2=1.528 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v |
20 |
retrieving revision 1.527 |
21 |
retrieving revision 1.528 |
22 |
diff -u -r1.527 -r1.528 |
23 |
--- ChangeLog 27 Oct 2009 11:36:13 -0000 1.527 |
24 |
+++ ChangeLog 2 Nov 2009 22:59:39 -0000 1.528 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for media-video/vlc |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.527 2009/10/27 11:36:13 aballier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.528 2009/11/02 22:59:39 aballier Exp $ |
30 |
+ |
31 |
+*vlc-1.0.3 (02 Nov 2009) |
32 |
+ |
33 |
+ 02 Nov 2009; Alexis Ballier <aballier@g.o> -vlc-1.0.3_rc.ebuild, |
34 |
+ +vlc-1.0.3.ebuild: |
35 |
+ bump to 1.0.3 |
36 |
|
37 |
27 Oct 2009; Alexis Ballier <aballier@g.o> vlc-0.9.10.ebuild, |
38 |
vlc-1.0.2.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-video/vlc/vlc-1.0.3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/vlc-1.0.3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/vlc-1.0.3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: vlc-1.0.3.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-1.0.3.ebuild,v 1.1 2009/11/02 22:59:39 aballier Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
SCM="" |
56 |
if [ "${PV%9999}" != "${PV}" ] ; then |
57 |
SCM=git |
58 |
EGIT_REPO_URI="git://git.videolan.org/vlc.git" |
59 |
EGIT_BOOTSTRAP="bootstrap" |
60 |
if [ "${PV%.9999}" != "${PV}" ] ; then |
61 |
EGIT_BRANCH=${PV%.9999}-bugfix |
62 |
else |
63 |
EGIT_BRANCH=master |
64 |
fi |
65 |
fi |
66 |
|
67 |
inherit eutils multilib autotools toolchain-funcs gnome2 nsplugins qt4 flag-o-matic ${SCM} |
68 |
|
69 |
MY_PV="${PV/_/-}" |
70 |
MY_PV="${MY_PV/-beta/-test}" |
71 |
MY_P="${PN}-${MY_PV}" |
72 |
VLC_SNAPSHOT_TIME="0013" |
73 |
|
74 |
PATCHLEVEL="79" |
75 |
M4_TARBALL_VERSION="1" |
76 |
DESCRIPTION="VLC media player - Video player and streamer" |
77 |
HOMEPAGE="http://www.videolan.org/vlc/" |
78 |
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild |
79 |
SRC_URI="" |
80 |
elif [[ "${P}" == *_alpha* ]]; then # Snapshots taken from nightlies.videolan.org |
81 |
SRC_URI="http://nightlies.videolan.org/build/source/trunk-${PV/*_alpha/}-${VLC_SNAPSHOT_TIME}/${PN}-snapshot-${PV/*_alpha/}.tar.bz2" |
82 |
MY_P="${P/_alpha*/}-git" |
83 |
elif [[ "${MY_P}" == "${P}" ]]; then |
84 |
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2" |
85 |
else |
86 |
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.bz2" |
87 |
fi |
88 |
|
89 |
SRC_URI="${SRC_URI} |
90 |
mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2 |
91 |
mirror://gentoo/${PN}-m4-${M4_TARBALL_VERSION}.tar.bz2" |
92 |
|
93 |
LICENSE="GPL-2" |
94 |
SLOT="0" |
95 |
|
96 |
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
97 |
IUSE="a52 aac aalib alsa altivec atmo avahi bidi cdda cddax cddb cdio dbus dc1394 |
98 |
debug dirac directfb dts dvb dvd elibc_glibc fbcon fluidsynth +ffmpeg flac fontconfig |
99 |
+gcrypt ggi gnome gnutls hal httpd id3tag ieee1394 jack kate libass libcaca |
100 |
libnotify libproxy libsysfs libtiger libv4l2 lirc live lua matroska mmx |
101 |
modplug mp3 mpeg mtp musepack ncurses nsplugin ogg opengl optimisememory oss |
102 |
pda png pulseaudio pvr +qt4 remoteosd rtsp run-as-root samba schroedinger |
103 |
sdl sdl-image seamonkey shine shout skins speex sse stream svg svga taglib |
104 |
theora truetype twolame udev upnp v4l v4l2 vcdinfo vcdx vlm vorbis win32codecs |
105 |
wma-fixed X x264 xcb xinerama xml xosd xv zvbi" |
106 |
|
107 |
RDEPEND=" |
108 |
!!<=media-video/vlc-0.9.99999 |
109 |
sys-libs/zlib |
110 |
>=media-libs/libdvbpsi-0.1.6 |
111 |
a52? ( >=media-libs/a52dec-0.7.4-r3 ) |
112 |
aalib? ( media-libs/aalib ) |
113 |
aac? ( >=media-libs/faad2-2.6.1 ) |
114 |
alsa? ( media-libs/alsa-lib ) |
115 |
avahi? ( >=net-dns/avahi-0.6 ) |
116 |
bidi? ( >=dev-libs/fribidi-0.10.4 ) |
117 |
cdda? ( cddb? ( >=media-libs/libcddb-1.2.0 ) ) |
118 |
cddax? ( cddb? ( >=media-libs/libcddb-1.2.0 ) ) |
119 |
cdio? ( >=dev-libs/libcdio-0.78.2 ) |
120 |
dbus? ( >=sys-apps/dbus-1.0.2 ) |
121 |
dc1394? ( sys-libs/libraw1394 |
122 |
<media-libs/libdc1394-1.9.99 ) |
123 |
dirac? ( >=media-video/dirac-0.10.0 ) |
124 |
directfb? ( dev-libs/DirectFB ) |
125 |
dts? ( media-libs/libdca ) |
126 |
dvd? ( media-libs/libdvdread |
127 |
>=media-libs/libdvdnav-0.1.9 |
128 |
media-libs/libdvdplay ) |
129 |
elibc_glibc? ( >=sys-libs/glibc-2.8 ) |
130 |
ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20090201 ) |
131 |
flac? ( media-libs/libogg |
132 |
>=media-libs/flac-1.1.2 ) |
133 |
fluidsynth? ( media-sound/fluidsynth ) |
134 |
fontconfig? ( media-libs/fontconfig ) |
135 |
gcrypt? ( >=dev-libs/libgcrypt-1.2.0 ) |
136 |
ggi? ( media-libs/libggi ) |
137 |
gnome? ( gnome-base/gnome-vfs ) |
138 |
gnutls? ( >=net-libs/gnutls-1.7.4 ) |
139 |
hal? ( sys-apps/hal ) |
140 |
id3tag? ( media-libs/libid3tag |
141 |
sys-libs/zlib ) |
142 |
ieee1394? ( sys-libs/libraw1394 sys-libs/libavc1394 ) |
143 |
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 ) |
144 |
kate? ( >=media-libs/libkate-0.1.1 ) |
145 |
libass? ( >=media-libs/libass-0.9.5 media-libs/fontconfig ) |
146 |
libcaca? ( media-libs/libcaca ) |
147 |
libnotify? ( x11-libs/libnotify ) |
148 |
libproxy? ( net-libs/libproxy ) |
149 |
libsysfs? ( sys-fs/sysfsutils ) |
150 |
libtiger? ( media-libs/libtiger ) |
151 |
lirc? ( app-misc/lirc ) |
152 |
live? ( >=media-plugins/live-2008.07.06 ) |
153 |
lua? ( >=dev-lang/lua-5.1 ) |
154 |
matroska? ( |
155 |
>=dev-libs/libebml-0.7.6 |
156 |
>=media-libs/libmatroska-0.8.0 ) |
157 |
modplug? ( media-libs/libmodplug ) |
158 |
mp3? ( media-libs/libmad ) |
159 |
mpeg? ( >=media-libs/libmpeg2-0.3.2 ) |
160 |
mtp? ( >=media-libs/libmtp-0.3.0 ) |
161 |
musepack? ( >=media-sound/musepack-tools-444 ) |
162 |
ncurses? ( sys-libs/ncurses ) |
163 |
nsplugin? ( |
164 |
seamonkey? ( =www-client/seamonkey-1* ) |
165 |
!seamonkey? ( >=net-libs/xulrunner-1.8 ) |
166 |
) |
167 |
ogg? ( media-libs/libogg ) |
168 |
pda? ( x11-libs/gtk+:2 ) |
169 |
png? ( media-libs/libpng ) |
170 |
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 ) |
171 |
qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 x11-libs/libX11 ) |
172 |
remoteosd? ( >=dev-libs/libgcrypt-1.2.0 ) |
173 |
samba? ( || ( >=net-fs/samba-libs-3.4[smbclient] |
174 |
<net-fs/samba-3.4 ) ) |
175 |
schroedinger? ( >=media-libs/schroedinger-1.0.6 ) |
176 |
sdl? ( >=media-libs/libsdl-1.2.8 |
177 |
sdl-image? ( media-libs/sdl-image ) ) |
178 |
shout? ( media-libs/libshout ) |
179 |
skins? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 x11-libs/libXext x11-libs/libX11 ) |
180 |
speex? ( media-libs/speex ) |
181 |
svg? ( >=gnome-base/librsvg-2.9.0 ) |
182 |
svga? ( media-libs/svgalib ) |
183 |
taglib? ( >=media-libs/taglib-1.5 ) |
184 |
theora? ( >=media-libs/libtheora-1.0_beta3 ) |
185 |
truetype? ( media-libs/freetype |
186 |
media-fonts/dejavu ) |
187 |
twolame? ( media-sound/twolame ) |
188 |
udev? ( >=sys-fs/udev-142 ) |
189 |
upnp? ( net-libs/libupnp ) |
190 |
v4l2? ( libv4l2? ( media-libs/libv4l ) ) |
191 |
vcdinfo? ( >=media-video/vcdimager-0.7.22 ) |
192 |
vorbis? ( media-libs/libvorbis ) |
193 |
win32codecs? ( media-libs/win32codecs ) |
194 |
X? ( |
195 |
x11-libs/libX11 |
196 |
x11-libs/libXext |
197 |
xv? ( x11-libs/libXv ) |
198 |
xinerama? ( x11-libs/libXinerama ) |
199 |
opengl? ( virtual/opengl ) |
200 |
) |
201 |
x264? ( media-libs/x264 ) |
202 |
xcb? ( x11-libs/libxcb x11-libs/xcb-util ) |
203 |
xml? ( dev-libs/libxml2 ) |
204 |
xosd? ( x11-libs/xosd ) |
205 |
zvbi? ( >=media-libs/zvbi-0.2.25 ) |
206 |
" |
207 |
|
208 |
# Disabled features and reasons: |
209 |
# xvmc? ( x11-libs/libXvMC ) |
210 |
# Will probably compile only on x86 |
211 |
|
212 |
DEPEND="${RDEPEND} |
213 |
dvb? ( sys-kernel/linux-headers ) |
214 |
v4l? ( sys-kernel/linux-headers ) |
215 |
v4l2? ( >=sys-kernel/linux-headers-2.6.25 ) |
216 |
X? ( xinerama? ( x11-proto/xineramaproto ) ) |
217 |
xcb? ( x11-proto/xproto ) |
218 |
dev-util/pkgconfig" |
219 |
|
220 |
S="${WORKDIR}/${MY_P}" |
221 |
|
222 |
# Displays a warning if the first use flag is set but the second is not |
223 |
vlc_use_needs() { |
224 |
use $1 && use !$2 && ewarn "USE=$1 requires $2, $1 will be disabled." |
225 |
} |
226 |
|
227 |
# Notify the user that some useflag have been forced on |
228 |
vlc_use_force() { |
229 |
use $1 && use !$2 && ewarn "USE=$1 requires $2, $2 will be enabled." |
230 |
} |
231 |
|
232 |
# Use when $2 depends strictly on $3 |
233 |
# if use $1 then enable $2 and $3, otherwise disable $2 |
234 |
vlc_use_enable_force() { |
235 |
if use $1 ; then |
236 |
echo "--enable-$2 --enable-$3" |
237 |
else |
238 |
echo "--disable-$2" |
239 |
fi |
240 |
} |
241 |
|
242 |
pkg_setup() { |
243 |
if has_version '<=media-video/vlc-0.9.9999'; then |
244 |
eerror "Please unmerge vlc-0.9.x first before installing ${P}" |
245 |
eerror "If you don't do that, some plugins will get linked against" |
246 |
eerror "the old ${PN} version and will not work." |
247 |
die "Unmerge vlc 0.9.x first" |
248 |
fi |
249 |
vlc_use_needs skins truetype |
250 |
vlc_use_force skins qt4 |
251 |
vlc_use_needs cddax cdio |
252 |
vlc_use_needs vcdx cdio |
253 |
vlc_use_needs vcdx vcdinfo |
254 |
vlc_use_needs vcdinfo cdio |
255 |
vlc_use_needs bidi truetype |
256 |
vlc_use_force remoteosd gcrypt |
257 |
vlc_use_needs fontconfig truetype |
258 |
vlc_use_needs libv4l2 v4l2 |
259 |
vlc_use_needs libtiger kate |
260 |
use cddb && use !cdda && use !cddax && ewarn "USE=cddb requires either cdda or cddax, cddb will be disabled." |
261 |
if use qt4 || use skins ; then |
262 |
qt4_pkg_setup |
263 |
else |
264 |
ewarn "You have disabled the qt4 useflag, ${PN} will not have any" |
265 |
ewarn "graphical interface. Maybe that is not what you want..." |
266 |
fi |
267 |
} |
268 |
|
269 |
src_unpack() { |
270 |
unpack ${A} |
271 |
if [ "${PV%9999}" != "${PV}" ] ; then |
272 |
git_src_unpack |
273 |
fi |
274 |
} |
275 |
|
276 |
src_prepare() { |
277 |
if [ "${PV%9999}" != "${PV}" ] ; then |
278 |
git_src_prepare |
279 |
fi |
280 |
# Make it build with libtool 1.5 |
281 |
rm -f m4/lt* m4/libtool.m4 |
282 |
|
283 |
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" |
284 |
AT_M4DIR="m4 ${WORKDIR}/${PN}-m4" eautoreconf |
285 |
} |
286 |
|
287 |
src_configure() { |
288 |
|
289 |
# It would fail if -fforce-addr is used due to too few registers... |
290 |
use x86 && filter-flags -fforce-addr |
291 |
|
292 |
local MOZILLA_PC |
293 |
|
294 |
if use nsplugin; then |
295 |
if use seamonkey; then |
296 |
MOZILLA_PC=seamonkey-plugin |
297 |
else |
298 |
if has_version 'net-libs/xulrunner:1.9' ; then |
299 |
MOZILLA_PC=libxul |
300 |
else |
301 |
MOZILLA_PC=xulrunner-plugin |
302 |
fi |
303 |
fi |
304 |
fi |
305 |
|
306 |
econf \ |
307 |
$(use_enable a52) \ |
308 |
$(use_enable aalib aa) \ |
309 |
$(use_enable aac faad) \ |
310 |
$(use_enable alsa) \ |
311 |
$(use_enable altivec) \ |
312 |
--disable-asademux \ |
313 |
$(use_enable atmo) \ |
314 |
$(use_enable avahi bonjour) \ |
315 |
$(use_enable bidi fribidi) \ |
316 |
$(use_enable cdda vcd) \ |
317 |
$(use_enable cddax)\ |
318 |
$(use_enable cddb libcddb) \ |
319 |
$(use_enable cdio libcdio) \ |
320 |
--disable-csri \ |
321 |
$(use_enable dbus) $(use_enable dbus dbus-control) \ |
322 |
$(use_enable dirac) \ |
323 |
$(use_enable directfb) \ |
324 |
$(use_enable dc1394) \ |
325 |
$(use_enable debug) \ |
326 |
$(use_enable dts dca) \ |
327 |
$(use_enable dvb) \ |
328 |
$(use_enable dvd dvdread) $(use_enable dvd dvdnav) \ |
329 |
$(use_enable fbcon fb) \ |
330 |
$(use_enable ffmpeg avcodec) $(use_enable ffmpeg avformat) $(use_enable ffmpeg swscale) $(use_enable ffmpeg postproc) \ |
331 |
$(use_enable flac) \ |
332 |
$(use_enable fluidsynth) \ |
333 |
$(use_enable fontconfig) \ |
334 |
$(use_enable ggi) \ |
335 |
$(use_enable gnome gnomevfs) \ |
336 |
$(use_enable gnutls) \ |
337 |
$(use_enable hal) \ |
338 |
$(use_enable httpd) \ |
339 |
$(use_enable id3tag) \ |
340 |
$(use_enable ieee1394 dv) \ |
341 |
$(use_enable jack) \ |
342 |
$(use_enable kate) \ |
343 |
$(use_enable libass) \ |
344 |
$(use_enable libcaca caca) \ |
345 |
$(use_enable gcrypt libgcrypt) \ |
346 |
$(use_enable libnotify notify) \ |
347 |
$(use_enable libproxy) \ |
348 |
--disable-libtar \ |
349 |
$(use_enable libtiger tiger) \ |
350 |
$(use_enable libsysfs) \ |
351 |
$(use_enable libv4l2) \ |
352 |
$(use_enable lirc) \ |
353 |
$(use_enable live live555) \ |
354 |
$(use_enable lua) \ |
355 |
$(use_enable matroska mkv) \ |
356 |
$(use_enable mmx) \ |
357 |
$(use_enable modplug mod) \ |
358 |
$(use_enable mp3 mad) \ |
359 |
$(use_enable mpeg libmpeg2) \ |
360 |
$(use_enable mtp) \ |
361 |
$(use_enable musepack mpc) \ |
362 |
$(use_enable ncurses) \ |
363 |
$(use_enable nsplugin mozilla) --with-mozilla-pkg="${MOZILLA_PC}" \ |
364 |
$(use_enable ogg) \ |
365 |
$(use_enable opengl glx) $(use_enable opengl) $(use_enable opengl galaktos) \ |
366 |
$(use_enable optimisememory optimize-memory) \ |
367 |
$(use_enable oss) \ |
368 |
$(use_enable pda) \ |
369 |
$(use_enable png) \ |
370 |
--disable-portaudio \ |
371 |
$(use_enable pulseaudio pulse) \ |
372 |
$(use_enable pvr) \ |
373 |
$(use_enable qt4) \ |
374 |
$(use_enable rtsp realrtsp) \ |
375 |
$(use_enable run-as-root) \ |
376 |
$(use_enable samba smb) \ |
377 |
$(use_enable schroedinger) \ |
378 |
$(use_enable sdl) \ |
379 |
$(use_enable sdl-image) \ |
380 |
$(use_enable shine) \ |
381 |
$(use_enable shout) \ |
382 |
$(use_enable skins skins2) \ |
383 |
$(use_enable speex) \ |
384 |
$(use_enable sse) \ |
385 |
$(use_enable stream sout) \ |
386 |
$(use_enable svg) \ |
387 |
$(use_enable svga svgalib) \ |
388 |
$(use_enable taglib) \ |
389 |
$(use_enable theora) \ |
390 |
$(use_enable truetype freetype) \ |
391 |
$(use_enable twolame) \ |
392 |
$(use_enable udev) \ |
393 |
$(use_enable upnp) \ |
394 |
$(use_enable v4l) \ |
395 |
$(use_enable v4l2) \ |
396 |
$(use_enable vcdinfo) \ |
397 |
$(use_enable vcdx) \ |
398 |
$(use_enable vorbis) \ |
399 |
$(use_enable win32codecs loader) \ |
400 |
$(use_enable wma-fixed) \ |
401 |
$(use_enable X x11) $(use_enable X screen) \ |
402 |
$(use_enable x264) \ |
403 |
$(use_enable xcb) \ |
404 |
$(use_enable xinerama) \ |
405 |
$(use_enable xml libxml2) \ |
406 |
$(use_enable xosd) \ |
407 |
$(use_enable xv xvideo) \ |
408 |
--disable-xvmc \ |
409 |
$(use_enable zvbi) $(use_enable !zvbi telx) \ |
410 |
--disable-snapshot \ |
411 |
--disable-growl \ |
412 |
--disable-optimizations \ |
413 |
--enable-fast-install \ |
414 |
$(vlc_use_enable_force vlm vlm sout) \ |
415 |
$(vlc_use_enable_force skins skins2 qt4) \ |
416 |
$(vlc_use_enable_force remoteosd remoteosd libgcrypt) |
417 |
} |
418 |
|
419 |
src_install() { |
420 |
emake DESTDIR="${D}" install || die "make install failed" |
421 |
|
422 |
dodoc AUTHORS MAINTAINERS HACKING THANKS NEWS README \ |
423 |
doc/fortunes.txt doc/intf-cdda.txt doc/intf-vcd.txt |
424 |
|
425 |
rm -rf "${D}/usr/share/doc/vlc" \ |
426 |
"${D}"/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico} |
427 |
|
428 |
if use nsplugin; then |
429 |
dodir "/usr/$(get_libdir)/${PLUGINS_DIR}" |
430 |
mv "${D}"/usr/$(get_libdir)/mozilla/plugins/* \ |
431 |
"${D}/usr/$(get_libdir)/${PLUGINS_DIR}/" |
432 |
fi |
433 |
|
434 |
use skins || rm -rf "${D}/usr/share/vlc/skins2" |
435 |
|
436 |
for res in 16 32 48; do |
437 |
insinto /usr/share/icons/hicolor/${res}x${res}/apps/ |
438 |
newins "${S}"/share/vlc${res}x${res}.png vlc.png |
439 |
done |
440 |
} |