summaryrefslogtreecommitdiff
path: root/xine-lib/Pkgfile
blob: 2e9dac39b5ea5b43c6f7642a4b85f152c5f0000a (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 speex vcdimager wavpack xorg-libxvmc xorg-libxi xorg-xvinfo
    6 
    7 name=xine-lib
    8 version=1.1.16.1
    9 release=1
   10 source=(http://dl.sourceforge.net/sourceforge/xine/$name-$version.tar.bz2)
   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-antialiasing \
   23 		--enable-ipv6 \
   24 		--enable-modplug \
   25 		--with-libflac \
   26 		--with-wavpack \
   27 		--with-external-libmpcdec \
   28 		--with-external-libmad \
   29 		--with-external-ffmpeg
   30 
   31 	make
   32 	make DESTDIR=$PKG install
   33 	chmod a-x $PKG/usr/lib/*.so
   34 	find $PKG/usr/lib/xine/plugins/ -type f -name '*.so' -exec chmod a-x {} \;
   35 	rm -r $PKG/usr/share/doc
   36 }

Generated by cgit