Unverified Commit ec9d16ec authored by Vlad M.'s avatar Vlad M. Committed by GitHub
Browse files

wf-recorder: fix compile for ffmpeg_7 (#353362)

parents 776ff64a 7249e6c5
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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