2006-11-21 22:03:23 +11:00
|
|
|
# Description: A free, GPL-licensed video player for UNIX-like systems.
|
|
|
|
# URL: http://xine.sourceforge.net
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2006-11-21 22:03:23 +11:00
|
|
|
# Packager: sten, nick dot steeves at shaw dot ca
|
2009-01-21 17:38:40 +11:00
|
|
|
# Depends on: ffmpeg gtk libmad libmng libmpcdec speex vcdimager wavpack xorg-libxvmc xorg-libxi xorg-xvinfo
|
2006-11-21 22:03:23 +11:00
|
|
|
|
|
|
|
name=xine-lib
|
2010-07-27 00:52:11 +10:00
|
|
|
version=1.1.19
|
2011-03-13 13:18:34 +11:00
|
|
|
release=2
|
|
|
|
source=(http://downloads.sourceforge.net/project/xine/$name/$version/$name-$version.tar.xz
|
|
|
|
xine-lib-1.1.19-xvmc.patch)
|
2006-11-21 22:03:23 +11:00
|
|
|
|
|
|
|
build() {
|
2008-10-28 10:17:54 +11:00
|
|
|
cd $name-$version
|
|
|
|
|
2011-03-13 13:18:34 +11:00
|
|
|
patch -p 0 -i $SRC/xine-lib-1.1.19-xvmc.patch
|
|
|
|
|
2006-11-21 22:03:23 +11:00
|
|
|
./configure \
|
2007-04-19 00:59:27 +10:00
|
|
|
CFLAGS='' \
|
|
|
|
CXXFLAGS='' \
|
2006-11-21 22:03:23 +11:00
|
|
|
--prefix=/usr \
|
2006-12-06 11:20:15 +11:00
|
|
|
--mandir=/usr/man \
|
2007-04-11 03:14:45 +10:00
|
|
|
--disable-nls \
|
|
|
|
--disable-oss \
|
2007-02-09 09:42:32 +11:00
|
|
|
--enable-antialiasing \
|
2007-04-11 03:14:45 +10:00
|
|
|
--enable-ipv6 \
|
|
|
|
--enable-modplug \
|
2007-02-09 09:42:32 +11:00
|
|
|
--with-libflac \
|
2007-04-11 03:14:45 +10:00
|
|
|
--with-wavpack \
|
2007-02-09 09:42:32 +11:00
|
|
|
--with-external-libmpcdec \
|
2007-04-19 00:59:27 +10:00
|
|
|
--with-external-libmad \
|
|
|
|
--with-external-ffmpeg
|
2007-04-11 03:14:45 +10:00
|
|
|
|
2007-02-09 09:42:32 +11:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2008-04-15 19:04:18 +10:00
|
|
|
chmod a-x $PKG/usr/lib/*.so
|
|
|
|
find $PKG/usr/lib/xine/plugins/ -type f -name '*.so' -exec chmod a-x {} \;
|
2006-11-21 22:03:23 +11:00
|
|
|
rm -r $PKG/usr/share/doc
|
|
|
|
}
|