2021-11-07 14:50:48 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, libtool
|
|
|
|
, pkg-config
|
|
|
|
, faad2
|
|
|
|
, faac
|
|
|
|
, a52dec
|
|
|
|
, alsa-lib
|
|
|
|
, fftw
|
|
|
|
, lame
|
|
|
|
, libavc1394
|
|
|
|
, libiec61883
|
|
|
|
, libraw1394
|
|
|
|
, libsndfile
|
|
|
|
, libvorbis
|
|
|
|
, libogg
|
|
|
|
, libjpeg
|
|
|
|
, libtiff
|
|
|
|
, freetype
|
|
|
|
, mjpegtools
|
|
|
|
, x264
|
|
|
|
, gettext
|
|
|
|
, openexr
|
|
|
|
, libXext
|
|
|
|
, libXxf86vm
|
|
|
|
, libXv
|
|
|
|
, libXi
|
|
|
|
, libX11
|
|
|
|
, libXft
|
|
|
|
, xorgproto
|
|
|
|
, libtheora
|
|
|
|
, libpng
|
|
|
|
, libdv
|
|
|
|
, libuuid
|
|
|
|
, file
|
|
|
|
, nasm
|
|
|
|
, perl
|
|
|
|
, fontconfig
|
|
|
|
, intltool
|
|
|
|
}:
|
2014-12-04 15:57:16 +01:00
|
|
|
|
2010-07-28 20:01:17 +02:00
|
|
|
stdenv.mkDerivation {
|
2021-11-07 14:50:48 +01:00
|
|
|
pname = "cinelerra-cv";
|
2023-01-29 16:11:22 +01:00
|
|
|
version = "unstable-2023-01-29";
|
2008-10-14 16:01:50 +02:00
|
|
|
|
2019-10-07 15:49:31 +02:00
|
|
|
src = fetchFromGitHub {
|
2021-02-10 22:05:40 +01:00
|
|
|
owner = "cinelerra-cv-team";
|
|
|
|
repo = "cinelerra-cv";
|
2023-01-29 16:11:22 +01:00
|
|
|
rev = "bb00ac6b70fcf3cf419348b56f9b264bc01c1a89";
|
|
|
|
sha256 = "11965kb3d7xcvlcf8p7jlzk9swk5i78x7wja4s3043wlzmqmwv0q";
|
2011-06-23 00:23:45 +02:00
|
|
|
};
|
|
|
|
|
2008-10-14 16:01:50 +02:00
|
|
|
preConfigure = ''
|
2010-07-28 20:01:17 +02:00
|
|
|
find -type f -print0 | xargs --null sed -e "s@/usr/bin/perl@${perl}/bin/perl@" -i
|
2008-10-14 16:01:50 +02:00
|
|
|
./autogen.sh
|
2011-06-23 00:23:50 +02:00
|
|
|
sed -i -e "s@/usr/bin/file@${file}/bin/file@" ./configure
|
2010-07-28 20:01:17 +02:00
|
|
|
'';
|
2008-10-14 16:01:50 +02:00
|
|
|
|
2019-10-12 15:43:33 +02:00
|
|
|
## fix bug with parallel building
|
|
|
|
preBuild = ''
|
|
|
|
make -C cinelerra versioninfo.h
|
|
|
|
'';
|
2021-11-09 10:21:51 +01:00
|
|
|
|
2019-10-12 15:43:33 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-02-10 22:05:40 +01:00
|
|
|
nativeBuildInputs = [ automake autoconf libtool pkg-config file intltool ];
|
2021-11-09 10:21:51 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
faad2
|
|
|
|
faac
|
|
|
|
a52dec
|
|
|
|
alsa-lib
|
|
|
|
fftw
|
|
|
|
lame
|
|
|
|
libavc1394
|
|
|
|
libiec61883
|
|
|
|
libraw1394
|
|
|
|
libsndfile
|
|
|
|
libvorbis
|
|
|
|
libogg
|
|
|
|
libjpeg
|
|
|
|
libtiff
|
|
|
|
freetype
|
|
|
|
mjpegtools
|
|
|
|
x264
|
|
|
|
gettext
|
|
|
|
openexr
|
|
|
|
libXext
|
|
|
|
libXxf86vm
|
|
|
|
libXv
|
|
|
|
libXi
|
|
|
|
libX11
|
|
|
|
libXft
|
|
|
|
xorgproto
|
|
|
|
libtheora
|
|
|
|
libpng
|
|
|
|
libdv
|
|
|
|
libuuid
|
|
|
|
nasm
|
|
|
|
perl
|
|
|
|
fontconfig
|
|
|
|
];
|
2008-10-14 16:01:50 +02:00
|
|
|
|
2021-02-10 22:05:40 +01:00
|
|
|
meta = with lib; {
|
2021-02-16 02:32:57 +01:00
|
|
|
description = "Professional video editing and compositing environment (community version)";
|
|
|
|
homepage = "http://cinelerra-cv.wikidot.com/";
|
2021-02-10 22:05:40 +01:00
|
|
|
maintainers = with maintainers; [ marcweber ];
|
|
|
|
license = licenses.gpl2Only;
|
2008-10-14 16:01:50 +02:00
|
|
|
};
|
|
|
|
}
|