opensurge: fix build with cmake4, adopt (#458081)

This commit is contained in:
Sandro
2025-11-07 16:38:02 +00:00
committed by GitHub
+6 -1
View File
@@ -51,6 +51,11 @@ stdenv.mkDerivation (finalAttrs: {
passthru.updateScript = nix-update-script { };
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 3.1)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = {
mainProgram = "opensurge";
description = "Fun 2D retro platformer inspired by Sonic games and a game creation system";
@@ -59,6 +64,6 @@ stdenv.mkDerivation (finalAttrs: {
changelog = "https://github.com/alemart/opensurge/blob/v${finalAttrs.version}/CHANGES.md";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
maintainers = [ ];
maintainers = with lib.maintainers; [ iedame ];
};
})