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