contrib/vlc/Pkgfile

31 lines
778 B
Plaintext
Raw Normal View History

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
2011-02-18 21:56:15 +01:00
# Depends on: libmad, ffmpeg, qt4, libdvdnav, liba52, libgcrypt
2010-09-01 23:14:26 +02:00
name=vlc
2014-07-08 19:24:11 +02:00
version=2.1.5
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() {
cd $name-$version
2010-09-01 23:14:26 +02:00
./configure --prefix=/usr \
2011-02-02 21:35:40 +01:00
--mandir=/usr/man \
2010-09-01 23:14:26 +02:00
--disable-nls \
--disable-fribidi \
--disable-httpd \
--disable-dbus \
--enable-alsa \
--disable-remoteosd \
2010-09-21 12:32:13 +02:00
--disable-lua
2010-09-01 23:14:26 +02:00
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
}