summaryrefslogtreecommitdiff
path: root/vlc/Pkgfile
blob: f9e1eae3be9a3fb8e369d6bf81b41c7e9a71d263 (plain)
    1 # Description: The cross-platform media player and streaming server
    2 # URL:         http://www.videolan.org/vlc/
    3 # Maintainer:  Thomas Penteker, tek at serverop dot de
    4 # Depends on:  libmad ffmpeg qt4 libdvdnav libgcrypt alsa-lib liba52 xorg-libxcb
    5 # Nice to have:opus libvorbis x264 libogg libmtp libtheora flac
    6 
    7 name=vlc
    8 version=3.0.8
    9 release=1
   10 source=(http://download.videolan.org/pub/videolan/$name/$version/$name-$version.tar.xz)
   11 
   12 build() {
   13   cd $name-$version
   14 
   15   # allow building with new avcodec
   16   #sed -i 's/ 56/ 57/g' configure.ac
   17   autoreconf -fi
   18 
   19   # initialize avformat structure
   20   #sed -i 's/AVProbeData *pd;/AVProbeData pd={};/g' modules/demux/avformat/demux.c
   21 
   22   #PKG_CONFIG_PATH="/usr/lib/ffmpeg-compat/pkgconfig" \
   23   BUILDCC="gcc -std=gnu11" \
   24   ./configure --prefix=/usr \
   25     --mandir=/usr/man \
   26     --disable-nls \
   27     --disable-fribidi \
   28     --disable-dbus \
   29     --disable-lua \
   30     --enable-alsa
   31 
   32   #make
   33   V=1 ./compile
   34   make DESTDIR=$PKG install
   35   rm -rf $PKG/usr/share/doc
   36 
   37   # fix desktop file
   38   sed -i 's/--started-from-file//g' $PKG/usr/share/applications/vlc.desktop
   39 }

Generated by cgit