wok-current annotate ffmpeg/receipt @ rev 12902
hplip: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 28 19:40:12 2012 +0200 (2012-05-28) |
parents | 9a28c04b9757 |
children | 0bfc759d1bad |
rev | line source |
---|---|
pascal@1708 | 1 # SliTaz package receipt. |
pascal@1708 | 2 |
pascal@1708 | 3 PACKAGE="ffmpeg" |
domcox@12846 | 4 VERSION="0.10.3" |
pascal@1708 | 5 CATEGORY="multimedia" |
pascal@1708 | 6 SHORT_DESC="Record, convert and stream audio and video." |
pascal@1708 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
jozee@2675 | 8 WEB_SITE="http://ffmpeg.org/" |
pascal@4284 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@4284 | 10 WGET_URL="${WEB_SITE}releases/$TARBALL" |
domcox@12846 | 11 DEPENDS="alsa-lib" |
domcox@12846 | 12 BUILD_DEPENDS="libsdl-dev zlib-dev bzip2-dev coreutils-file-format \ |
domcox@12846 | 13 coreutils-file-special yasm" |
pankso@4460 | 14 SUGGESTED="ffplay" |
jozee@4936 | 15 TAGS="audio video convert stream" |
pascal@1708 | 16 |
pascal@1708 | 17 # Rules to configure and make the package. |
pascal@1708 | 18 compile_rules() |
pascal@1708 | 19 { |
pascal@1708 | 20 cd $src |
pankso@4460 | 21 ./configure \ |
pankso@4460 | 22 --prefix=/usr \ |
domcox@12846 | 23 --enable-shared \ |
domcox@12846 | 24 --disable-static \ |
pankso@4460 | 25 --enable-gpl \ |
domcox@12846 | 26 --enable-runtime-cpudetect \ |
domcox@12846 | 27 --enable-pthreads \ |
pankso@4460 | 28 --enable-small \ |
domcox@12846 | 29 --disable-ffprobe \ |
domcox@12846 | 30 --disable-ffserver \ |
domcox@12846 | 31 --disable-encoder=h263 \ |
domcox@12846 | 32 --disable-encoder=h263p \ |
domcox@12846 | 33 --disable-encoder=mpeg2video \ |
domcox@12846 | 34 --disable-encoder=mpeg4 \ |
domcox@12846 | 35 --disable-encoder=msmpeg4v1 \ |
domcox@12846 | 36 --disable-encoder=msmpeg4v2 \ |
domcox@12846 | 37 --disable-encoder=msmpeg4v3 \ |
domcox@12846 | 38 --disable-symver \ |
domcox@12846 | 39 --disable-debug \ |
domcox@12846 | 40 --disable-doc && \ |
pascal@1708 | 41 make && |
slaxemulator@10193 | 42 make install |
pascal@1708 | 43 } |
pascal@1708 | 44 |
pascal@1708 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1708 | 46 genpkg_rules() |
pascal@1708 | 47 { |
pankso@4460 | 48 mkdir -p $fs/usr/lib |
jozee@2675 | 49 cp -a $_pkg/usr/lib/*so* $fs/usr/lib |
pankso@4460 | 50 cp -a $_pkg/usr/bin $fs/usr |
domcox@12846 | 51 mkdir -p $fs/usr/share |
domcox@12846 | 52 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@4460 | 53 # ffplay with it SDL dep go in a splited package |
pankso@4460 | 54 rm $fs/usr/bin/ffplay |
pascal@1708 | 55 } |