mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
performous: fix build (#354129)
This commit is contained in:
commit
1c885ada30
@ -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 = ''
|
@ -34677,8 +34677,6 @@ with pkgs;
|
||||
|
||||
pentobi = libsForQt5.callPackage ../games/pentobi { };
|
||||
|
||||
performous = callPackage ../games/performous { };
|
||||
|
||||
pinball = callPackage ../games/pinball { };
|
||||
|
||||
pingus = callPackage ../games/pingus { };
|
||||
|
Loading…
Reference in New Issue
Block a user