diff options
Diffstat (limited to 'pkgs/applications/video/glaxnimate/default.nix')
-rw-r--r-- | pkgs/applications/video/glaxnimate/default.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/applications/video/glaxnimate/default.nix b/pkgs/applications/video/glaxnimate/default.nix index 9e4eda8a0790..984e5db8f665 100644 --- a/pkgs/applications/video/glaxnimate/default.nix +++ b/pkgs/applications/video/glaxnimate/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitLab +, fetchpatch , cmake , zlib , potrace @@ -47,6 +48,15 @@ stdenv.mkDerivation rec { fetchSubmodules = true; }; + patches = [ + # Backport fix for newer ffmpeg + # FIXME: remove in next update + (fetchpatch { + url = "https://invent.kde.org/graphics/glaxnimate/-/commit/4fb2b67a0f0ce2fbffb6fe9f87c3bf7914c8a602.patch"; + hash = "sha256-QjCnscGa7n+zwrImA4mbQiTQb9jmDGm8Y/7TK8jZXvM="; + }) + ]; + nativeBuildInputs = [ cmake wrapQtAppsHook @@ -72,7 +82,7 @@ stdenv.mkDerivation rec { qtWrapperArgs = [ ''--prefix PATH : ${python3WithLibs}/bin'' ]; - passthru.tests.version = lib.optionalAttrs stdenv.isLinux (testers.testVersion { + passthru.tests.version = lib.optionalAttrs stdenv.hostPlatform.isLinux (testers.testVersion { package = glaxnimate; command = "${xvfb-run}/bin/xvfb-run glaxnimate --version"; }); |