wok-undigest rev 1172

Add cinelerra-cv & a52dec (thanks schmatzler)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 30 09:01:47 2015 +0200 (2015-09-30)
parents 92fb25b03943
children b322bf3ccaba
files a52dec-dev/receipt a52dec/receipt cinelerra-cv/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/a52dec-dev/receipt	Wed Sep 30 09:01:47 2015 +0200
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="a52dec-dev"
     1.7 +VERSION="0.7.4"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="liba52 devel files"
    1.10 +MAINTAINER="danny@schmarsel.de"
    1.11 +WANTED="a52dec"
    1.12 +LICENSE="GPL"
    1.13 +WEB_SITE="http://liba52.sourceforge.net/"
    1.14 +
    1.15 +DEPENDS="a52dec"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +        mkdir -p $fs/usr/lib
    1.21 +     	cp -a $install/usr/include $fs/usr
    1.22 +     	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/a52dec/receipt	Wed Sep 30 09:01:47 2015 +0200
     2.3 @@ -0,0 +1,35 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="a52dec"
     2.7 +VERSION="0.7.4"
     2.8 +CATEGORY="multimedia"
     2.9 +SHORT_DESC="liba52 is a free library for decoding ATSC A/52 streams"
    2.10 +MAINTAINER="danny@schmarsel.de"
    2.11 +LICENSE="GPL"
    2.12 +WEB_SITE="http://liba52.sourceforge.net/"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +WGET_URL="http://liba52.sourceforge.net/files/$TARBALL"
    2.15 +
    2.16 +DEPENDS=""
    2.17 +BUILD_DEPENDS=""
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	./configure --prefix=/usr \
    2.23 +        --libdir=/usr/lib${LIBDIRSUFFIX} \
    2.24 +        --enable-shared
    2.25 +        
    2.26 +        make &&
    2.27 +        make DESTDIR=$DESTDIR install
    2.28 +        
    2.29 +}
    2.30 +
    2.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.32 +genpkg_rules()
    2.33 +{
    2.34 +	mkdir -p $fs/usr/lib
    2.35 +        mkdir -p $fs/usr/bin
    2.36 +     	cp -a $install/usr/lib/liba52.so* $fs/usr/lib
    2.37 +        cp -a $install/usr/bin/* $fs/usr/bin
    2.38 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/cinelerra-cv/receipt	Wed Sep 30 09:01:47 2015 +0200
     3.3 @@ -0,0 +1,62 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="cinelerra-cv"
     3.7 +VERSION="2.3"
     3.8 +CATEGORY="multimedia"
     3.9 +SHORT_DESC="Professional video editing and compositing environment"
    3.10 +MAINTAINER="danny@schmarsel.de"
    3.11 +LICENSE="GPL2"
    3.12 +WEB_SITE="http://cinelerra-cv.org"
    3.13 +TARBALL="CinelerraCV-$VERSION.tar.xz"
    3.14 +WGET_URL="http://cinelerra-cv.org/releases/$TARBALL"
    3.15 +TAGS="video editor nonlinear"
    3.16 +
    3.17 +DEPENDS="alsa-lib libogg libvorbis libtheora openexr libdv libpng libjpeg tiff \
    3.18 +x264 util-linux-uuid mjpegtools fftw lame libsndfile faac faad2 libraw1394 \
    3.19 +libavc1394 libiec61883 mesa ilmbase a52dec ffmpeg xorg-libXv flac libglu-mesa"
    3.20 +BUILD_DEPENDS="nasm alsa-lib-dev coreutils-file-format libogg-dev \
    3.21 +libvorbis-dev libtheora-dev openexr-dev libdv-dev libpng-dev jpeg-dev tiff-dev \
    3.22 +x264-dev util-linux-uuid-dev mjpegtools-dev fftw-dev lame-dev libsndfile-dev \
    3.23 +faac-dev faad2-dev libraw1394-dev libavc1394-dev libiec61883-dev mesa-dev \
    3.24 +ilmbase-dev a52dec-dev ffmpeg-dev xorg-libXv-dev flac-dev libglu-mesa-dev"
    3.25 +
    3.26 +# Rules to configure and make the package.
    3.27 +compile_rules()
    3.28 +{
    3.29 +        cd $src
    3.30 +		# Install ffmpeg 2.x patches, internal ffmpeg errors out
    3.31 +		wget https://raw.githubusercontent.com/sergiomb2/cinelerra-cv/master/cinelerra-cv-ffmpeg_api2.2.patch
    3.32 +		wget https://raw.githubusercontent.com/sergiomb2/cinelerra-cv/master/cinelerra-cv-ffmpeg2.0.patch
    3.33 +		patch -p1 < cinelerra-cv-ffmpeg_api2.2.patch
    3.34 +		patch -p1 < cinelerra-cv-ffmpeg2.0.patch
    3.35 +	./autogen.sh
    3.36 +
    3.37 +	CXXFLAGS="-O2 -D__STDC_CONSTANT_MACROS" \
    3.38 +	CFLAGS="-O2 -D__STDC_CONSTANT_MACROS" \
    3.39 +        ./configure \
    3.40 +                --prefix=/usr \
    3.41 +                --sysconfdir=/etc \
    3.42 +                --localstatedir=/var \
    3.43 +                --libdir=/usr/lib \
    3.44 +                --with-plugindir=/usr/lib/cinelerra \
    3.45 +                --disable-static \
    3.46 +                --mandir=/usr/man \
    3.47 +                --with-pic \
    3.48 +                --with-x \
    3.49 +                --enable-opengl \
    3.50 +                --with-external-ffmpeg
    3.51 +                
    3.52 +        make
    3.53 +        make DESTDIR=$DESTDIR install
    3.54 +}
    3.55 +
    3.56 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.57 +genpkg_rules()
    3.58 +{
    3.59 +	cp -a $install/* $fs
    3.60 +	# Remove unneccessary headers
    3.61 +     	rm -rf $fs/usr/include
    3.62 +	# Remove unneccessary static libraries
    3.63 +	rm $fs/usr/lib/*.la
    3.64 +	rm $fs/usr/lib/cinelerra/*.la
    3.65 +}