glaxnimate: backport patch to fix build with latest ffmpeg

This commit is contained in:
K900 2024-10-03 09:19:37 +03:00
parent e9bc7f4199
commit 97a95cd143

View File

@ -1,6 +1,7 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitLab , fetchFromGitLab
, fetchpatch
, cmake , cmake
, zlib , zlib
, potrace , potrace
@ -47,6 +48,15 @@ stdenv.mkDerivation rec {
fetchSubmodules = true; 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 = [ nativeBuildInputs = [
cmake cmake
wrapQtAppsHook wrapQtAppsHook