wok diff ffmpeg-git/receipt @ rev 16027

Add to ARM: libnl, wpa_supplicant, wput
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 08 07:29:53 2014 +0100 (2014-03-08)
parents
children 3cc39ed4571a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ffmpeg-git/receipt	Sat Mar 08 07:29:53 2014 +0100
     1.3 @@ -0,0 +1,48 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ffmpeg-git"
     1.7 +VERSION="snapshot"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Record, convert and stream audio and video (Devel version)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL2 LGPL2.1"
    1.12 +WEB_SITE="http://ffmpeg.org/"
    1.13 +PROVIDE="ffmpeg"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +WGET_URL="git|git://source.ffmpeg.org/ffmpeg.git"
    1.16 +
    1.17 +TAGS="audio video convert stream"
    1.18 +DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
    1.19 +BUILD_DEPENDS="subversion imlib2-dev freetype-dev libsdl-dev zlib-dev \
    1.20 +coreutils-file-format coreutils-file-special"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	# Fix configure for GCC 4.5.0
    1.26 +	#sed -i 's/"\$@" >> \$logfile 2/$@ >> $logfile 2/' configure
    1.27 +	./configure \
    1.28 +		--prefix=/usr \
    1.29 +		--enable-gpl \
    1.30 +		--arch=$ARCH \
    1.31 +		--cpu=$ARCH \
    1.32 +		--enable-shared \
    1.33 +		--enable-small \
    1.34 +		--enable-pthreads \
    1.35 +		--enable-postproc \
    1.36 +		--disable-mmx \
    1.37 +		--disable-mmx2 \
    1.38 +		--disable-ssse3 &&
    1.39 +	make &&
    1.40 +	make DESTDIR=$DESTDIR install
    1.41 +}
    1.42 +
    1.43 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.44 +genpkg_rules()
    1.45 +{
    1.46 +	mkdir -p $fs/usr/lib
    1.47 +	cp -a $install/usr/lib/*so* $fs/usr/lib
    1.48 +	cp -a $install/usr/bin $fs/usr
    1.49 +	# ffplay with it SDL dep go in a splited package
    1.50 +	rm $fs/usr/bin/ffplay
    1.51 +}