wok-undigest view cinelerra-cv/receipt @ rev 1228

updated glib and glib-dev (2.43.3 -> 2.62.4)
author Hans-G?nter Theisgen
date Wed Sep 09 13:48:24 2020 +0100 (2020-09-09)
parents b322bf3ccaba
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cinelerra-cv"
4 VERSION="2.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="Professional video editing and compositing environment"
7 MAINTAINER="danny@schmarsel.de"
8 LICENSE="GPL2"
9 WEB_SITE="http://cinelerra-cv.org"
10 TARBALL="CinelerraCV-$VERSION.tar.xz"
11 WGET_URL="http://cinelerra-cv.org/releases/$TARBALL"
12 EXTRA_SOURCE_FILES="cinelerra-cv-ffmpeg_api2.2.patch cinelerra-cv-ffmpeg2.0.patch"
13 TAGS="video editor nonlinear"
15 DEPENDS="alsa-lib libogg libvorbis libtheora openexr libdv libpng libjpeg tiff \
16 x264 util-linux-uuid mjpegtools fftw lame libsndfile faac faad2 libraw1394 \
17 libavc1394 libiec61883 mesa ilmbase a52dec ffmpeg xorg-libXv flac libglu-mesa"
18 BUILD_DEPENDS="wget nasm alsa-lib-dev coreutils-file-format libogg-dev \
19 libvorbis-dev libtheora-dev openexr-dev libdv-dev libpng-dev jpeg-dev tiff-dev \
20 x264-dev util-linux-uuid-dev mjpegtools-dev fftw-dev lame-dev libsndfile-dev \
21 faac-dev faad2-dev libraw1394-dev libavc1394-dev libiec61883-dev mesa-dev \
22 ilmbase-dev a52dec-dev ffmpeg-dev xorg-libXv-dev flac-dev libglu-mesa-dev \
23 libtinfo"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Install ffmpeg 2.x patches, internal ffmpeg errors out
29 for i in $EXTRA_SOURCE_FILES ; do
30 [ -s $SOURCES_REPOSITORY/$i ] ||
31 wget --no-check-certificate -P $SOURCES_REPOSITORY \
32 https://raw.githubusercontent.com/sergiomb2/cinelerra-cv/master/$i
33 patch -p1 < $SOURCES_REPOSITORY/$i
34 done
35 ./autogen.sh
36 touch config.rpath
38 CXXFLAGS="-O2 -D__STDC_CONSTANT_MACROS" \
39 CFLAGS="-O2 -D__STDC_CONSTANT_MACROS" \
40 ./configure \
41 --prefix=/usr \
42 --sysconfdir=/etc \
43 --localstatedir=/var \
44 --libdir=/usr/lib \
45 --with-plugindir=/usr/lib/cinelerra \
46 --disable-static \
47 --mandir=/usr/man \
48 --with-pic \
49 --with-x \
50 --enable-opengl \
51 --with-external-ffmpeg
53 make
54 make DESTDIR=$DESTDIR install
55 }
57 # Rules to gen a SliTaz package suitable for Tazpkg.
58 genpkg_rules()
59 {
60 cp -a $install/* $fs
61 # Remove unneccessary headers
62 rm -rf $fs/usr/include
63 # Remove unneccessary static libraries
64 rm $fs/usr/lib/*.la
65 rm $fs/usr/lib/cinelerra/*.la
66 }