wok-current annotate ffmpeg/receipt @ rev 15705

remove claws-mail-gtk2html
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Dec 22 17:19:07 2013 +0100 (2013-12-22)
parents 26fa1b18a2ce
children 61bec0518c8c
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"
pascal@15215 8 LICENSE="GPL2 LGPL2.1"
jozee@2675 9 WEB_SITE="http://ffmpeg.org/"
pascal@4284 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@4284 11 WGET_URL="${WEB_SITE}releases/$TARBALL"
pankso@13016 12 SUGGESTED="ffplay"
pankso@13016 13 TAGS="audio video convert stream"
pankso@13016 14
domcox@12846 15 DEPENDS="alsa-lib"
domcox@12846 16 BUILD_DEPENDS="libsdl-dev zlib-dev bzip2-dev coreutils-file-format \
domcox@12846 17 coreutils-file-special yasm"
pascal@1708 18
pascal@1708 19 # Rules to configure and make the package.
pascal@1708 20 compile_rules()
pascal@1708 21 {
pascal@1708 22 cd $src
pankso@4460 23 ./configure \
pankso@4460 24 --prefix=/usr \
domcox@12846 25 --enable-shared \
domcox@12846 26 --disable-static \
pankso@4460 27 --enable-gpl \
domcox@12846 28 --enable-runtime-cpudetect \
pascal@14362 29 --enable-avresample \
domcox@12846 30 --enable-pthreads \
pankso@4460 31 --enable-small \
domcox@12846 32 --disable-ffprobe \
domcox@12846 33 --disable-ffserver \
domcox@12846 34 --disable-encoder=h263 \
domcox@12846 35 --disable-encoder=h263p \
domcox@12846 36 --disable-encoder=mpeg2video \
domcox@12846 37 --disable-encoder=mpeg4 \
domcox@12846 38 --disable-encoder=msmpeg4v1 \
domcox@12846 39 --disable-encoder=msmpeg4v2 \
domcox@12846 40 --disable-encoder=msmpeg4v3 \
domcox@12846 41 --disable-symver \
domcox@12846 42 --disable-debug \
pankso@13016 43 --disable-doc &&
pankso@13016 44 make && make install
pascal@1708 45 }
pascal@1708 46
pascal@1708 47 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1708 48 genpkg_rules()
pascal@1708 49 {
pankso@13016 50 mkdir -p $fs/usr/lib $fs/usr/share
pankso@13016 51 cp -a $install/usr/lib/*so* $fs/usr/lib
pankso@13016 52 cp -a $install/usr/bin $fs/usr
pankso@13016 53 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pankso@13016 54 rm -rf $fs/usr/share/$PACKAGE/examples
pankso@4460 55 # ffplay with it SDL dep go in a splited package
pankso@4460 56 rm $fs/usr/bin/ffplay
pascal@1708 57 }