depot/third_party/nixpkgs/pkgs/kde/gear/kdenlive/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

51 lines
900 B
Nix

{
mkKdeDerivation,
substituteAll,
qtsvg,
qtmultimedia,
qtnetworkauth,
qqc2-desktop-style,
ffmpeg-full,
mediainfo,
mlt,
shared-mime-info,
libv4l,
frei0r,
fetchpatch,
}:
mkKdeDerivation {
pname = "kdenlive";
patches = [
(
substituteAll {
src = ./dependency-paths.patch;
inherit mediainfo mlt;
ffmpeg = ffmpeg-full;
}
)
# Backport fix for crash after 5 minutes
# FIXME: remove in next release
(fetchpatch {
url = "https://invent.kde.org/multimedia/kdenlive/-/commit/8be0e826471332bb739344ebe1859298c46e9e0f.patch";
hash = "sha256-5hLePH5NlO4Lx8lg9kjBPI4jTmP666RGplaVCmS/9TA=";
})
];
extraBuildInputs = [
qtsvg
qtmultimedia
qtnetworkauth
qqc2-desktop-style
mlt
shared-mime-info
libv4l
];
qtWrapperArgs = [
"--set FREI0R_PATH ${frei0r}/lib/frei0r-1"
];
}