Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
125 lines
2.0 KiB
Nix
125 lines
2.0 KiB
Nix
{
|
|
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,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "cinelerra-cv";
|
|
version = "2.3-unstable-2025-01-25";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cinelerra-cv-team";
|
|
repo = "cinelerra-cv";
|
|
rev = "fb6eb391fe907d0f3b48b90f87e7a416408054f3";
|
|
hash = "sha256-mu6yY44IlbmoBn1DUARQm5p16y6WShPc3gVML8+59xc=";
|
|
};
|
|
|
|
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
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [
|
|
automake
|
|
autoconf
|
|
libtool
|
|
pkg-config
|
|
file
|
|
intltool
|
|
];
|
|
|
|
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
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Professional video editing and compositing environment (community version)";
|
|
homepage = "http://cinelerra-cv.wikidot.com/";
|
|
mainProgram = "cinelerracv";
|
|
maintainers = with maintainers; [ marcweber ];
|
|
license = licenses.gpl2Only;
|
|
# https://github.com/cinelerra-cv-team/cinelerra-cv/issues/3
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
}
|