36 lines
1001 B
Plaintext
36 lines
1001 B
Plaintext
# Description: A free, GPL-licensed video player for UNIX-like systems.
|
|
# URL: http://xine.sourceforge.net
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: sten, nick dot steeves at shaw dot ca
|
|
# Depends on: ffmpeg gtk libmad libmng libmpcdec vcdimager wavpack xorg-libxi xorg-libxvmc xorg-xvinfo libdvdnav libmodplug libvdpau liba52 libbluray libfame libdca
|
|
|
|
name=xine-lib
|
|
version=1.2.1
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/project/xine/$name/$version/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
CFLAGS='' \
|
|
CXXFLAGS='' \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--disable-nls \
|
|
--disable-oss \
|
|
--enable-bluray \
|
|
--enable-antialiasing \
|
|
--enable-ipv6 \
|
|
--enable-modplug \
|
|
--with-wavpack \
|
|
--with-external-dvdnav \
|
|
--disable-dependency-tracking
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
chmod a-x $PKG/usr/lib/*.so
|
|
find $PKG/usr/lib/xine/plugins/ -type f -name '*.so' -exec chmod a-x {} \;
|
|
rm -r $PKG/usr/share/doc
|
|
}
|