# HG changeset patch # User Christophe Lincoln # Date 1257700070 -3600 # Node ID bfee99ebda411ca3c24fd99c95c88237e3c1d2fd # Parent 985db9112012359a9d580bfbb43c39e65dbf38b0 ffmpeg: split ffplay and SDL dep + clean-up diff -r 985db9112012 -r bfee99ebda41 ffmpeg/receipt --- a/ffmpeg/receipt Sun Nov 08 18:06:19 2009 +0100 +++ b/ffmpeg/receipt Sun Nov 08 18:07:50 2009 +0100 @@ -8,18 +8,26 @@ WEB_SITE="http://ffmpeg.org/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="${WEB_SITE}releases/$TARBALL" -DEPENDS="bzlib freetype libsdl imlib2 alsa-lib jack-audio-connection-kit zlib" -BUILD_DEPENDS="imlib2-dev freetype-dev libsdl-dev zlib-dev bzlib-dev" +DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib" +BUILD_DEPENDS="imlib2-dev freetype-dev libsdl-dev zlib-dev coreutils-file-format" +SUGGESTED="ffplay" # Rules to configure and make the package. compile_rules() { cd $src - ./configure --prefix=/usr --enable-gpl \ - --arch=i486 --cpu=i486 \ - --enable-shared --enable-small \ - --enable-postproc \ - --disable-mmx --disable-mmx2 --disable-ssse3 && + ./configure \ + --prefix=/usr \ + --enable-gpl \ + --arch=i486 \ + --cpu=i486 \ + --enable-shared \ + --enable-small \ + --enable-pthreads \ + --enable-postproc \ + --disable-mmx \ + --disable-mmx2 \ + --disable-ssse3 && make && make DESTDIR=$PWD/_pkg install } @@ -27,7 +35,9 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib + mkdir -p $fs/usr/lib cp -a $_pkg/usr/lib/*so* $fs/usr/lib - cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/bin $fs/usr + # ffplay with it SDL dep go in a splited package + rm $fs/usr/bin/ffplay } diff -r 985db9112012 -r bfee99ebda41 ffplay/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ffplay/receipt Sun Nov 08 18:07:50 2009 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="ffplay" +VERSION="0.5" +CATEGORY="multimedia" +SHORT_DESC="Very simple and portable media player using the ffmpeg and the SDL library." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://ffmpeg.org/" +WANTED="ffmpeg" +DEPENDS="ffmpeg libsdl" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $_pkg/usr/bin/ffplay $fs/usr/bin +}