ddx-rebirth: 0.59.20200202 -> unstable-2022-09-17

Fixes build by switching to default compiler.
While at it moved over to SDL2.
This commit is contained in:
Sergei Trofimovich 2022-09-24 08:39:33 +01:00
parent 78fa74ccd1
commit c6b52733b8
2 changed files with 10 additions and 8 deletions

View file

@ -4,8 +4,9 @@
, fetchpatch , fetchpatch
, scons , scons
, pkg-config , pkg-config
, SDL , SDL2
, SDL_mixer , SDL2_image
, SDL2_mixer
, libGLU , libGLU
, libGL , libGL
, libpng , libpng
@ -21,21 +22,23 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dxx-rebirth"; pname = "dxx-rebirth";
version = "0.59.20200202"; version = "unstable-2022-09-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dxx-rebirth"; owner = "dxx-rebirth";
repo = "dxx-rebirth"; repo = "dxx-rebirth";
rev = "8ebb66c5c9c74ebb93d49741cc9545f2bb7fa05d"; rev = "ad46235b67a24a38dec4734f94a59eba149ad94a";
sha256 = "1lsrlp47aby2m9hh7i3nv5rb0srlkmnq1w2ca6vyvlga9m9h7jrk"; hash = "sha256-vIAY1O4VnOsV617J5yjg09JIL/vK4Fb/lopnX17g+uY=";
}; };
nativeBuildInputs = [ pkg-config scons ]; nativeBuildInputs = [ pkg-config scons ];
buildInputs = [ libGLU libGL libpng physfs SDL SDL_mixer ]; buildInputs = [ libGLU libGL libpng physfs SDL2 SDL2_image SDL2_mixer ];
enableParallelBuilding = true; enableParallelBuilding = true;
sconsFlags = [ "sdl2=1" ];
NIX_CFLAGS_COMPILE = [ NIX_CFLAGS_COMPILE = [
"-Wno-format-nonliteral" "-Wno-format-nonliteral"
"-Wno-format-truncation" "-Wno-format-truncation"

View file

@ -33336,8 +33336,7 @@ with pkgs;
dwarf-therapist = dwarf-fortress-packages.dwarf-therapist; dwarf-therapist = dwarf-fortress-packages.dwarf-therapist;
dxx-rebirth = callPackage ../games/dxx-rebirth dxx-rebirth = callPackage ../games/dxx-rebirth { };
{ stdenv = gcc10StdenvCompat; physfs = physfs_2; };
inherit (callPackages ../games/dxx-rebirth/assets.nix { }) inherit (callPackages ../games/dxx-rebirth/assets.nix { })
descent1-assets descent1-assets