1 |
aballier 07/10/09 22:23:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: vlc-0.9.0_alpha20071009.ebuild |
5 |
Log: |
6 |
bump snapshot, blocking older versions cause of bug #157746, closing bug #195019 and bug #183584 |
7 |
(Portage version: 2.1.3.12) |
8 |
|
9 |
Revision Changes Path |
10 |
1.258 media-video/vlc/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?rev=1.258&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?rev=1.258&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?r1=1.257&r2=1.258 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v |
19 |
retrieving revision 1.257 |
20 |
retrieving revision 1.258 |
21 |
diff -u -r1.257 -r1.258 |
22 |
--- ChangeLog 14 Sep 2007 11:56:56 -0000 1.257 |
23 |
+++ ChangeLog 9 Oct 2007 22:23:53 -0000 1.258 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for media-video/vlc |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.257 2007/09/14 11:56:56 uberlord Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.258 2007/10/09 22:23:53 aballier Exp $ |
29 |
+ |
30 |
+*vlc-0.9.0_alpha20071009 (09 Oct 2007) |
31 |
+ |
32 |
+ 09 Oct 2007; Alexis Ballier <aballier@g.o> |
33 |
+ +vlc-0.9.0_alpha20071009.ebuild: |
34 |
+ bump snapshot, blocking older versions cause of bug #157746, closing bug |
35 |
+ #195019 and bug #183584 |
36 |
|
37 |
14 Sep 2007; Roy Marples <uberlord@g.o> vlc-0.8.6c.ebuild: |
38 |
elibtoolize now patches install-sh for us. |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-video/vlc/vlc-0.9.0_alpha20071009.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/vlc-0.9.0_alpha20071009.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/vlc-0.9.0_alpha20071009.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: vlc-0.9.0_alpha20071009.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2007 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.9.0_alpha20071009.ebuild,v 1.1 2007/10/09 22:23:53 aballier Exp $ |
52 |
|
53 |
WANT_AUTOMAKE=latest |
54 |
WANT_AUTOCONF=latest |
55 |
|
56 |
inherit eutils wxwidgets multilib autotools toolchain-funcs gnome2 nsplugins |
57 |
|
58 |
MY_PV="${PV/_/-}" |
59 |
MY_PV="${MY_PV/-beta/-test}" |
60 |
MY_P="${PN}-${MY_PV}" |
61 |
VLC_SNAPSHOT_TIME="0016" |
62 |
|
63 |
# Used for live ebuilds |
64 |
# ESVN_REPO_URI="svn://svn.videolan.org/vlc/trunk" |
65 |
# ESVN_PROJECT="${PN}-trunk" |
66 |
# ESVN_BOOTSTRAP="bootstrap" |
67 |
# ESVN_PATCHES="${WORKDIR}/patches/*.patch" |
68 |
|
69 |
PATCHLEVEL="42" |
70 |
DESCRIPTION="VLC media player - Video player and streamer" |
71 |
HOMEPAGE="http://www.videolan.org/vlc/" |
72 |
if [[ "${P}" == *_alpha* ]]; then # Snapshots taken from nightlies.videolan.org |
73 |
SRC_URI="http://nightlies.videolan.org/build/source/trunk-${PV/*_alpha/}-${VLC_SNAPSHOT_TIME}/${PN}-snapshot-${PV/*_alpha/}.tar.bz2" |
74 |
MY_P="${P/_alpha*/}-svn" |
75 |
elif [[ "${P}" == *_p* ]]; then # Snapshots |
76 |
SRC_URI="mirror://gentoo/${P}.tar.bz2" |
77 |
MY_P="${P}" |
78 |
elif [[ "${MY_P}" == "${P}" ]]; then |
79 |
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2" |
80 |
else |
81 |
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.bz2" |
82 |
fi |
83 |
|
84 |
SRC_URI="${SRC_URI} |
85 |
mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" |
86 |
|
87 |
LICENSE="GPL-2" |
88 |
SLOT="1" |
89 |
|
90 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
91 |
IUSE="a52 3dfx debug altivec httpd vlm gnutls live v4l v4l2 cdda ogg matroska |
92 |
dvb dvd vcd vcdx dts flac mpeg vorbis theora X opengl truetype svg fbcon svga |
93 |
oss aalib ggi libcaca esd arts alsa wxwindows ncurses xosd lirc stream |
94 |
mp3 xv bidi sdl sdl-image png xml samba daap mod speex shout rtsp |
95 |
win32codecs skins hal avahi xinerama cddb directfb upnp nsplugin seamonkey |
96 |
optimisememory libnotify jack musepack x264 dc1394 lua gnome pvr taglib |
97 |
musicbrainz dbus libgcrypt id3tag cdio ffmpeg twolame" |
98 |
|
99 |
RDEPEND=" |
100 |
ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20050226-r1 ) |
101 |
cdda? ( >=dev-libs/libcdio-0.72 |
102 |
cddb? ( >=media-libs/libcddb-1.2.0 ) ) |
103 |
live? ( >=media-plugins/live-2007.02.20 ) |
104 |
dvd? ( media-libs/libdvdread |
105 |
media-libs/libdvdcss |
106 |
>=media-libs/libdvdnav-0.1.9 |
107 |
media-libs/libdvdplay ) |
108 |
esd? ( media-sound/esound ) |
109 |
ogg? ( media-libs/libogg ) |
110 |
matroska? ( |
111 |
>=dev-libs/libebml-0.7.6 |
112 |
>=media-libs/libmatroska-0.8.0 ) |
113 |
mp3? ( media-libs/libmad ) |
114 |
a52? ( >=media-libs/a52dec-0.7.4-r3 ) |
115 |
dts? ( media-libs/libdca ) |
116 |
flac? ( media-libs/libogg |
117 |
>=media-libs/flac-1.1.2 ) |
118 |
mpeg? ( >=media-libs/libmpeg2-0.3.2 ) |
119 |
vorbis? ( media-libs/libvorbis ) |
120 |
theora? ( media-libs/libtheora ) |
121 |
truetype? ( media-libs/freetype |
122 |
media-fonts/ttf-bitstream-vera ) |
123 |
svga? ( media-libs/svgalib ) |
124 |
ggi? ( media-libs/libggi ) |
125 |
aalib? ( media-libs/aalib ) |
126 |
libcaca? ( media-libs/libcaca ) |
127 |
arts? ( kde-base/arts ) |
128 |
alsa? ( media-libs/alsa-lib ) |
129 |
wxwindows? ( >=x11-libs/wxGTK-2.6.2-r1 ) |
130 |
ncurses? ( sys-libs/ncurses ) |
131 |
xosd? ( x11-libs/xosd ) |
132 |
lirc? ( app-misc/lirc ) |
133 |
3dfx? ( media-libs/glide-v3 ) |
134 |
bidi? ( >=dev-libs/fribidi-0.10.4 ) |
135 |
gnutls? ( >=net-libs/gnutls-1.3.3 ) |
136 |
sys-libs/zlib |
137 |
png? ( media-libs/libpng ) |
138 |
media-libs/libdvbpsi |
139 |
sdl? ( >=media-libs/libsdl-1.2.8 |
140 |
sdl-image? ( media-libs/sdl-image ) ) |
141 |
xml? ( dev-libs/libxml2 ) |
142 |
samba? ( net-fs/samba ) |
143 |
cdio? ( >=dev-libs/libcdio-0.78.2 |
144 |
>=media-video/vcdimager-0.7.22 ) |
145 |
daap? ( >=media-libs/libopendaap-0.3.0 ) |
146 |
v4l? ( sys-kernel/linux-headers ) |
147 |
v4l2? ( sys-kernel/linux-headers ) |
148 |
dvb? ( sys-kernel/linux-headers ) |
149 |
mod? ( media-libs/libmodplug ) |
150 |
speex? ( media-libs/speex ) |
151 |
svg? ( >=gnome-base/librsvg-2.9.0 ) |
152 |
shout? ( media-libs/libshout ) |
153 |
win32codecs? ( media-libs/win32codecs ) |
154 |
hal? ( sys-apps/hal ) |
155 |
avahi? ( >=net-dns/avahi-0.6 ) |
156 |
X? ( |
157 |
x11-libs/libX11 |
158 |
x11-libs/libXext |
159 |
xv? ( x11-libs/libXv ) |
160 |
xinerama? ( x11-libs/libXinerama ) |
161 |
opengl? ( virtual/opengl ) |
162 |
) |
163 |
directfb? ( dev-libs/DirectFB ) |
164 |
upnp? ( net-libs/libupnp ) |
165 |
nsplugin? ( |
166 |
!seamonkey? ( www-client/mozilla-firefox ) |
167 |
seamonkey? ( www-client/seamonkey ) |
168 |
) |
169 |
libnotify? ( x11-libs/libnotify ) |
170 |
musepack? ( media-libs/libmpcdec ) |
171 |
x264? ( >=media-libs/x264-svn-20061014 ) |
172 |
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 ) |
173 |
lua? ( >=dev-lang/lua-5.1 ) |
174 |
gnome? ( gnome-base/gnome-vfs ) |
175 |
taglib? ( media-libs/taglib ) |
176 |
musicbrainz? ( media-libs/musicbrainz ) |
177 |
dc1394? ( sys-libs/libraw1394 |
178 |
<media-libs/libdc1394-1.9.99 ) |
179 |
dbus? ( >=sys-apps/dbus-1.0.2 ) |
180 |
libgcrypt? ( >=dev-libs/libgcrypt-1.2.0 ) |
181 |
id3tag? ( media-libs/libid3tag |
182 |
sys-libs/zlib ) |
183 |
twolame? ( media-sound/twolame )" |
184 |
|
185 |
# Disabled features and reasons : |
186 |
# xvmc? ( x11-libs/libXvMC ) |
187 |
# Will probably compile only on x86 |
188 |
# dirac? ( media-video/dirac ) |
189 |
# Needs testing but can be ok |
190 |
# qt4? ( $(qt4_min_version 4.2.0 ) ) |
191 |
# Main addition of 0.9.0, will enable it when it'll be released |
192 |
# zvbi? ( >=media-libs/zvbi-0.2.25 ) |
193 |
# Dep not up to date enough |
194 |
|
195 |
|
196 |
DEPEND="${RDEPEND} |
197 |
X? ( xinerama? ( x11-proto/xineramaproto ) ) |
198 |
dev-util/pkgconfig" |
199 |
|
200 |
S="${WORKDIR}/${MY_P}" |
201 |
|
202 |
# Block older versions, we can't upgrade cleanly until bug #157746 gets |
203 |
# resolved... |
204 |
RDEPEND="${RDEPEND} |
205 |
!<media-video/vlc-0.8.8" |
206 |
DEPEND="${DEPEND} |
207 |
!<media-video/vlc-0.8.8" |
208 |
|
209 |
|
210 |
|
211 |
# Dispalys a warning if the first use flag is set but not the second |
212 |
vlc_use_needs() { |
213 |
use $1 && use !$2 && ewarn "USE=$1 requires $2, $1 will be disabled." |
214 |
} |
215 |
|
216 |
pkg_setup() { |
217 |
if use wxwindows || use skins; then |
218 |
WX_GTK_VER="2.6" |
219 |
need-wxwidgets unicode || die "You need to install wxGTK with unicode support." |
220 |
fi |
221 |
vlc_use_needs skins truetype |
222 |
vlc_use_needs skins wxwindows |
223 |
vlc_use_needs cdda cdio |
224 |
vlc_use_needs vcdx cdio |
225 |
vlc_use_needs libgcrypt gnutls |
226 |
} |
227 |
|
228 |
src_unpack() { |
229 |
unpack ${A} |
230 |
cd "${S}" |
231 |
|
232 |
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" |
233 |
AT_M4DIR="m4" eautoreconf |
234 |
} |
235 |
|
236 |
src_compile () { |
237 |
local XPIDL="" |
238 |
local MOZILLA_CONFIG="" |
239 |
|
240 |
use vlm && \ |
241 |
myconf="${myconf} --enable-vlm --enable-sout" || \ |
242 |
myconf="${myconf} --disable-vlm" |
243 |
|
244 |
if use nsplugin; then |
245 |
if use seamonkey; then |
246 |
XPIDL=/usr/lib/seamonkey |
247 |
MOZILLA_CONFIG=/usr/lib/seamonkey/seamonkey-config |
248 |
else |
249 |
XPIDL=/usr/lib/mozilla-firefox |
250 |
MOZILLA_CONFIG=/usr/lib/mozilla-firefox/firefox-config |
251 |
fi |
252 |
fi |
253 |
|
254 |
econf \ |
255 |
$(use_enable altivec) \ |
256 |
$(use_enable stream sout) \ |
257 |
$(use_enable httpd) \ |
258 |
$(use_enable gnutls) \ |
259 |
$(use_enable v4l) \ |
260 |
$(use_enable v4l2) \ |
261 |
$(use_enable cdda) $(use_enable cdda cddax)\ |
262 |
$(use_enable cddb libcddb) \ |
263 |
$(use_enable vcd) \ |
264 |
$(use_enable vcdx vcdx) \ |
265 |
$(use_enable dvb) \ |
266 |
$(use_enable pvr) \ |
267 |
$(use_enable ogg) \ |
268 |
$(use_enable matroska mkv) \ |
269 |
$(use_enable flac) \ |
270 |
$(use_enable vorbis) \ |
271 |
$(use_enable theora) \ |
272 |
$(use_enable X x11) \ |
273 |
$(use_enable X screen) \ |
274 |
$(use_enable xv xvideo) \ |
275 |
$(use_enable directfb) \ |
276 |
--disable-xvmc \ |
277 |
$(use_enable xinerama) \ |
278 |
$(use_enable opengl glx) $(use_enable opengl) $(use_enable opengl galaktos) \ |
279 |
$(use_enable bidi fribidi) \ |
280 |
$(use_enable dvd dvdread) $(use_enable dvd dvdplay) $(use_enable dvd dvdnav) \ |
281 |
$(use_enable fbcon fb) \ |
282 |
$(use_enable svga svgalib) \ |
283 |
$(use_enable 3dfx glide) \ |
284 |
$(use_enable aalib aa) \ |
285 |
$(use_enable libcaca caca) \ |
286 |
$(use_enable oss) \ |
287 |
$(use_enable esd) \ |
288 |
$(use_enable arts) \ |
289 |
$(use_enable alsa) \ |
290 |
$(use_enable ncurses) \ |
291 |
$(use_enable xosd) \ |
292 |
$(use_enable lirc) \ |
293 |
$(use_enable mp3 mad) \ |
294 |
$(use_enable a52) \ |
295 |
$(use_enable dts dca) \ |
296 |
$(use_enable mpeg libmpeg2) \ |
297 |
$(use_enable ggi) \ |
298 |
$(use_enable 3dfx glide) \ |
299 |
$(use_enable sdl) \ |
300 |
$(use_enable sdl-image) \ |
301 |
$(use_enable png) \ |
302 |
$(use_enable xml libxml2) \ |
303 |
$(use_enable samba smb) \ |
304 |
$(use_enable daap) \ |
305 |
$(use_enable mod) \ |
306 |
$(use_enable speex) \ |
307 |
$(use_enable shout) \ |
308 |
$(use_enable rtsp) $(use_enable rtsp realrtsp) \ |
309 |
$(use_enable win32codecs loader) \ |
310 |
$(use_enable skins skins2) \ |
311 |
$(use_enable hal) \ |
312 |
$(use_enable avahi bonjour) \ |
313 |
$(use_enable upnp) \ |
314 |
$(use_enable optimisememory optimize-memory) \ |
315 |
$(use_enable libnotify notify) \ |
316 |
$(use_enable jack) \ |
317 |
$(use_enable musepack mpc) \ |
318 |
$(use_enable x264) \ |
319 |
$(use_enable dc1394) \ |
320 |
--disable-qt4 \ |
321 |
$(use_enable lua) \ |
322 |
$(use_enable gnome gnomevfs) \ |
323 |
$(use_enable taglib) \ |
324 |
$(use_enable musicbrainz) \ |
325 |
--disable-dirac \ |
326 |
$(use_enable dbus) $(use_enable dbus dbus-control) \ |
327 |
$(use_enable libgcrypt) \ |
328 |
--disable-zvbi \ |
329 |
$(use_enable id3tag) \ |
330 |
$(use_enable live live555) \ |
331 |
$(use_enable cdio libcdio) \ |
332 |
$(use_enable truetype freetype) \ |
333 |
$(use_enable wxwindows wxwidgets) \ |
334 |
$(use_enable ffmpeg) \ |
335 |
$(use_enable twolame) \ |
336 |
--disable-faad \ |
337 |
--disable-dv \ |
338 |
--disable-libvc1 \ |
339 |
--disable-snapshot \ |
340 |
--disable-growl \ |
341 |
--disable-pth \ |
342 |
--disable-portaudio \ |
343 |
--disable-libtar \ |
344 |
--disable-optimizations \ |
345 |
--enable-utf8 \ |
346 |
--enable-libtool \ |
347 |
--enable-fast-install \ |
348 |
$(use_enable nsplugin mozilla) \ |
349 |
XPIDL="${XPIDL}" MOZILLA_CONFIG="${MOZILLA_CONFIG}" \ |
350 |
WX_CONFIG="${WX_CONFIG}" \ |
351 |
${myconf} || die "configuration failed" |
352 |
|
353 |
if [[ $(gcc-major-version) == 2 ]]; then |
354 |
sed -i -e s:"-fomit-frame-pointer":: vlc-config || die "-fomit-frame-pointer patching failed" |
355 |
fi |
356 |
|
357 |
emake || die "make of VLC failed" |
358 |
} |
359 |
|
360 |
src_install() { |
361 |
emake DESTDIR="${D}" install || die "make install failed" |
362 |
|
363 |
dodoc AUTHORS MAINTAINERS HACKING THANKS NEWS README \ |
364 |
doc/fortunes.txt doc/intf-cdda.txt doc/intf-vcd.txt |
365 |
|
366 |
rm -rf "${D}/usr/share/doc/vlc" \ |
367 |
"${D}"/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico} |
368 |
|
369 |
if use nsplugin; then |
370 |
dodir "/usr/$(get_libdir)/${PLUGINS_DIR}" |
371 |
mv "${D}"/usr/$(get_libdir)/mozilla/plugins/* \ |
372 |
"${D}/usr/$(get_libdir)/${PLUGINS_DIR}/" |
373 |
fi |
374 |
|
375 |
use skins || rm -rf "${D}/usr/share/vlc/skins2" |
376 |
|
377 |
for res in 16 32 48; do |
378 |
insinto /usr/share/icons/hicolor/${res}x${res}/apps/ |
379 |
newins "${S}"/share/vlc${res}x${res}.png vlc.png |
380 |
done |
381 |
|
382 |
use wxwindows || rm "${D}/usr/share/applications/vlc.desktop" |
383 |
} |
384 |
|
385 |
|
386 |
|
387 |
-- |
388 |
gentoo-commits@g.o mailing list |