2019-10-07 16:49:31 +03:00
|
|
|
{ stdenv, fetchFromGitHub, autoconf, automake, libtool
|
2010-07-28 22:01:17 +04:00
|
|
|
, pkgconfig, faad2, faac, a52dec, alsaLib, fftw, lame, libavc1394
|
|
|
|
, libiec61883, libraw1394, libsndfile, libvorbis, libogg, libjpeg
|
2012-03-11 18:07:19 +04:00
|
|
|
, libtiff, freetype, mjpegtools, x264, gettext, openexr
|
2018-12-31 06:40:47 +03:00
|
|
|
, libXext, libXxf86vm, libXv, libXi, libX11, libXft, xorgproto, libtheora, libpng
|
2016-11-24 01:33:16 +03:00
|
|
|
, libdv, libuuid, file, nasm, perl
|
|
|
|
, fontconfig, intltool }:
|
2014-12-04 17:57:16 +03:00
|
|
|
|
2010-07-28 22:01:17 +04:00
|
|
|
stdenv.mkDerivation {
|
2019-10-12 16:43:33 +03:00
|
|
|
name = "cinelerra-cv-2018-05-16";
|
2008-10-14 18:01:50 +04:00
|
|
|
|
2019-10-07 16:49:31 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ratopi";
|
|
|
|
repo = "CinelerraCV";
|
2019-10-12 16:20:19 +03:00
|
|
|
rev = "d9c0dbf4393717f0a42f4b91c3e1ed5b16f955dc";
|
|
|
|
sha256 = "0a8kfm1v96sv6jh4568crg6nkr6n3579i9xksfj8w199s6yxzsbk";
|
2011-06-23 02:23:45 +04:00
|
|
|
};
|
|
|
|
|
2008-10-14 18:01:50 +04:00
|
|
|
preConfigure = ''
|
2010-07-28 22:01:17 +04:00
|
|
|
find -type f -print0 | xargs --null sed -e "s@/usr/bin/perl@${perl}/bin/perl@" -i
|
2008-10-14 18:01:50 +04:00
|
|
|
./autogen.sh
|
2011-06-23 02:23:50 +04:00
|
|
|
sed -i -e "s@/usr/bin/file@${file}/bin/file@" ./configure
|
2010-07-28 22:01:17 +04:00
|
|
|
'';
|
2008-10-14 18:01:50 +04:00
|
|
|
|
2019-10-12 16:43:33 +03:00
|
|
|
## fix bug with parallel building
|
|
|
|
preBuild = ''
|
|
|
|
make -C cinelerra versioninfo.h
|
|
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2010-07-28 22:01:17 +04:00
|
|
|
buildInputs =
|
|
|
|
[ automake
|
2011-06-23 02:23:50 +04:00
|
|
|
autoconf libtool pkgconfig file
|
2009-04-18 16:47:11 +04:00
|
|
|
faad2 faac
|
2008-10-14 18:01:50 +04:00
|
|
|
a52dec alsaLib fftw lame libavc1394 libiec61883
|
|
|
|
libraw1394 libsndfile libvorbis libogg libjpeg libtiff freetype
|
2012-03-11 18:07:19 +04:00
|
|
|
mjpegtools x264 gettext openexr
|
2018-12-31 06:40:47 +03:00
|
|
|
libXext libXxf86vm libXv libXi libX11 libXft xorgproto
|
2011-06-23 02:23:50 +04:00
|
|
|
libtheora libpng libdv libuuid
|
2008-10-14 18:01:50 +04:00
|
|
|
nasm
|
|
|
|
perl
|
2016-11-24 01:33:16 +03:00
|
|
|
fontconfig intltool
|
2010-07-28 22:01:17 +04:00
|
|
|
];
|
2008-10-14 18:01:50 +04:00
|
|
|
|
2014-12-04 17:57:16 +03:00
|
|
|
meta = {
|
2014-06-23 00:49:32 +04:00
|
|
|
description = "Video Editor";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://www.cinelerra.org";
|
2010-07-28 22:01:17 +04:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
2014-06-19 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2008-10-14 18:01:50 +04:00
|
|
|
};
|
|
|
|
}
|