1 |
aballier 08/08/22 09:06:12 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: vlc-0.8.6i-r1.ebuild |
5 |
Log: |
6 |
Import fixes from upstream for tta fixes, bug #235238 |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.370 media-video/vlc/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?rev=1.370&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?rev=1.370&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/ChangeLog?r1=1.369&r2=1.370 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v |
19 |
retrieving revision 1.369 |
20 |
retrieving revision 1.370 |
21 |
diff -u -r1.369 -r1.370 |
22 |
--- ChangeLog 6 Aug 2008 14:19:08 -0000 1.369 |
23 |
+++ ChangeLog 22 Aug 2008 09:06:12 -0000 1.370 |
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.369 2008/08/06 14:19:08 aballier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.370 2008/08/22 09:06:12 aballier Exp $ |
29 |
+ |
30 |
+*vlc-0.8.6i-r1 (22 Aug 2008) |
31 |
+ |
32 |
+ 22 Aug 2008; Alexis Ballier <aballier@g.o> +vlc-0.8.6i-r1.ebuild: |
33 |
+ Import fixes from upstream for tta fixes, bug #235238 |
34 |
|
35 |
06 Aug 2008; Alexis Ballier <aballier@g.o> vlc-0.9.0_beta3.ebuild: |
36 |
enable galaktos visualisation plugin with opengl |
37 |
|
38 |
|
39 |
|
40 |
1.1 media-video/vlc/vlc-0.8.6i-r1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/vlc-0.8.6i-r1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/vlc-0.8.6i-r1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: vlc-0.8.6i-r1.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.8.6i-r1.ebuild,v 1.1 2008/08/22 09:06:12 aballier Exp $ |
50 |
|
51 |
WANT_AUTOMAKE=latest |
52 |
WANT_AUTOCONF=latest |
53 |
|
54 |
inherit eutils wxwidgets multilib autotools toolchain-funcs gnome2 nsplugins |
55 |
|
56 |
MY_PV="${PV/_/-}" |
57 |
MY_PV="${MY_PV/-beta/-test}" |
58 |
MY_P="${PN}-${MY_PV}" |
59 |
|
60 |
PATCHLEVEL="60" |
61 |
DESCRIPTION="VLC media player - Video player and streamer" |
62 |
HOMEPAGE="http://www.videolan.org/vlc/" |
63 |
|
64 |
if [[ "${P}" == *_p* ]]; then # Snapshots |
65 |
SRC_URI="mirror://gentoo/${P}.tar.bz2" |
66 |
MY_P="${P}" |
67 |
elif [[ "${MY_P}" == "${P}" ]]; then |
68 |
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2" |
69 |
else |
70 |
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.bz2" |
71 |
fi |
72 |
|
73 |
SRC_URI="${SRC_URI} |
74 |
mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" |
75 |
|
76 |
LICENSE="GPL-2" |
77 |
SLOT="0" |
78 |
|
79 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
80 |
IUSE="a52 3dfx debug altivec httpd vlm gnutls live v4l cdda ogg matroska |
81 |
dvb dvd vcd dts flac mpeg vorbis theora X opengl truetype svg fbcon svga |
82 |
oss aalib ggi libcaca esd arts alsa wxwindows ncurses xosd lirc stream |
83 |
mp3 xv bidi sdl sdl-image png xml samba daap corba modplug speex shout rtsp |
84 |
win32codecs skins hal avahi xinerama cddb directfb upnp nsplugin seamonkey |
85 |
optimisememory libnotify jack musepack x264 dc1394 gnome xulrunner" |
86 |
|
87 |
RDEPEND=" |
88 |
>=media-video/ffmpeg-0.4.9_p20050226-r1 |
89 |
<media-video/ffmpeg-0.4.9_p20070616-r20 |
90 |
!=media-video/ffmpeg-0.4.9_p20070616-r1 |
91 |
!=media-video/ffmpeg-0.4.9_p20070616-r2 |
92 |
cdda? ( >=dev-libs/libcdio-0.71 |
93 |
cddb? ( >=media-libs/libcddb-1.2.0 ) ) |
94 |
live? ( >=media-plugins/live-2005.01.29 ) |
95 |
dvd? ( media-libs/libdvdread |
96 |
media-libs/libdvdcss |
97 |
>=media-libs/libdvdnav-0.1.9 |
98 |
media-libs/libdvdplay ) |
99 |
esd? ( media-sound/esound ) |
100 |
gnome? ( gnome-base/gnome-vfs ) |
101 |
ogg? ( media-libs/libogg ) |
102 |
matroska? ( |
103 |
>=dev-libs/libebml-0.7.6 |
104 |
>=media-libs/libmatroska-0.8.0 ) |
105 |
mp3? ( media-libs/libmad ) |
106 |
a52? ( >=media-libs/a52dec-0.7.4-r3 ) |
107 |
dts? ( media-libs/libdca ) |
108 |
flac? ( media-libs/libogg |
109 |
>=media-libs/flac-1.1.2 ) |
110 |
mpeg? ( >=media-libs/libmpeg2-0.3.2 ) |
111 |
vorbis? ( media-libs/libvorbis ) |
112 |
theora? ( media-libs/libtheora ) |
113 |
truetype? ( media-libs/freetype |
114 |
media-fonts/ttf-bitstream-vera ) |
115 |
svga? ( media-libs/svgalib ) |
116 |
ggi? ( media-libs/libggi ) |
117 |
aalib? ( media-libs/aalib ) |
118 |
libcaca? ( media-libs/libcaca ) |
119 |
arts? ( kde-base/arts ) |
120 |
alsa? ( media-libs/alsa-lib ) |
121 |
wxwindows? ( =x11-libs/wxGTK-2.6* ) |
122 |
skins? ( =x11-libs/wxGTK-2.6* |
123 |
media-libs/freetype |
124 |
media-fonts/ttf-bitstream-vera ) |
125 |
ncurses? ( sys-libs/ncurses ) |
126 |
xosd? ( x11-libs/xosd ) |
127 |
lirc? ( app-misc/lirc ) |
128 |
3dfx? ( media-libs/glide-v3 ) |
129 |
bidi? ( >=dev-libs/fribidi-0.10.4 ) |
130 |
gnutls? ( >=net-libs/gnutls-1.2.9 ) |
131 |
sys-libs/zlib |
132 |
png? ( media-libs/libpng ) |
133 |
media-libs/libdvbpsi |
134 |
sdl? ( >=media-libs/libsdl-1.2.8 |
135 |
sdl-image? ( media-libs/sdl-image ) ) |
136 |
xml? ( dev-libs/libxml2 ) |
137 |
samba? ( net-fs/samba ) |
138 |
vcd? ( >=dev-libs/libcdio-0.72 |
139 |
>=media-video/vcdimager-0.7.21 ) |
140 |
daap? ( >=media-libs/libopendaap-0.3.0 ) |
141 |
corba? ( >=gnome-base/orbit-2.8.0 |
142 |
>=dev-libs/glib-2.3.2 ) |
143 |
modplug? ( media-libs/libmodplug ) |
144 |
speex? ( media-libs/speex ) |
145 |
svg? ( >=gnome-base/librsvg-2.5.0 ) |
146 |
shout? ( media-libs/libshout ) |
147 |
win32codecs? ( media-libs/win32codecs ) |
148 |
hal? ( sys-apps/hal ) |
149 |
avahi? ( >=net-dns/avahi-0.6 ) |
150 |
X? ( |
151 |
x11-libs/libX11 |
152 |
x11-libs/libXext |
153 |
xv? ( x11-libs/libXv ) |
154 |
xinerama? ( x11-libs/libXinerama ) |
155 |
opengl? ( virtual/opengl ) |
156 |
) |
157 |
directfb? ( dev-libs/DirectFB ) |
158 |
upnp? ( net-libs/libupnp ) |
159 |
nsplugin? ( |
160 |
xulrunner? ( =net-libs/xulrunner-1.8* ) |
161 |
!xulrunner? ( seamonkey? ( =www-client/seamonkey-1* ) ) |
162 |
!xulrunner? ( !seamonkey? ( =www-client/mozilla-firefox-2* ) ) |
163 |
) |
164 |
libnotify? ( x11-libs/libnotify ) |
165 |
musepack? ( media-libs/libmpcdec ) |
166 |
x264? ( media-libs/x264 ) |
167 |
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 ) |
168 |
dc1394? ( sys-libs/libraw1394 |
169 |
<media-libs/libdc1394-1.9.99 )" |
170 |
|
171 |
DEPEND="${RDEPEND} |
172 |
v4l? ( sys-kernel/linux-headers ) |
173 |
dvb? ( sys-kernel/linux-headers ) |
174 |
X? ( xinerama? ( x11-proto/xineramaproto ) ) |
175 |
dev-util/pkgconfig" |
176 |
|
177 |
S="${WORKDIR}/${MY_P}" |
178 |
|
179 |
pkg_setup() { |
180 |
if use wxwindows || use skins; then |
181 |
WX_GTK_VER="2.6" |
182 |
need-wxwidgets unicode || die "You need to install wxGTK with unicode support." |
183 |
fi |
184 |
|
185 |
if use skins && ! use truetype; then |
186 |
ewarn "Trying to build with skins support but without truetype." |
187 |
ewarn "Enabling truetype." |
188 |
fi |
189 |
if use skins && ! use wxwindows; then |
190 |
ewarn "Trying to build with skins support but without wxwindows." |
191 |
ewarn "Enabling wxwindows." |
192 |
fi |
193 |
} |
194 |
|
195 |
src_unpack() { |
196 |
unpack ${A} |
197 |
cd "${S}" |
198 |
|
199 |
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" |
200 |
AT_M4DIR="m4" eautoreconf |
201 |
} |
202 |
|
203 |
src_compile () { |
204 |
local XPIDL="" |
205 |
local MOZILLA_CONFIG="" |
206 |
|
207 |
use vlm && \ |
208 |
myconf="${myconf} --enable-vlm --enable-sout" || \ |
209 |
myconf="${myconf} --disable-vlm" |
210 |
|
211 |
if use nsplugin; then |
212 |
if use xulrunner; then |
213 |
XPIDL=/usr/$(get_libdir)/xulrunner |
214 |
MOZILLA_CONFIG=/usr/bin/xulrunner-config |
215 |
elif use seamonkey; then |
216 |
XPIDL=/usr/$(get_libdir)/seamonkey |
217 |
MOZILLA_CONFIG=/usr/$(get_libdir)/seamonkey/seamonkey-config |
218 |
else |
219 |
XPIDL=/usr/$(get_libdir)/mozilla-firefox |
220 |
MOZILLA_CONFIG=/usr/$(get_libdir)/mozilla-firefox/firefox-config |
221 |
fi |
222 |
fi |
223 |
|
224 |
if use live && ! has_version '>=media-plugins/live-2006.12.08'; then |
225 |
myconf="${myconf} --enable-live555 --with-live555-tree=/usr/$(get_libdir)/live" |
226 |
else |
227 |
myconf="${myconf} $(use_enable live live555)" |
228 |
fi |
229 |
|
230 |
if use truetype || use skins; then |
231 |
myconf="${myconf} --enable-freetype" |
232 |
else |
233 |
myconf="${myconf} --disable-freetype" |
234 |
fi |
235 |
|
236 |
if use wxwindows || use skins; then |
237 |
myconf="${myconf} --enable-wxwidgets" |
238 |
else |
239 |
myconf="${myconf} --disable-wxwidgets" |
240 |
fi |
241 |
|
242 |
econf \ |
243 |
$(use_enable altivec) \ |
244 |
$(use_enable stream sout) \ |
245 |
$(use_enable httpd) \ |
246 |
$(use_enable gnutls) \ |
247 |
$(use_enable v4l) \ |
248 |
$(use_enable cdda) $(use_enable cdda cddax)\ |
249 |
$(use_enable cddb libcddb) \ |
250 |
$(use_enable vcd) $(use_enable vcd vcdx) \ |
251 |
$(use_enable dvb) $(use_enable dvb pvr) \ |
252 |
$(use_enable ogg) \ |
253 |
$(use_enable matroska mkv) \ |
254 |
$(use_enable flac) \ |
255 |
$(use_enable vorbis) \ |
256 |
$(use_enable theora) \ |
257 |
$(use_enable X x11) \ |
258 |
$(use_enable xv xvideo) \ |
259 |
$(use_enable xinerama) \ |
260 |
$(use_enable opengl glx) $(use_enable opengl) \ |
261 |
$(use_enable bidi fribidi) \ |
262 |
$(use_enable dvd dvdread) $(use_enable dvd dvdplay) $(use_enable dvd dvdnav) \ |
263 |
$(use_enable fbcon fb) \ |
264 |
$(use_enable svga svgalib) \ |
265 |
$(use_enable 3dfx glide) \ |
266 |
$(use_enable aalib aa) \ |
267 |
$(use_enable libcaca caca) \ |
268 |
$(use_enable oss) \ |
269 |
$(use_enable esd) \ |
270 |
$(use_enable arts) \ |
271 |
$(use_enable alsa) \ |
272 |
$(use_enable ncurses) \ |
273 |
$(use_enable gnome gnomevfs) \ |
274 |
$(use_enable xosd) \ |
275 |
$(use_enable lirc) \ |
276 |
$(use_enable mp3 mad) \ |
277 |
$(use_enable a52) \ |
278 |
$(use_enable dts) \ |
279 |
$(use_enable mpeg libmpeg2) \ |
280 |
$(use_enable ggi) \ |
281 |
$(use_enable 3dfx glide) \ |
282 |
$(use_enable sdl) \ |
283 |
$(use_enable sdl-image) \ |
284 |
$(use_enable png) \ |
285 |
$(use_enable xml libxml2) \ |
286 |
$(use_enable samba smb) \ |
287 |
$(use_enable daap) \ |
288 |
$(use_enable corba) \ |
289 |
$(use_enable modplug mod) \ |
290 |
$(use_enable speex) \ |
291 |
$(use_enable shout) \ |
292 |
$(use_enable rtsp) $(use_enable rtsp realrtsp) \ |
293 |
$(use_enable win32codecs loader) \ |
294 |
$(use_enable skins skins2) \ |
295 |
$(use_enable hal) \ |
296 |
$(use_enable avahi bonjour) \ |
297 |
$(use_enable upnp) \ |
298 |
$(use_enable optimisememory optimize-memory) \ |
299 |
$(use_enable libnotify notify) \ |
300 |
$(use_enable jack) \ |
301 |
$(use_enable musepack mpc) \ |
302 |
$(use_enable x264) \ |
303 |
$(use_enable dc1394) \ |
304 |
$(use_enable directfb) \ |
305 |
--enable-ffmpeg \ |
306 |
--disable-faad \ |
307 |
--disable-dv \ |
308 |
--disable-libvc1 \ |
309 |
--disable-snapshot \ |
310 |
--disable-growl \ |
311 |
--disable-pth \ |
312 |
--disable-portaudio \ |
313 |
--disable-libtar \ |
314 |
--disable-optimizations \ |
315 |
--enable-utf8 \ |
316 |
--enable-libtool \ |
317 |
$(use_enable nsplugin mozilla) \ |
318 |
XPIDL="${XPIDL}" MOZILLA_CONFIG="${MOZILLA_CONFIG}" \ |
319 |
WX_CONFIG="${WX_CONFIG}" \ |
320 |
${myconf} || die "configuration failed" |
321 |
|
322 |
if [[ $(gcc-major-version) == 2 ]]; then |
323 |
sed -i -e s:"-fomit-frame-pointer":: vlc-config || die "-fomit-frame-pointer patching failed" |
324 |
fi |
325 |
|
326 |
emake || die "make of VLC failed" |
327 |
} |
328 |
|
329 |
src_install() { |
330 |
# First install the library, to avoid screwups during relinking.select |
331 |
emake -j1 DESTDIR="${D}" install || die "make install failed" |
332 |
|
333 |
dodoc AUTHORS MAINTAINERS HACKING THANKS NEWS README \ |
334 |
doc/fortunes.txt doc/intf-cdda.txt doc/intf-vcd.txt |
335 |
|
336 |
if use nsplugin; then |
337 |
dodir "/usr/$(get_libdir)/${PLUGINS_DIR}" |
338 |
mv "${D}"/usr/$(get_libdir)/mozilla/{components,plugins}/* \ |
339 |
"${D}/usr/$(get_libdir)/${PLUGINS_DIR}/" |
340 |
fi |
341 |
|
342 |
rm -rf "${D}/usr/share/doc/vlc" \ |
343 |
"${D}"/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico} |
344 |
|
345 |
use skins || rm -rf "${D}/usr/share/vlc/skins2" |
346 |
|
347 |
for res in 16 32 48; do |
348 |
insinto /usr/share/icons/hicolor/${res}x${res}/apps/ |
349 |
newins "${S}"/share/vlc${res}x${res}.png vlc.png |
350 |
done |
351 |
|
352 |
use wxwindows || use skins || rm "${D}/usr/share/applications/vlc.desktop" |
353 |
} |