summaryrefslogtreecommitdiff
path: root/xine-lib/Pkgfile
blob: 365478f33b63532ba69548cd160cb01986fc1b21 (plain)
    1 # Description: A free, GPL-licensed video player for UNIX-like systems.
    2 # URL: http://xine.sourceforge.net
    3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
    4 # Packager: sten, nick dot steeves at shaw dot ca
    5 # Depends on: ffmpeg gtk libmad libmng libmpcdec vcdimager wavpack xorg-libxi xorg-libxvmc xorg-xvinfo libdvdnav libmodplug libvdpau liba52 libbluray libfame libdca
    6 
    7 name=xine-lib
    8 version=1.2.0
    9 release=1
   10 source=(http://downloads.sourceforge.net/project/xine/$name/$version/$name-$version.tar.xz)
   11 
   12 build() {
   13 	cd $name-$version
   14 
   15 	./configure \
   16 		CFLAGS='' \
   17 		CXXFLAGS='' \
   18 		--prefix=/usr \
   19 		--mandir=/usr/man \
   20 		--disable-nls \
   21 		--disable-oss \
   22 		--enable-bluray \
   23 		--enable-antialiasing \
   24 		--enable-ipv6 \
   25 		--enable-modplug \
   26 		--with-wavpack \
   27 		--with-external-dvdnav \
   28 		--disable-dependency-tracking
   29 
   30 	make
   31 	make DESTDIR=$PKG install
   32 	chmod a-x $PKG/usr/lib/*.so
   33 	find $PKG/usr/lib/xine/plugins/ -type f -name '*.so' -exec chmod a-x {} \;
   34 	rm -r $PKG/usr/share/doc
   35 }

Generated by cgit