forked from ports/contrib
vlc: make it work with ffmpeg 2.4.2
This commit is contained in:
parent
a671dbd6a5
commit
045ee9fbbc
32
vlc/Pkgfile
32
vlc/Pkgfile
@ -6,23 +6,31 @@
|
||||
|
||||
name=vlc
|
||||
version=2.1.5
|
||||
release=1
|
||||
release=2
|
||||
source=(http://download.videolan.org/pub/videolan/$name/$version/$name-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
cd $name-$version
|
||||
|
||||
./configure --prefix=/usr \
|
||||
# allow building with new avcodec
|
||||
sed -i 's/ 56/ 57/g' configure.ac
|
||||
autoreconf -fi
|
||||
|
||||
# initialize avformat structure
|
||||
sed -i 's/AVProbeData *pd;/AVProbeData pd={};/g' modules/demux/avformat/demux.c
|
||||
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--disable-nls \
|
||||
--disable-fribidi \
|
||||
--disable-httpd \
|
||||
--disable-dbus \
|
||||
--enable-alsa \
|
||||
--disable-remoteosd \
|
||||
--disable-lua
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
--disable-nls \
|
||||
--disable-fribidi \
|
||||
--disable-httpd \
|
||||
--disable-dbus \
|
||||
--enable-alsa \
|
||||
--disable-remoteosd \
|
||||
--disable-lua
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -rf $PKG/usr/share/doc
|
||||
|
||||
# fix desktop file
|
||||
|
Loading…
x
Reference in New Issue
Block a user