wok annotate ffmpeg-svn/receipt @ rev 15897
Up tazinst-gui (3.95)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed Feb 12 23:00:12 2014 +0100 (2014-02-12) |
parents | 8437ad3ae814 |
children |
rev | line source |
---|---|
jozee@5305 | 1 # SliTaz package receipt. |
jozee@5305 | 2 |
jozee@5305 | 3 PACKAGE="ffmpeg-svn" |
pascal@9358 | 4 VERSION="26402" |
jozee@5305 | 5 CATEGORY="multimedia" |
jozee@5305 | 6 SHORT_DESC="Record, convert and stream audio and video." |
jozee@5305 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15215 | 8 LICENSE="GPL2 LGPL2.1" |
jozee@5305 | 9 WEB_SITE="http://ffmpeg.org/" |
jozee@5305 | 10 PROVIDE="ffmpeg" |
jozee@5305 | 11 SUGGESTED="ffplay" |
jozee@5305 | 12 TAGS="audio video convert stream" |
pascal@13210 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@8552 | 14 WGET_URL="subversion|svn://svn.ffmpeg.org/ffmpeg/trunk" |
gokhlayeh@8552 | 15 BRANCH="$VERSION" |
jozee@5305 | 16 |
pascal@15215 | 17 DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib" |
pascal@15215 | 18 BUILD_DEPENDS="subversion imlib2-dev freetype-dev libsdl-dev zlib-dev \ |
pascal@15215 | 19 coreutils-file-format coreutils-file-special" |
pascal@15215 | 20 |
jozee@5305 | 21 # Rules to configure and make the package. |
jozee@5305 | 22 compile_rules() |
jozee@5305 | 23 { |
gokhlayeh@8552 | 24 cd $src |
jozee@5569 | 25 |
pascal@5903 | 26 # Fix configure for GCC 4.5.0 |
pascal@5903 | 27 sed -i 's/"\$@" >> \$logfile 2/$@ >> $logfile 2/' configure |
jozee@5305 | 28 ./configure \ |
jozee@5305 | 29 --prefix=/usr \ |
jozee@5305 | 30 --enable-gpl \ |
pascal@13878 | 31 --arch=$ARCH \ |
pascal@13878 | 32 --cpu=$ARCH \ |
jozee@5305 | 33 --enable-shared \ |
jozee@5305 | 34 --enable-small \ |
jozee@5305 | 35 --enable-pthreads \ |
jozee@5305 | 36 --enable-postproc \ |
jozee@5305 | 37 --disable-mmx \ |
jozee@5305 | 38 --disable-mmx2 \ |
jozee@5305 | 39 --disable-ssse3 && |
jozee@5305 | 40 make && |
pascal@13878 | 41 make DESTDIR=$DESTDIR install |
jozee@5305 | 42 } |
jozee@5305 | 43 |
jozee@5305 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@5305 | 45 genpkg_rules() |
jozee@5305 | 46 { |
jozee@5305 | 47 mkdir -p $fs/usr/lib |
pascal@13878 | 48 cp -a $install/usr/lib/*so* $fs/usr/lib |
pascal@13878 | 49 cp -a $install/usr/bin $fs/usr |
jozee@5305 | 50 # ffplay with it SDL dep go in a splited package |
jozee@5305 | 51 rm $fs/usr/bin/ffplay |
jozee@5305 | 52 } |