performous: fix build (#354129)

This commit is contained in:
Austin Horstman 2024-11-07 11:59:56 -06:00 committed by GitHub
commit 1c885ada30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 29 additions and 23 deletions

View File

@ -1,24 +1,26 @@
{ lib
, stdenv
, fetchFromGitHub
, SDL2
, aubio
, boost
, cmake
, ffmpeg
, fmt
, gettext
, glew
, glibmm
, glm
, icu
, libepoxy
, librsvg
, libxmlxx
, nlohmann_json
, pango
, pkg-config
, portaudio
{
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
SDL2,
aubio,
boost,
cmake,
ffmpeg,
fmt,
gettext,
glew,
glibmm,
glm,
icu,
libepoxy,
librsvg,
libxmlxx,
nlohmann_json,
pango,
pkg-config,
portaudio,
}:
stdenv.mkDerivation rec {
@ -42,6 +44,12 @@ stdenv.mkDerivation rec {
patches = [
./performous-cmake.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 = ''

View File

@ -34677,8 +34677,6 @@ with pkgs;
pentobi = libsForQt5.callPackage ../games/pentobi { };
performous = callPackage ../games/performous { };
pinball = callPackage ../games/pinball { };
pingus = callPackage ../games/pingus { };