kdenlive: add glaxnimate support for Qt6

This commit is contained in:
Tobias Bora 2024-07-01 17:30:16 +02:00 committed by Manuel Bärenz
parent 4fd86e2bf7
commit e2a4084618
2 changed files with 24 additions and 3 deletions

View File

@ -1,4 +1,5 @@
{
lib,
mkKdeDerivation,
substituteAll,
qtsvg,
@ -12,6 +13,8 @@
libv4l,
frei0r,
fetchpatch,
glaxnimate,
enableGlaxnimate ? true,
}:
mkKdeDerivation {
pname = "kdenlive";
@ -20,7 +23,7 @@ mkKdeDerivation {
(
substituteAll {
src = ./dependency-paths.patch;
inherit mediainfo mlt;
inherit mediainfo mlt glaxnimate;
ffmpeg = ffmpeg-full;
}
)
@ -31,7 +34,12 @@ mkKdeDerivation {
url = "https://invent.kde.org/multimedia/kdenlive/-/commit/8be0e826471332bb739344ebe1859298c46e9e0f.patch";
hash = "sha256-5hLePH5NlO4Lx8lg9kjBPI4jTmP666RGplaVCmS/9TA=";
})
];
] ++ lib.optional enableGlaxnimate (
substituteAll {
src = ./dependency-paths-glaxnimate.patch;
inherit glaxnimate;
}
);
extraBuildInputs = [
qtsvg
@ -43,7 +51,7 @@ mkKdeDerivation {
mlt
shared-mime-info
libv4l
];
] ++ lib.optional enableGlaxnimate glaxnimate;
qtWrapperArgs = [
"--set FREI0R_PATH ${frei0r}/lib/frei0r-1"

View File

@ -0,0 +1,13 @@
diff --git a/src/kdenlivesettings.kcfg b/src/kdenlivesettings.kcfg
index 86fa5ef..6aeccbe 100644
--- a/src/kdenlivesettings.kcfg
+++ b/src/kdenlivesettings.kcfg
@@ -657,7 +657,7 @@
<entry name="glaxnimatePath" type="String">
<label>Path to the Glaxnimate application.</label>
- <default></default>
+ <default>@glaxnimate@/bin/glaxnimate</default>
</entry>
<entry name="nice_tasks" type="Bool">