taisei: refactor

This commit is contained in:
Gliczy 2024-11-04 18:40:26 +01:00
parent daf3bcfbd3
commit 1ffa3b644d
2 changed files with 7 additions and 20 deletions

View File

@ -1,13 +0,0 @@
diff --git a/meson.build b/meson.build
index 80aa58d..c7e9d0a 100644
--- a/meson.build
+++ b/meson.build
@@ -17,7 +17,7 @@ project('taisei', 'c',
# You may want to change these for a debug build dir
'buildtype=release',
'strip=true',
- 'b_lto=true',
+ 'b_lto=false',
'b_ndebug=if-release',
]
)

View File

@ -49,13 +49,13 @@ stdenv.mkDerivation rec {
zlib
];
patches = [ ./0001-lto-fix.patch ];
mesonFlags = [ "-Db_lto=false" ];
preConfigure = ''
patchShebangs .
'';
meta = with lib; {
meta = {
broken = stdenv.hostPlatform.isDarwin;
description = "Free and open-source Touhou Project clone and fangame";
mainProgram = "taisei";
@ -65,11 +65,11 @@ stdenv.mkDerivation rec {
folklore.
'';
homepage = "https://taisei-project.org/";
license = [
licenses.mit
licenses.cc-by-40
license = with lib.licenses; [
mit
cc-by-40
];
maintainers = [ maintainers.lambda-11235 ];
platforms = platforms.all;
maintainers = with lib.maintainers; [ lambda-11235 ];
platforms = lib.platforms.all;
};
}