wok-4.x view ffmpeg/receipt @ rev 12322
get-wfica: update (thanks Carl)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 22 18:22:54 2012 +0200 (2012-08-22) |
parents | d1768332cee0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="0.6.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="Record, convert and stream audio and video."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://ffmpeg.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="${WEB_SITE}releases/$TARBALL"
11 DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
12 BUILD_DEPENDS="imlib2-dev freetype-dev libsdl-dev zlib-dev coreutils-file-format \
13 coreutils-file-special"
14 SUGGESTED="ffplay"
15 TAGS="audio video convert stream"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
22 # Fix gcc45 build.
23 patch -p1 < $stuff/ffmpeg-0.5.1-gcc45.u || return 1
25 ./configure \
26 --prefix=/usr \
27 --enable-gpl \
28 --arch=i486 \
29 --cpu=i486 \
30 --enable-shared \
31 --enable-small \
32 --enable-pthreads \
33 --enable-postproc \
34 --enable-swscale \
35 --disable-mmx \
36 --disable-mmx2 \
37 --disable-ssse3 &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
47 cp -a $_pkg/usr/bin $fs/usr
48 # ffplay with it SDL dep go in a splited package
49 rm $fs/usr/bin/ffplay
50 }