wok annotate ffmpeg-git/receipt @ rev 16029

ffmpeg-git: no more --disable-mmx2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 08 09:55:42 2014 +0000 (2014-03-08)
parents e47c0281ba48
children 8cf93f4aedd1
rev   line source
pankso@16027 1 # SliTaz package receipt.
pankso@16027 2
pankso@16027 3 PACKAGE="ffmpeg-git"
pankso@16027 4 VERSION="snapshot"
pankso@16027 5 CATEGORY="multimedia"
pankso@16027 6 SHORT_DESC="Record, convert and stream audio and video (Devel version)."
pankso@16027 7 MAINTAINER="pankso@slitaz.org"
pankso@16027 8 LICENSE="GPL2 LGPL2.1"
pankso@16027 9 WEB_SITE="http://ffmpeg.org/"
pankso@16027 10 PROVIDE="ffmpeg"
pankso@16027 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@16027 12 WGET_URL="git|git://source.ffmpeg.org/ffmpeg.git"
pankso@16027 13
pankso@16027 14 TAGS="audio video convert stream"
pankso@16027 15 DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
pankso@16027 16 BUILD_DEPENDS="subversion imlib2-dev freetype-dev libsdl-dev zlib-dev \
pankso@16027 17 coreutils-file-format coreutils-file-special"
pankso@16027 18
pankso@16027 19 # Rules to configure and make the package.
pankso@16027 20 compile_rules()
pankso@16027 21 {
pankso@16027 22 # Fix configure for GCC 4.5.0
pankso@16027 23 #sed -i 's/"\$@" >> \$logfile 2/$@ >> $logfile 2/' configure
pankso@16027 24 ./configure \
pankso@16027 25 --prefix=/usr \
pankso@16027 26 --enable-gpl \
pankso@16027 27 --arch=$ARCH \
pankso@16027 28 --cpu=$ARCH \
pankso@16027 29 --enable-shared \
pankso@16027 30 --enable-small \
pankso@16027 31 --enable-pthreads \
pankso@16027 32 --enable-postproc \
pankso@16027 33 --disable-mmx \
pankso@16027 34 --disable-ssse3 &&
pankso@16027 35 make &&
pankso@16027 36 make DESTDIR=$DESTDIR install
pankso@16027 37 }
pankso@16027 38
pankso@16027 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16027 40 genpkg_rules()
pankso@16027 41 {
pankso@16027 42 mkdir -p $fs/usr/lib
pankso@16027 43 cp -a $install/usr/lib/*so* $fs/usr/lib
pankso@16027 44 cp -a $install/usr/bin $fs/usr
pankso@16027 45 # ffplay with it SDL dep go in a splited package
pankso@16027 46 rm $fs/usr/bin/ffplay
pankso@16027 47 }