wok-next rev 4460

ffmpeg: split ffplay and SDL dep + clean-up
author Christophe Lincoln <pankso@slitaz.org>
date Sun Nov 08 18:07:50 2009 +0100 (2009-11-08)
parents 985db9112012
children 2526e2816b91
files ffmpeg/receipt ffplay/receipt
line diff
     1.1 --- a/ffmpeg/receipt	Sun Nov 08 18:06:19 2009 +0100
     1.2 +++ b/ffmpeg/receipt	Sun Nov 08 18:07:50 2009 +0100
     1.3 @@ -8,18 +8,26 @@
     1.4  WEB_SITE="http://ffmpeg.org/"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.6  WGET_URL="${WEB_SITE}releases/$TARBALL"
     1.7 -DEPENDS="bzlib freetype libsdl imlib2 alsa-lib jack-audio-connection-kit zlib"
     1.8 -BUILD_DEPENDS="imlib2-dev freetype-dev libsdl-dev zlib-dev bzlib-dev"
     1.9 +DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
    1.10 +BUILD_DEPENDS="imlib2-dev freetype-dev libsdl-dev zlib-dev coreutils-file-format"
    1.11 +SUGGESTED="ffplay"
    1.12  
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16  	cd $src
    1.17 -	./configure --prefix=/usr --enable-gpl \
    1.18 -	--arch=i486 --cpu=i486 \
    1.19 -	--enable-shared --enable-small \
    1.20 -	--enable-postproc \
    1.21 -	--disable-mmx  --disable-mmx2 --disable-ssse3 &&
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		--enable-gpl \
    1.25 +		--arch=i486 \
    1.26 +		--cpu=i486 \
    1.27 +		--enable-shared \
    1.28 +		--enable-small \
    1.29 +		--enable-pthreads \
    1.30 +		--enable-postproc \
    1.31 +		--disable-mmx \
    1.32 +		--disable-mmx2 \
    1.33 +		--disable-ssse3 &&
    1.34  	make &&
    1.35  	make DESTDIR=$PWD/_pkg install
    1.36  }
    1.37 @@ -27,7 +35,9 @@
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr/lib 
    1.42 +	mkdir -p $fs/usr/lib
    1.43  	cp -a $_pkg/usr/lib/*so* $fs/usr/lib
    1.44 -	cp -a $_pkg/usr/bin $fs/usr	
    1.45 +	cp -a $_pkg/usr/bin $fs/usr
    1.46 +	# ffplay with it SDL dep go in a splited package
    1.47 +	rm $fs/usr/bin/ffplay
    1.48  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ffplay/receipt	Sun Nov 08 18:07:50 2009 +0100
     2.3 @@ -0,0 +1,17 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="ffplay"
     2.7 +VERSION="0.5"
     2.8 +CATEGORY="multimedia"
     2.9 +SHORT_DESC="Very simple and portable media player using the ffmpeg and the SDL library."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +WEB_SITE="http://ffmpeg.org/"
    2.12 +WANTED="ffmpeg"
    2.13 +DEPENDS="ffmpeg libsdl"
    2.14 +
    2.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.16 +genpkg_rules()
    2.17 +{
    2.18 +	mkdir -p $fs/usr/bin
    2.19 +	cp -a $_pkg/usr/bin/ffplay $fs/usr/bin
    2.20 +}