summaryrefslogtreecommitdiff
path: root/vlc/Pkgfile
blob: 06f6a0dc43ce310c3ed731f7e8d879fe8eda98a2 (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 # Packager: Matt Housh, jaeger at morpheus dot net
    5 # Depends on: libmad, ffmpeg-compat, qt4, libdvdnav, liba52, libgcrypt
    6 
    7 name=vlc
    8 version=2.2.1
    9 release=2
   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   ./configure --prefix=/usr \
   24     --mandir=/usr/man \
   25     --disable-nls \
   26     --disable-fribidi \
   27     --disable-httpd \
   28     --disable-dbus \
   29     --enable-alsa \
   30     --disable-remoteosd \
   31     --disable-lua
   32   make
   33   make DESTDIR=$PKG install
   34   rm -rf $PKG/usr/share/doc
   35 
   36   # fix desktop file
   37   sed -i 's/--started-from-file//g' $PKG/usr/share/applications/vlc.desktop
   38 }

Generated by cgit