wok diff mplayer-svn/receipt @ rev 4009

pptpclient-extra: MPPE could be in kernel
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 02 18:27:16 2009 +0200 (2009-09-02)
parents 089faf1045bc
children cb468df31fdb
line diff
     1.1 --- a/mplayer-svn/receipt	Thu May 07 07:54:25 2009 +0200
     1.2 +++ b/mplayer-svn/receipt	Wed Sep 02 18:27:16 2009 +0200
     1.3 @@ -26,6 +26,18 @@
     1.4  	[ -f mplayer/configure ] || svn checkout -r $VERSION \
     1.5  		svn://svn.mplayerhq.hu/mplayer/trunk mplayer 
     1.6  	cd mplayer
     1.7 +	
     1.8 +	   while read file; do
     1.9 +    	[ -f done.$file ] && continue
    1.10 +    	echo "Apply $file..."
    1.11 +		cp ../../stuff/$PACKAGE-$VERSION-$file .
    1.12 +    	patch -p0 < $PACKAGE-$VERSION-$file || return 1
    1.13 +	touch done.$file
    1.14 +    done <<EOT
    1.15 +liba52-gcc44.u
    1.16 +EOT
    1.17 +	#patch -Np0 < $PACKAGE-$VERSION-liba52_gcc44.u || return 1 
    1.18 +	
    1.19  	./configure \
    1.20  		--prefix=/usr \
    1.21  		--confdir=/etc/mplayer \
    1.22 @@ -48,7 +60,8 @@
    1.23  		--disable-fribidi --target=i386-linux --disable-libavutil_a \
    1.24  		--disable-tv --disable-tv-teletext --disable-radio-v4l2 --disable-v4l2 \
    1.25  		--disable-musepack --disable-dvdnav --disable-esd --disable-mga \
    1.26 -		--disable-libamr_nb --disable-lirc --disable-nas --enable-gui &&
    1.27 +		--disable-libamr_nb --disable-lirc --disable-nas --disable-vdpau \
    1.28 +		--enable-gui --enable-freetype &&
    1.29  	make &&
    1.30  	make DESTDIR=$PWD/../_pkg install
    1.31  }
    1.32 @@ -72,3 +85,5 @@
    1.33  	cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf
    1.34  }
    1.35  
    1.36 +
    1.37 +