ports/contrib (3.1): vlc: make it work with ffmpeg 2.4.2
commit 045ee9fbbc65ef3e3fc5cbcd72b6a11ca5c4befa Author: Thomas Penteker <tek@serverop.de> Date: Thu Oct 23 22:35:48 2014 +0200 vlc: make it work with ffmpeg 2.4.2 diff --git a/vlc/Pkgfile b/vlc/Pkgfile index 64ba99f..a2c1cea 100644 --- a/vlc/Pkgfile +++ b/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....) 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
participants (1)
-
crux@crux.nu