wok-6.x rev 12846

Up: ffmpeg (0.10.3)
author Dominique Corbex <domcox@slitaz.org>
date Wed May 23 13:00:15 2012 +0200 (2012-05-23)
parents 9c0880ad5a17
children 248d5d7cf164
files ffmpeg/receipt
line diff
     1.1 --- a/ffmpeg/receipt	Wed May 23 12:59:23 2012 +0200
     1.2 +++ b/ffmpeg/receipt	Wed May 23 13:00:15 2012 +0200
     1.3 @@ -1,16 +1,16 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ffmpeg"
     1.7 -VERSION="0.6.3"
     1.8 +VERSION="0.10.3"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Record, convert and stream audio and video."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  WEB_SITE="http://ffmpeg.org/"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WGET_URL="${WEB_SITE}releases/$TARBALL"
    1.15 -DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
    1.16 -BUILD_DEPENDS="imlib2-dev freetype-dev libsdl-dev zlib-dev coreutils-file-format \
    1.17 -coreutils-file-special"
    1.18 +DEPENDS="alsa-lib"
    1.19 +BUILD_DEPENDS="libsdl-dev zlib-dev bzip2-dev coreutils-file-format \
    1.20 +coreutils-file-special yasm"
    1.21  SUGGESTED="ffplay"
    1.22  TAGS="audio video convert stream"
    1.23  
    1.24 @@ -18,23 +18,26 @@
    1.25  compile_rules()
    1.26  {
    1.27  	cd $src
    1.28 -	
    1.29 -	# Fix gcc45 build.
    1.30 -	patch -p1 < $stuff/ffmpeg-0.5.1-gcc45.u || return 1
    1.31 -	
    1.32  	./configure \
    1.33  		--prefix=/usr \
    1.34 +		--enable-shared \
    1.35 +		--disable-static \
    1.36  		--enable-gpl \
    1.37 -		--arch=i486 \
    1.38 -		--cpu=i486 \
    1.39 -		--enable-shared \
    1.40 +		--enable-runtime-cpudetect \
    1.41 +		--enable-pthreads \
    1.42  		--enable-small \
    1.43 -		--enable-pthreads \
    1.44 -		--enable-postproc \
    1.45 -		--enable-swscale \
    1.46 -		--disable-mmx \
    1.47 -		--disable-mmx2 \
    1.48 -		--disable-ssse3 &&
    1.49 +		--disable-ffprobe \
    1.50 +		--disable-ffserver \
    1.51 +		--disable-encoder=h263 \
    1.52 +		--disable-encoder=h263p \
    1.53 +		--disable-encoder=mpeg2video \
    1.54 +		--disable-encoder=mpeg4 \
    1.55 +		--disable-encoder=msmpeg4v1 \
    1.56 +		--disable-encoder=msmpeg4v2 \
    1.57 +		--disable-encoder=msmpeg4v3 \
    1.58 +		--disable-symver \
    1.59 +		--disable-debug \
    1.60 +		--disable-doc && \
    1.61  	make &&
    1.62  	make install
    1.63  }
    1.64 @@ -45,6 +48,8 @@
    1.65  	mkdir -p $fs/usr/lib
    1.66  	cp -a $_pkg/usr/lib/*so* $fs/usr/lib
    1.67  	cp -a $_pkg/usr/bin $fs/usr
    1.68 +	mkdir -p $fs/usr/share
    1.69 +	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    1.70  	# ffplay with it SDL dep go in a splited package
    1.71  	rm $fs/usr/bin/ffplay
    1.72  }