vlc: update for new ffmpeg version.

--HG--
branch : gnome3
This commit is contained in:
Juan RP 2011-03-09 18:41:07 +01:00
parent ed0f784e2b
commit a8cd76c466

View file

@ -1,7 +1,7 @@
# Template file for 'vlc' # Template file for 'vlc'
pkgname=vlc pkgname=vlc
version=1.1.7 version=1.1.7
revision=2 revision=3
distfiles="http://download.videolan.org/pub/videolan/vlc/$version/vlc-$version.tar.bz2" distfiles="http://download.videolan.org/pub/videolan/vlc/$version/vlc-$version.tar.bz2"
build_style=gnu_configure build_style=gnu_configure
configure_args="--disable-gme --disable-libtar --enable-snapshot configure_args="--disable-gme --disable-libtar --enable-snapshot
@ -35,7 +35,6 @@ Add_dependency run libpng
Add_dependency run zlib Add_dependency run zlib
Add_dependency run SDL Add_dependency run SDL
Add_dependency run x264 Add_dependency run x264
Add_dependency run ffmpeg
Add_dependency run libXxf86vm Add_dependency run libXxf86vm
Add_dependency run libXinerama Add_dependency run libXinerama
Add_dependency run libSM Add_dependency run libSM
@ -94,6 +93,11 @@ Add_dependency run libtheora
Add_dependency run libspeex Add_dependency run libspeex
Add_dependency run libpulseaudio Add_dependency run libpulseaudio
Add_dependency run libsmbclient Add_dependency run libsmbclient
Add_dependency run libavformat
Add_dependency run libavcodec
Add_dependency run libavutil
Add_dependency run libpostproc
Add_dependency run libswscale
Add_dependency build pkg-config Add_dependency build pkg-config
Add_dependency build glibc-devel Add_dependency build glibc-devel
@ -174,11 +178,9 @@ Add_dependency full desktop-file-utils
pre_configure() pre_configure()
{ {
# hostname -s is not valid, at least in coreutils! # hostname -s is not valid, at least in coreutils!
sed -i "s|hostname -s|hostname|g" ${wrksrc}/configure || return 1 sed -i "s|hostname -s|hostname|g" configure
# Use wc(1) from coreutils
export PATH="/usr/bin:/bin:$PATH"
sed -i "s|/usr/share/fonts/truetype/freefont|/usr/share/fonts/TTF|" \ sed -i "s|/usr/share/fonts/truetype/freefont|/usr/share/fonts/TTF|" \
${wrksrc}/modules/misc/freetype.c modules/misc/freetype.c
} }
post_install() post_install()
@ -189,7 +191,7 @@ post_install()
rm -f ${DESTDIR}/usr/bin/vlc-config rm -f ${DESTDIR}/usr/bin/vlc-config
rm -f ${DESTDIR}/usr/share/man/man1/vlc-config.1 rm -f ${DESTDIR}/usr/share/man/man1/vlc-config.1
install -d ${DESTDIR}/usr/share/pixmaps || return 1 install -d ${DESTDIR}/usr/share/pixmaps
cd ${DESTDIR}/usr/share/pixmaps && \ cd ${DESTDIR}/usr/share/pixmaps && \
ln -sf ../vlc/vlc48x48.png vlc.png || return 1 ln -sf ../vlc/vlc48x48.png vlc.png
} }