2021-12-06 16:07:01 +00: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
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "cinelerra-cv";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "2.3-unstable-2024-03-20";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-02-13 14:23:35 +00:00
|
|
|
owner = "cinelerra-cv-team";
|
|
|
|
repo = "cinelerra-cv";
|
2024-04-21 15:54:59 +00:00
|
|
|
rev = "18a693425f78f7c4c68b5a342efce3e8db2a30dc";
|
|
|
|
hash = "sha256-+47Xa63GoKiQzEXbxmKUwJLDIFUnzc/FfxRPXCCxzpE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
find -type f -print0 | xargs --null sed -e "s@/usr/bin/perl@${perl}/bin/perl@" -i
|
|
|
|
./autogen.sh
|
|
|
|
sed -i -e "s@/usr/bin/file@${file}/bin/file@" ./configure
|
|
|
|
'';
|
|
|
|
|
|
|
|
## fix bug with parallel building
|
|
|
|
preBuild = ''
|
|
|
|
make -C cinelerra versioninfo.h
|
|
|
|
'';
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
nativeBuildInputs = [ automake autoconf libtool pkg-config file intltool ];
|
2021-12-06 16:07:01 +00: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
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
meta = with lib; {
|
2021-02-16 17:04:54 +00:00
|
|
|
description = "Professional video editing and compositing environment (community version)";
|
|
|
|
homepage = "http://cinelerra-cv.wikidot.com/";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "cinelerracv";
|
2021-02-13 14:23:35 +00:00
|
|
|
maintainers = with maintainers; [ marcweber ];
|
|
|
|
license = licenses.gpl2Only;
|
2024-04-21 15:54:59 +00:00
|
|
|
# https://github.com/cinelerra-cv-team/cinelerra-cv/issues/3
|
|
|
|
platforms = [ "x86_64-linux" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|