Merge pull request #197798 from wamserma/bump-eduke

eduke32: 20210910 -> 20221026
This commit is contained in:
Sergei Trofimovich 2022-11-11 22:22:44 +00:00 committed by GitHub
commit 3e2bc675f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>'
'';
makeFlags = [