wok-current diff mplayer-svn/receipt @ rev 3337

Fix: mplayer-svn compile with gcc44, smplayer, gnome-mplayer work (but still no skin)
author Rohit Joshi <jozee@slitaz.org>
date Wed Jun 10 16:38:49 2009 +0000 (2009-06-10)
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 Jun 10 16:38:49 2009 +0000
     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 +