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