shotcut: 25.01 -> 25.08, mlt: 7.30 -> 7.32, fix mlt-qt6 in shotcut (#421788)

This commit is contained in:
Weijia Wang
2025-10-08 17:12:55 +00:00
committed by GitHub
3 changed files with 15 additions and 13 deletions
+2 -2
View File
@@ -40,13 +40,13 @@
stdenv.mkDerivation rec {
pname = "mlt";
version = "7.30.0";
version = "7.32.0";
src = fetchFromGitHub {
owner = "mltframework";
repo = "mlt";
tag = "v${version}";
hash = "sha256-z1bW+hcVeMeibC1PUS5XNpbkNB+75YLoOWZC2zuDol4=";
hash = "sha256-8T5FXXGs7SxL6nD+R1Q/0Forsdp5Xux4S3VLvgqXzw8=";
# The submodule contains glaxnimate code, since MLT uses internally some functions defined in glaxnimate.
# Since glaxnimate is not available as a library upstream, we cannot remove for now this dependency on
# submodules until upstream exports glaxnimate as a library: https://gitlab.com/mattbas/glaxnimate/-/issues/545
+7 -6
View File
@@ -45,12 +45,13 @@ stdenv.mkDerivation rec {
libepoxy
];
env = {
NIX_CFLAGS_COMPILE = "-std=c++17"; # needed for latest gtest
}
// lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NIX_LDFLAGS = "-framework OpenGL";
};
env =
lib.optionalAttrs stdenv.cc.isGNU {
NIX_CFLAGS_COMPILE = "-std=c++17"; # needed for latest gtest
}
// lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NIX_LDFLAGS = "-framework OpenGL";
};
enableParallelBuilding = true;
+6 -5
View File
@@ -7,11 +7,11 @@
frei0r,
ladspaPlugins,
gettext,
mlt,
jack1,
pkg-config,
fftw,
qt6,
qt6Packages,
cmake,
gitUpdater,
ffmpeg,
@@ -19,13 +19,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "shotcut";
version = "25.01.25";
version = "25.08.16";
src = fetchFromGitHub {
owner = "mltframework";
repo = "shotcut";
tag = "v${finalAttrs.version}";
hash = "sha256-YrnmhxD7Yf2LgdEaBU4mmRdvZdO6VQ6IAb4s+V9QvLM=";
hash = "sha256-PpMfiqUwG11H+7sLkp3sLzDWjco1OxYqGyfMAFojSPU=";
};
nativeBuildInputs = [
@@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
frei0r
ladspaPlugins
gettext
mlt
qt6Packages.mlt
fftw
qt6.qtbase
qt6.qttools
@@ -54,7 +54,8 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
(replaceVars ./fix-mlt-ffmpeg-path.patch {
inherit mlt ffmpeg;
inherit ffmpeg;
mlt = qt6Packages.mlt;
})
];