performous: fix build with ffmpeg 7

This commit is contained in:
Weijia Wang 2024-11-07 04:05:47 +01:00
parent d74b818ad0
commit c357e610d9

View File

@ -2,6 +2,7 @@
lib, lib,
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
fetchpatch,
SDL2, SDL2,
aubio, aubio,
boost, boost,
@ -43,6 +44,12 @@ stdenv.mkDerivation rec {
patches = [ patches = [
./performous-cmake.patch ./performous-cmake.patch
./performous-fftw.patch ./performous-fftw.patch
(fetchpatch {
name = "performous-ffmpeg.patch";
url = "https://github.com/performous/performous/commit/f26c27bf74b85fa3e3b150682ab9ecf9aecb3c50.patch";
excludes = [ ".github/workflows/macos.yml" ];
hash = "sha256-cQVelET/g2Kx2PlV3pspjEoNIwwn5Yz6enYl5vCMMKo=";
})
]; ];
postPatch = '' postPatch = ''