2010-09-01 23:14:26 +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: Matt Housh, jaeger at morpheus dot net
|
2017-06-25 18:12:47 +10:00
|
|
|
# Depends on: libmad ffmpeg-compat qt4 libdvdnav liba52 libgcrypt
|
2010-09-01 23:14:26 +02:00
|
|
|
|
|
|
|
name=vlc
|
2017-06-25 18:12:47 +10:00
|
|
|
version=2.2.6
|
|
|
|
release=1
|
2012-03-05 18:05:47 +01:00
|
|
|
source=(http://download.videolan.org/pub/videolan/$name/$version/$name-$version.tar.xz)
|
2010-09-01 23:14:26 +02:00
|
|
|
|
|
|
|
build() {
|
2014-10-23 22:35:48 +02:00
|
|
|
cd $name-$version
|
2011-01-23 14:24:58 +01:00
|
|
|
|
2014-10-23 22:35:48 +02:00
|
|
|
# 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
|
|
|
|
|
2016-06-15 17:26:11 +10:00
|
|
|
PKG_CONFIG_PATH="/usr/lib/ffmpeg-compat/pkgconfig" \
|
2014-10-23 22:35:48 +02:00
|
|
|
./configure --prefix=/usr \
|
2011-02-02 21:35:40 +01:00
|
|
|
--mandir=/usr/man \
|
2014-10-23 22:35:48 +02:00
|
|
|
--disable-nls \
|
|
|
|
--disable-fribidi \
|
|
|
|
--disable-httpd \
|
|
|
|
--disable-dbus \
|
|
|
|
--enable-alsa \
|
|
|
|
--disable-remoteosd \
|
|
|
|
--disable-lua
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2011-02-02 21:35:40 +01:00
|
|
|
rm -rf $PKG/usr/share/doc
|
2014-05-13 10:38:59 +02:00
|
|
|
|
|
|
|
# fix desktop file
|
|
|
|
sed -i 's/--started-from-file//g' $PKG/usr/share/applications/vlc.desktop
|
2010-09-01 23:14:26 +02:00
|
|
|
}
|