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
|
2007-11-18 10:59:19 +11:00
|
|
|
# Depends on: ffmpeg gtk libmad libmng libmpcdec speex vcdimager wavpack xorg-libxvmc xorg-libxi
|
2006-11-21 22:03:23 +11:00
|
|
|
|
|
|
|
name=xine-lib
|
2008-10-09 01:44:15 +11:00
|
|
|
version=1.1.15
|
2007-11-04 07:27:22 +11:00
|
|
|
release=1
|
2007-02-09 09:42:32 +11:00
|
|
|
source=(http://dl.sourceforge.net/sourceforge/xine/xine-lib-$version.tar.bz2)
|
2006-11-21 22:03:23 +11:00
|
|
|
|
|
|
|
build() {
|
2007-02-09 09:42:32 +11:00
|
|
|
cd xine-lib-$version
|
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
|
|
|
|
}
|
|
|
|
|