wok annotate ffmpeg-git/receipt @ rev 18289
knock: set default interface
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 14 10:06:48 2015 +0200 (2015-08-14) |
parents | 3cc39ed4571a |
children |
rev | line source |
---|---|
pankso@16027 | 1 # SliTaz package receipt. |
pankso@16027 | 2 |
pankso@16027 | 3 PACKAGE="ffmpeg-git" |
pascal@16041 | 4 VERSION="20140308" |
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 } |