wok-4.x rev 5305
Add ffmpeg-svn
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Apr 19 13:27:45 2010 -0400 (2010-04-19) |
parents | 5b6b81ccd958 |
children | 30f4e3eb73ed |
files | ffmpeg-svn-dev/receipt ffmpeg-svn/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ffmpeg-svn-dev/receipt Mon Apr 19 13:27:45 2010 -0400 1.3 @@ -0,0 +1,23 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ffmpeg-svn-dev" 1.7 +VERSION="22914" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Record, convert and stream audio and video, development files." 1.10 +MAINTAINER="jozee@slitaz.org" 1.11 +WEB_SITE="http://ffmpeg.org/" 1.12 +WANTED="ffmpeg-svn" 1.13 +PROVIDE="ffmpeg-dev" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib 1.19 + cp -a $_pkg/usr/include $fs/usr 1.20 + cp -a $_pkg/usr/lib/*.a $fs/usr/lib 1.21 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.22 + 1.23 + # pixfmt.h file in svn version: Kino hack 1.24 + sed -i "s/PIX_FMT_YUYV422,/PIX_FMT_YUYV422, \n PIX_FMT_YUV422,/" $fs/usr/include/libavutil/pixfmt.h 1.25 +} 1.26 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/ffmpeg-svn/receipt Mon Apr 19 13:27:45 2010 -0400 2.3 @@ -0,0 +1,49 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="ffmpeg-svn" 2.7 +VERSION="22914" 2.8 +CATEGORY="multimedia" 2.9 +SHORT_DESC="Record, convert and stream audio and video." 2.10 +MAINTAINER="jozee@slitaz.org" 2.11 +WEB_SITE="http://ffmpeg.org/" 2.12 +DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib" 2.13 +BUILD_DEPENDS="subversion imlib2-dev freetype-dev libsdl-dev zlib-dev coreutils-file-format coreutils-file-special" 2.14 +PROVIDE="ffmpeg" 2.15 +SUGGESTED="ffplay" 2.16 +TAGS="audio video convert stream" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + mkdir -p $src 2> /dev/null 2.22 + cd $src 2.23 + [ -f ffmpeg/configure ] || svn checkout -r 'HEAD' \ 2.24 + svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg 2.25 + 2.26 + cd ffmpeg 2.27 + 2.28 + ./configure \ 2.29 + --prefix=/usr \ 2.30 + --enable-gpl \ 2.31 + --arch=i486 \ 2.32 + --cpu=i486 \ 2.33 + --enable-shared \ 2.34 + --enable-small \ 2.35 + --enable-pthreads \ 2.36 + --enable-postproc \ 2.37 + --disable-mmx \ 2.38 + --disable-mmx2 \ 2.39 + --disable-ssse3 && 2.40 + make && 2.41 + make DESTDIR=$PWD/../_pkg install 2.42 +} 2.43 + 2.44 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.45 +genpkg_rules() 2.46 +{ 2.47 + mkdir -p $fs/usr/lib 2.48 + cp -a $_pkg/usr/lib/*so* $fs/usr/lib 2.49 + cp -a $_pkg/usr/bin $fs/usr 2.50 + # ffplay with it SDL dep go in a splited package 2.51 + rm $fs/usr/bin/ffplay 2.52 +}