animatch: fix build with cmake 4 (#449327)
This commit is contained in:
@@ -18,6 +18,12 @@ stdenv.mkDerivation rec {
|
|||||||
hash = "sha256-zBV45WMAXtCpPPbDpr04K/a9UtZ4KLP9nUauBlbhrFo=";
|
hash = "sha256-zBV45WMAXtCpPPbDpr04K/a9UtZ4KLP9nUauBlbhrFo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace libsuperderpy/src/3rdparty/cimgui/CMakeLists.txt --replace-fail \
|
||||||
|
'cmake_minimum_required(VERSION 3.1)' \
|
||||||
|
'cmake_minimum_required(VERSION 4.0)'
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
];
|
];
|
||||||
@@ -32,6 +38,8 @@ stdenv.mkDerivation rec {
|
|||||||
"-DLIBSUPERDERPY_STATIC=ON" # recommended by upstream for coexistence with other superderpy games
|
"-DLIBSUPERDERPY_STATIC=ON" # recommended by upstream for coexistence with other superderpy games
|
||||||
];
|
];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://gitlab.com/HolyPangolin/animatch/";
|
homepage = "https://gitlab.com/HolyPangolin/animatch/";
|
||||||
description = "Cute match three game for the Librem 5 smartphone";
|
description = "Cute match three game for the Librem 5 smartphone";
|
||||||
|
|||||||
Reference in New Issue
Block a user