summaryrefslogtreecommitdiff
path: root/xine-lib/Pkgfile
blob: 0d902df70b826a208504be196c2a8173a5c131db (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
    6 
    7 name=xine-lib
    8 version=1.1.15
    9 release=2
   10 source=(http://dl.sourceforge.net/sourceforge/xine/$name-$version.tar.bz2
   11 	$name-1.1.15-buffer.h_ansi.patch)
   12 
   13 build() {
   14 	cd $name-$version
   15 
   16 	patch -p 1 -i $SRC/$name-1.1.15-buffer.h_ansi.patch
   17 	
   18 	./configure \
   19 		CFLAGS='' \
   20 		CXXFLAGS='' \
   21 		--prefix=/usr \
   22 		--mandir=/usr/man \
   23 		--disable-nls \
   24 		--disable-oss \
   25 		--enable-antialiasing \
   26 		--enable-ipv6 \
   27 		--enable-modplug \
   28 		--with-libflac \
   29 		--with-wavpack \
   30 		--with-external-libmpcdec \
   31 		--with-external-libmad \
   32 		--with-external-ffmpeg
   33 
   34 	make
   35 	make DESTDIR=$PKG install
   36 	chmod a-x $PKG/usr/lib/*.so
   37 	find $PKG/usr/lib/xine/plugins/ -type f -name '*.so' -exec chmod a-x {} \;
   38 	rm -r $PKG/usr/share/doc
   39 }

Generated by cgit