milis/talimatname/genel/vlc/talimat

38 lines
984 B
Plaintext
Raw Normal View History

2016-03-30 15:50:34 +02:00
# Description: The cross-platform media player and streaming server
# URL: http://www.videolan.org/vlc/
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: milisarge@gmail.com
# Depends on: libmad, ffmpeg, qt4, libdvdnav, liba52, libgcrypt
2016-02-24 01:27:23 +01:00
name=vlc
version=2.2.1
2016-03-30 15:50:34 +02:00
release=1
source=(http://download.videolan.org/pub/videolan/$name/$version/$name-$version.tar.xz)
2016-02-24 01:27:23 +01:00
build() {
2016-03-30 15:50:34 +02:00
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
./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
rm -rf $PKG/usr/share/doc
# fix desktop file
sed -i 's/--started-from-file//g' $PKG/usr/share/applications/vlc.desktop
}