wf-recorder: fix compile for ffmpeg_7

https://github.com/ammen99/wf-recorder/pull/279
This commit is contained in:
Emil Thorsoe 2024-11-03 14:49:07 +02:00
parent b4cca74d1b
commit 7249e6c561

View File

@ -14,6 +14,7 @@
libpulseaudio, libpulseaudio,
pipewire, pipewire,
mesa, # for libgbm mesa, # for libgbm
fetchpatch,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -27,6 +28,14 @@ stdenv.mkDerivation rec {
hash = "sha256-7/fQOkfAw5v3irD5blJOdq88j0VBrPVQQufdt9wsACk="; 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 = [ nativeBuildInputs = [
meson meson
ninja ninja