wok-next annotate ffmpeg/receipt @ rev 14590

drbl: its really hard to find all deps - ok, add some of them; also shrink loooong 'short desc' and add description
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon May 27 00:27:59 2013 +0000 (2013-05-27)
parents 10b80db82747
children 7bb096863642
rev   line source
pascal@1708 1 # SliTaz package receipt.
pascal@1708 2
pascal@1708 3 PACKAGE="ffmpeg"
pascal@13616 4 VERSION="1.0"
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"
pankso@13016 11 SUGGESTED="ffplay"
pankso@13016 12 TAGS="audio video convert stream"
pankso@13016 13
domcox@12846 14 DEPENDS="alsa-lib"
domcox@12846 15 BUILD_DEPENDS="libsdl-dev zlib-dev bzip2-dev coreutils-file-format \
domcox@12846 16 coreutils-file-special yasm"
pascal@1708 17
pascal@1708 18 # Rules to configure and make the package.
pascal@1708 19 compile_rules()
pascal@1708 20 {
pascal@1708 21 cd $src
pankso@4460 22 ./configure \
pankso@4460 23 --prefix=/usr \
domcox@12846 24 --enable-shared \
domcox@12846 25 --disable-static \
pankso@4460 26 --enable-gpl \
domcox@12846 27 --enable-runtime-cpudetect \
pascal@14362 28 --enable-avresample \
domcox@12846 29 --enable-pthreads \
pankso@4460 30 --enable-small \
domcox@12846 31 --disable-ffprobe \
domcox@12846 32 --disable-ffserver \
domcox@12846 33 --disable-encoder=h263 \
domcox@12846 34 --disable-encoder=h263p \
domcox@12846 35 --disable-encoder=mpeg2video \
domcox@12846 36 --disable-encoder=mpeg4 \
domcox@12846 37 --disable-encoder=msmpeg4v1 \
domcox@12846 38 --disable-encoder=msmpeg4v2 \
domcox@12846 39 --disable-encoder=msmpeg4v3 \
domcox@12846 40 --disable-symver \
domcox@12846 41 --disable-debug \
pankso@13016 42 --disable-doc &&
pankso@13016 43 make && make install
pascal@1708 44 }
pascal@1708 45
pascal@1708 46 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1708 47 genpkg_rules()
pascal@1708 48 {
pankso@13016 49 mkdir -p $fs/usr/lib $fs/usr/share
pankso@13016 50 cp -a $install/usr/lib/*so* $fs/usr/lib
pankso@13016 51 cp -a $install/usr/bin $fs/usr
pankso@13016 52 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pankso@13016 53 rm -rf $fs/usr/share/$PACKAGE/examples
pankso@4460 54 # ffplay with it SDL dep go in a splited package
pankso@4460 55 rm $fs/usr/bin/ffplay
pascal@1708 56 }