eduke32: 20210910 -> 20221026
This commit is contained in:
parent
89e49d87d3
commit
f124b56986
@ -18,13 +18,13 @@ let
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "eduke32";
|
||||
version = "20210910";
|
||||
rev = "9603";
|
||||
revExtra = "6c289cce4";
|
||||
version = "20221026";
|
||||
rev = "10165";
|
||||
revExtra = "a9c797dcb";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dukeworld.com/eduke32/synthesis/${version}-${rev}-${revExtra}/eduke32_src_${version}-${rev}-${revExtra}.tar.xz";
|
||||
sha256 = "sha256-/NQMsmT9z2N3KWBrP8hlGngQKJUgSP+vrNoFqJscRCk=";
|
||||
sha256 = "sha256-8xvIe+kVOu2VIZACHis04tvyrl1IRrt0tY8D04n6ZjU=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -56,6 +56,11 @@ in stdenv.mkDerivation rec {
|
||||
substituteInPlace source/glad/src/$f \
|
||||
--replace libGL.so ${libGL}/lib/libGL.so
|
||||
done
|
||||
|
||||
substituteInPlace source/imgui/src/imgui_impl_sdl.cpp \
|
||||
--replace '#include <SDL.h>' '#include <SDL2/SDL.h>' \
|
||||
--replace '#include <SDL_syswm.h>' '#include <SDL2/SDL_syswm.h>' \
|
||||
--replace '#include <SDL_vulkan.h>' '#include <SDL2/SDL_vulkan.h>'
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${lib.getDev SDL2}/include/SDL2 -I${lib.getDev SDL2_mixer}/include/SDL2";
|
||||
|
Loading…
Reference in New Issue
Block a user