wok view ffmpeg-svn/receipt @ rev 12550
cairo: needs also pixman
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 27 15:37:36 2012 +0200 (2012-04-27) |
parents | 809ffd3c9ff1 |
children | 518a64ad039f |
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg-svn"
4 VERSION="26402"
5 CATEGORY="multimedia"
6 SHORT_DESC="Record, convert and stream audio and video."
7 MAINTAINER="jozee@slitaz.org"
8 WEB_SITE="http://ffmpeg.org/"
9 DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
10 BUILD_DEPENDS="subversion imlib2-dev freetype-dev libsdl-dev zlib-dev \
11 coreutils-file-format coreutils-file-special"
12 PROVIDE="ffmpeg"
13 SUGGESTED="ffplay"
14 TAGS="audio video convert stream"
15 WGET_URL="subversion|svn://svn.ffmpeg.org/ffmpeg/trunk"
16 BRANCH="$VERSION"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
23 # Fix configure for GCC 4.5.0
24 sed -i 's/"\$@" >> \$logfile 2/$@ >> $logfile 2/' configure
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 --disable-mmx \
35 --disable-mmx2 \
36 --disable-ssse3 &&
37 make &&
38 make DESTDIR=$PWD/_pkg install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
46 cp -a $_pkg/usr/bin $fs/usr
47 # ffplay with it SDL dep go in a splited package
48 rm $fs/usr/bin/ffplay
49 }