2010-09-01 23:14:26 +02:00
|
|
|
# Description: The cross-platform media player and streaming server
|
2018-10-08 21:15:16 +02:00
|
|
|
# URL: http://www.videolan.org/vlc/
|
2010-09-01 23:14:26 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2018-10-08 21:15:16 +02:00
|
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
2019-09-18 01:13:36 +02:00
|
|
|
# Depends on: libmad ffmpeg qt4 libdvdnav libgcrypt alsa-lib liba52 xorg-libxcb
|
2018-10-08 22:07:46 +02:00
|
|
|
# Nice to have:opus libvorbis x264 libogg libmtp libtheora flac
|
2010-09-01 23:14:26 +02:00
|
|
|
|
|
|
|
name=vlc
|
2019-09-18 01:13:36 +02:00
|
|
|
version=3.0.8
|
2017-06-25 18:12:47 +10:00
|
|
|
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
|
2019-06-09 03:19:26 +02:00
|
|
|
#sed -i 's/ 56/ 57/g' configure.ac
|
2014-10-23 22:35:48 +02:00
|
|
|
autoreconf -fi
|
|
|
|
|
|
|
|
# initialize avformat structure
|
2019-06-09 03:19:26 +02:00
|
|
|
#sed -i 's/AVProbeData *pd;/AVProbeData pd={};/g' modules/demux/avformat/demux.c
|
2014-10-23 22:35:48 +02:00
|
|
|
|
2019-06-09 03:19:26 +02:00
|
|
|
#PKG_CONFIG_PATH="/usr/lib/ffmpeg-compat/pkgconfig" \
|
|
|
|
BUILDCC="gcc -std=gnu11" \
|
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-dbus \
|
2018-09-09 01:02:17 +02:00
|
|
|
--disable-lua \
|
2018-10-08 22:07:46 +02:00
|
|
|
--enable-alsa
|
|
|
|
|
2019-06-09 03:19:26 +02:00
|
|
|
#make
|
|
|
|
V=1 ./compile
|
2014-10-23 22:35:48 +02:00
|
|
|
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
|
|
|
}
|