From 97a95cd14324e7e0fb45825774c3782ac41a8d2c Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 3 Oct 2024 09:19:37 +0300 Subject: [PATCH] glaxnimate: backport patch to fix build with latest ffmpeg --- pkgs/applications/video/glaxnimate/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/applications/video/glaxnimate/default.nix b/pkgs/applications/video/glaxnimate/default.nix index 7c6d8500d877..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