quake3e: use SDL; 2024-09-02-dev -> 2025-10-14 (#487720)

This commit is contained in:
Marcin Serwin 2026-03-07 10:51:36 +00:00 committed by GitHub
commit e7f675be56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,15 +19,15 @@
let
arch = if stdenv.hostPlatform.isx86_64 then "x64" else stdenv.hostPlatform.parsed.cpu.name;
in
stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "Quake3e";
version = "2024-09-02-dev";
version = "2025-10-14";
src = fetchFromGitHub {
owner = "ec-";
repo = "Quake3e";
rev = "b6e7ce4f78711e1c9d2924044a9a9d8a9db7020f";
sha256 = "sha256-tQgrHiP+QhBzcUnHRwzaDe38Th0uDt450fra8O3Vjqc=";
tag = finalAttrs.version;
sha256 = "sha256-3Ij0GEPXdl7Lhp9o1Zdwg1tcLgFEay686QjhSlh8iAo=";
};
nativeBuildInputs = [
@ -60,12 +60,6 @@ stdenv.mkDerivation {
sed -i -e 's#"libcurl.so.4"#"${curl.out}/lib/libcurl.so.4"#' code/client/cl_curl.h
'';
# Default value for `USE_SDL` changed (from 0 to 1) in 5f8ce6d (2020-12-26)
# Setting `USE_SDL=0` in `makeFlags` doesn't work
preConfigure = ''
sed -i 's/USE_SDL *= 1/USE_SDL = 0/' Makefile
'';
installPhase = ''
runHook preInstall
make install DESTDIR=$out/lib
@ -93,4 +87,4 @@ stdenv.mkDerivation {
alx
];
};
}
})