# Description: The cross-platform media player and streaming server # URL: http://www.videolan.org/vlc/ # Maintainer: Thomas Penteker, tek at serverop dot de # Packager: Matt Housh, jaeger at morpheus dot net # Depends on: libmad ffmpeg qt4 libdvdnav libgcrypt alsa-lib liba52 # Nice to have:opus libvorbis x264 libogg libmtp libtheora flac name=vlc version=3.0.7 release=1 source=(http://download.videolan.org/pub/videolan/$name/$version/$name-$version.tar.xz) build() { cd $name-$version # 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 #PKG_CONFIG_PATH="/usr/lib/ffmpeg-compat/pkgconfig" \ BUILDCC="gcc -std=gnu11" \ ./configure --prefix=/usr \ --mandir=/usr/man \ --disable-nls \ --disable-fribidi \ --disable-dbus \ --disable-lua \ --enable-alsa #make V=1 ./compile make DESTDIR=$PKG install rm -rf $PKG/usr/share/doc # fix desktop file sed -i 's/--started-from-file//g' $PKG/usr/share/applications/vlc.desktop }