wok view ffmpeg-svn/receipt @ rev 8684

Fix dep: gnome-menus depends on libgio
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Feb 17 18:56:09 2011 +0100 (2011-02-17)
parents 48b516d81cd5
children 809ffd3c9ff1
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg-svn"
4 VERSION="23117"
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 PROVIDE="ffmpeg"
12 SUGGESTED="ffplay"
13 TAGS="audio video convert stream"
14 WGET_URL="subversion|svn://svn.ffmpeg.org/ffmpeg/trunk"
15 BRANCH="$VERSION"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # make busybox compatible or add coreutils-file-format coreutils-file-special in BUILD_DEPENDS if patch/configure fails
22 patch -Np1 -i ../../stuff/$PACKAGE-$VERSION-mktemp.patch
24 sed -i 's/av_bswap/bswap_/' libswscale/*.c
26 # Fix configure for GCC 4.5.0
27 sed -i 's/"\$@" >> \$logfile 2/$@ >> $logfile 2/' configure
28 ./configure \
29 --prefix=/usr \
30 --enable-gpl \
31 --arch=i486 \
32 --cpu=i486 \
33 --enable-shared \
34 --enable-small \
35 --enable-pthreads \
36 --enable-postproc \
37 --disable-mmx \
38 --disable-mmx2 \
39 --disable-ssse3 &&
40 make &&
41 make DESTDIR=$PWD/../_pkg install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib
48 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
49 cp -a $_pkg/usr/bin $fs/usr
50 # ffplay with it SDL dep go in a splited package
51 rm $fs/usr/bin/ffplay
52 }