ecwolf: better code style for meta.broken, fix GTK game selector (#212871)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Jayman2000 2023-01-27 06:56:42 -05:00 committed by GitHub
parent 873acaa045
commit 8d6a0e9658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@
, SDL2
, SDL2_net
, SDL2_mixer
, gtk2
, gtk3
}:
stdenv.mkDerivation rec {
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake copyDesktopItems pkg-config ];
buildInputs = [ zlib bzip2 libjpeg SDL2 SDL2_net SDL2_mixer gtk2 ];
buildInputs = [ zlib bzip2 libjpeg SDL2 SDL2_net SDL2_mixer gtk3 ];
desktopItems = [
(makeDesktopItem {
@ -61,11 +61,12 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
broken = stdenv.isDarwin;
description = "Enhanched SDL-based port of Wolfenstein 3D for various platforms";
homepage = "https://maniacsvault.net/ecwolf/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ sander ];
platforms = platforms.all;
# On Darwin, the linker fails to find a bunch of symbols.
broken = stdenv.isDarwin;
};
}