From 7249e6c5614196b7cbcd81a7b837748df4a9f8b8 Mon Sep 17 00:00:00 2001 From: Emil Thorsoe Date: Sun, 3 Nov 2024 14:49:07 +0200 Subject: [PATCH] wf-recorder: fix compile for ffmpeg_7 https://github.com/ammen99/wf-recorder/pull/279 --- pkgs/applications/video/wf-recorder/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/applications/video/wf-recorder/default.nix b/pkgs/applications/video/wf-recorder/default.nix index b2f848773c8a..5f25b7112d98 100644 --- a/pkgs/applications/video/wf-recorder/default.nix +++ b/pkgs/applications/video/wf-recorder/default.nix @@ -14,6 +14,7 @@ libpulseaudio, pipewire, mesa, # for libgbm + fetchpatch, }: stdenv.mkDerivation rec { @@ -27,6 +28,14 @@ stdenv.mkDerivation rec { hash = "sha256-7/fQOkfAw5v3irD5blJOdq88j0VBrPVQQufdt9wsACk="; }; + patches = [ + # compile fixes from upstream, remove when they stop applying + (fetchpatch { + url = "https://github.com/ammen99/wf-recorder/commit/560bb92d3ddaeb31d7af77d22d01b0050b45bebe.diff"; + sha256 = "sha256-7jbX5k8dh4dWfolMkZXiERuM72zVrkarsamXnd+1YoI="; + }) + ]; + nativeBuildInputs = [ meson ninja