wok-current annotate ffmpeg-svn/receipt @ rev 13878
libboost-dev, input-utils, gcc3, gcc+gcj, ffmpeg-svn, zsnes, zlib, nimrod, mtpaint: use $ARCH
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 15 11:21:28 2013 +0100 (2013-01-15) |
parents | 518a64ad039f |
children | 7bb096863642 |
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" |
jozee@5305 | 8 WEB_SITE="http://ffmpeg.org/" |
jozee@5305 | 9 DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib" |
gokhlayeh@8773 | 10 BUILD_DEPENDS="subversion imlib2-dev freetype-dev libsdl-dev zlib-dev \ |
gokhlayeh@8773 | 11 coreutils-file-format coreutils-file-special" |
jozee@5305 | 12 PROVIDE="ffmpeg" |
jozee@5305 | 13 SUGGESTED="ffplay" |
jozee@5305 | 14 TAGS="audio video convert stream" |
pascal@13210 | 15 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@8552 | 16 WGET_URL="subversion|svn://svn.ffmpeg.org/ffmpeg/trunk" |
gokhlayeh@8552 | 17 BRANCH="$VERSION" |
jozee@5305 | 18 |
jozee@5305 | 19 # Rules to configure and make the package. |
jozee@5305 | 20 compile_rules() |
jozee@5305 | 21 { |
gokhlayeh@8552 | 22 cd $src |
jozee@5569 | 23 |
pascal@5903 | 24 # Fix configure for GCC 4.5.0 |
pascal@5903 | 25 sed -i 's/"\$@" >> \$logfile 2/$@ >> $logfile 2/' configure |
jozee@5305 | 26 ./configure \ |
jozee@5305 | 27 --prefix=/usr \ |
jozee@5305 | 28 --enable-gpl \ |
pascal@13878 | 29 --arch=$ARCH \ |
pascal@13878 | 30 --cpu=$ARCH \ |
jozee@5305 | 31 --enable-shared \ |
jozee@5305 | 32 --enable-small \ |
jozee@5305 | 33 --enable-pthreads \ |
jozee@5305 | 34 --enable-postproc \ |
jozee@5305 | 35 --disable-mmx \ |
jozee@5305 | 36 --disable-mmx2 \ |
jozee@5305 | 37 --disable-ssse3 && |
jozee@5305 | 38 make && |
pascal@13878 | 39 make DESTDIR=$DESTDIR install |
jozee@5305 | 40 } |
jozee@5305 | 41 |
jozee@5305 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@5305 | 43 genpkg_rules() |
jozee@5305 | 44 { |
jozee@5305 | 45 mkdir -p $fs/usr/lib |
pascal@13878 | 46 cp -a $install/usr/lib/*so* $fs/usr/lib |
pascal@13878 | 47 cp -a $install/usr/bin $fs/usr |
jozee@5305 | 48 # ffplay with it SDL dep go in a splited package |
jozee@5305 | 49 rm $fs/usr/bin/ffplay |
jozee@5305 | 50 } |