gzdoom: Fix kdialog not found

Co-authored-by: Azat Bahawi <azat@bahawi.net>
This commit is contained in:
Thibault Lemaire 2022-09-04 17:49:07 +02:00
parent 162b38410d
commit ed3b06d8b5

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, makeWrapper, openal, fluidsynth
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, makeWrapper, openal, fluidsynth
, soundfont-fluid, libGL, SDL2, bzip2, zlib, libjpeg, libsndfile, libvpx, mpg123
, game-music-emu, pkg-config, copyDesktopItems, makeDesktopItem }:
@ -52,6 +52,13 @@ let
zmusic
];
patches = [
(fetchpatch { # TODO: Delete me when upgrading to 4.9
url = "https://github.com/ZDoom/gzdoom/commit/aae85a1b9169953d8dcc5f138a477d5c7d75addb.patch";
sha256 = "upuLDgVMaGaFSVaDV9Hj13DR5LUma51xv+Mfsz9m9a0=";
})
];
NIX_CFLAGS_LINK = "-lopenal -lfluidsynth";
desktopItems = [