wok-current view ffmpeg-svn/receipt @ rev 13795
blender: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 05 13:26:25 2013 +0100 (2013-01-05) |
parents | b206bd64aef7 |
children | 8437ad3ae814 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
16 WGET_URL="subversion|svn://svn.ffmpeg.org/ffmpeg/trunk"
17 BRANCH="$VERSION"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
24 # Fix configure for GCC 4.5.0
25 sed -i 's/"\$@" >> \$logfile 2/$@ >> $logfile 2/' configure
26 ./configure \
27 --prefix=/usr \
28 --enable-gpl \
29 --arch=i486 \
30 --cpu=i486 \
31 --enable-shared \
32 --enable-small \
33 --enable-pthreads \
34 --enable-postproc \
35 --disable-mmx \
36 --disable-mmx2 \
37 --disable-ssse3 &&
38 make &&
39 make DESTDIR=$PWD/_pkg 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 }