mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
63 lines
918 B
Nix
63 lines
918 B
Nix
{
|
|
mkKdeDerivation,
|
|
replaceVars,
|
|
mlt,
|
|
glaxnimate,
|
|
ffmpeg-full,
|
|
ffmpegthumbs,
|
|
pkg-config,
|
|
shared-mime-info,
|
|
qtsvg,
|
|
qtmultimedia,
|
|
qtnetworkauth,
|
|
kddockwidgets,
|
|
qqc2-desktop-style,
|
|
libv4l,
|
|
kio-extras,
|
|
opentimelineio,
|
|
frei0r,
|
|
qtimageformats,
|
|
}:
|
|
mkKdeDerivation {
|
|
pname = "kdenlive";
|
|
|
|
patches = [
|
|
(replaceVars ./dependency-paths.patch {
|
|
inherit mlt glaxnimate;
|
|
ffmpeg = ffmpeg-full;
|
|
})
|
|
];
|
|
|
|
extraCmakeFlags = [
|
|
"-DFETCH_OTIO=0"
|
|
];
|
|
|
|
extraNativeBuildInputs = [
|
|
pkg-config
|
|
shared-mime-info
|
|
];
|
|
|
|
extraBuildInputs = [
|
|
qtsvg
|
|
qtmultimedia
|
|
qtnetworkauth
|
|
qtimageformats # UI uses webp images
|
|
|
|
kddockwidgets
|
|
qqc2-desktop-style
|
|
kio-extras
|
|
|
|
ffmpeg-full
|
|
ffmpegthumbs
|
|
libv4l
|
|
mlt
|
|
opentimelineio
|
|
];
|
|
|
|
qtWrapperArgs = [
|
|
"--set FREI0R_PATH ${frei0r}/lib/frei0r-1"
|
|
];
|
|
|
|
meta.mainProgram = "kdenlive";
|
|
}
|