1
0
forked from ports/contrib

39 lines
1.1 KiB
Plaintext
Raw Normal View History

# 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
# Packager: sten, nick dot steeves at shaw dot ca
2012-01-03 20:10:07 +11:00
# 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
2012-06-14 19:30:27 +10:00
version=1.2.2
2011-12-02 14:49:04 +11:00
release=1
2012-06-14 19:30:27 +10:00
source=(http://downloads.sourceforge.net/project/xine/$name/$version/$name-$version.tar.xz
greedy2framesse2_4regs.diff)
build() {
2008-10-28 10:17:54 +11:00
cd $name-$version
2012-06-14 19:30:27 +10:00
patch -p 1 -i $SRC/greedy2framesse2_4regs.diff
./configure \
CFLAGS='' \
CXXFLAGS='' \
--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 \
2012-01-03 20:10:07 +11:00
--enable-bluray \
2007-02-09 09:42:32 +11:00
--enable-antialiasing \
2007-04-11 03:14:45 +10:00
--enable-ipv6 \
--enable-modplug \
--with-wavpack \
2012-01-03 20:10:07 +11:00
--with-external-dvdnav \
--disable-dependency-tracking
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 {} \;
rm -r $PKG/usr/share/doc
}