Index | Thread | Search

From:
"Omar Polo" <op@omarpolo.com>
Subject:
update games/taisei to 1.4.4
To:
ports@openbsd.org
Date:
Sun, 09 Nov 2025 12:58:51 +0100

Download raw body.

Thread
as per subject, finally here's the diff to update it.  i've started to
work on it in leipzig, then got distracted until jtt@ reminded me that
the game does not work right now since he was testing the cglm update.

the problem with koishi (an internal library) is that we build with
-Ddeafult_library=shared, but koishi is not installed.  Instead, pass
-Dkoishi:default_library=static so only that (bundled) dependincy is
statically linked.

haven't played a lot but reached the third stage, i consider this a win :p

ok?

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/games/taisei/Makefile,v
diff -u -p -r1.22 Makefile
--- Makefile	8 Nov 2024 11:56:13 -0000	1.22
+++ Makefile	9 Nov 2025 11:54:31 -0000
@@ -8,7 +8,7 @@ USE_NOBTCFI =		Yes
 
 COMMENT =		clone of the touhou games
 
-VERSION =		1.4.2
+VERSION =		1.4.4
 DISTNAME =		taisei-${VERSION}
 
 CATEGORIES =		games
@@ -23,8 +23,9 @@ PERMIT_PACKAGE =	Yes
 
 # Somehow, even if it links with c++, c++abi and pthread don't end up
 # here.  Maybe the -Wl,--as-needed.
-WANTLIB += ${COMPILER_LIBCXX} SDL2 c crypto freetype m opusfile png
-WANTLIB += shaderc_shared spirv-cross-c-shared webpdecoder z zstd
+WANTLIB += ${COMPILER_LIBCXX} SDL3 c crypto freetype glslang
+WANTLIB += glslang-default-resource-limits m opusfile png
+WANTLIB += spirv-cross-c-shared webpdecoder z zstd
 
 SITES =	https://github.com/taisei-project/taisei/releases/download/v${VERSION}/
 
@@ -37,20 +38,25 @@ MODULES =		devel/meson \
 
 MODPY_RUNDEP =		No
 
-BUILD_DEPENDS =		math/cglm
+BUILD_DEPENDS =		devel/cmake/core \
+			graphics/shaderc \
+			graphics/spirv-tools \
+			math/cglm
 
 RUN_DEPENDS =		devel/desktop-file-utils \
 			misc/shared-mime-info \
 			x11/gtk+4,-guic
 
 LIB_DEPENDS =		audio/opusfile \
-			devel/sdl2>=2.0.5 \
+			devel/sdl3 \
+			graphics/glslang \
 			graphics/libwebp>=0.5 \
 			graphics/png>=1.5.0 \
-			graphics/shaderc \
 			graphics/spirv-cross
 
-CONFIGURE_ARGS +=	-Ddefault_library=shared \
+CONFIGURE_ARGS +=	-Dallocator=libc \
+			-Ddefault_library=shared \
+			-Dkoishi:default_library=static \
 			-Ddocs=disabled \
 			-Dgamemode=disabled \
 			-Dinstall_macos_bundle=disabled \
@@ -69,5 +75,6 @@ CONFIGURE_ARGS +=	-D${lib}:default_libra
 .endfor
 
 DEBUG_PACKAGES =	${BUILD_PACKAGES}
+CONFIGURE_ARGS +=	-Ddebug=true -Dstrip=false
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/games/taisei/distinfo,v
diff -u -p -r1.6 distinfo
--- distinfo	8 Nov 2024 11:56:13 -0000	1.6
+++ distinfo	22 Aug 2025 15:06:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (taisei-1.4.2.tar.xz) = XYaarmT48zkMR7dEQf0EHHd35ZTkpgU2u3tSVk6oT6c=
-SIZE (taisei-1.4.2.tar.xz) = 219573092
+SHA256 (taisei-1.4.4.tar.xz) = 8G7RH5Vcn3Pmuzqt1Jmx8EtDcODwsJ1j8+s3bZGCYo0=
+SIZE (taisei-1.4.4.tar.xz) = 290331536
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/games/taisei/pkg/PLIST,v
diff -u -p -r1.8 PLIST
--- pkg/PLIST	8 Nov 2024 11:56:13 -0000	1.8
+++ pkg/PLIST	31 Jul 2025 12:40:37 -0000
@@ -1004,6 +1004,7 @@ share/taisei/00-taisei.pkgdir/shader/lib
 share/taisei/00-taisei.pkgdir/shader/lib/pbr_generic.frag.glslh
 share/taisei/00-taisei.pkgdir/shader/lib/pbr_generic.glslh
 share/taisei/00-taisei.pkgdir/shader/lib/render_context.glslh
+share/taisei/00-taisei.pkgdir/shader/lib/sdlgpu.glslh
 share/taisei/00-taisei.pkgdir/shader/lib/sprite_default.vert.glslh
 share/taisei/00-taisei.pkgdir/shader/lib/sprite_main.frag.glslh
 share/taisei/00-taisei.pkgdir/shader/lib/util.glslh