Unverified Commit 0e6c14d9 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

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

parents bc7c6935 a6c47b24
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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 ];
  };
})