From 9a1ff82c5b1ded490fb4251daf9fb779a076c90f Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Mon, 29 Jun 2026 16:18:32 -0500 Subject: [PATCH] add: taisei (#13520) (#13532) --- anda/games/taisei/anda.hcl | 5 ++ anda/games/taisei/taisei.spec | 99 +++++++++++++++++++++++++++++++++++ anda/games/taisei/update.rhai | 3 ++ 3 files changed, 107 insertions(+) create mode 100644 anda/games/taisei/anda.hcl create mode 100644 anda/games/taisei/taisei.spec create mode 100644 anda/games/taisei/update.rhai diff --git a/anda/games/taisei/anda.hcl b/anda/games/taisei/anda.hcl new file mode 100644 index 0000000000..9dd88b487b --- /dev/null +++ b/anda/games/taisei/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "taisei.spec" + } +} diff --git a/anda/games/taisei/taisei.spec b/anda/games/taisei/taisei.spec new file mode 100644 index 0000000000..b20092604a --- /dev/null +++ b/anda/games/taisei/taisei.spec @@ -0,0 +1,99 @@ +Name: taisei +Version: 1.4.4 +Release: 1%{?dist} +Summary: A free and open-source Touhou Project fangame +Packager: Jan200101 + +License: MIT AND CC-BY-4.0 AND CC0-1.0 AND LicenseRef-Fedora-Public-Domain +URL: https://github.com/taisei-project/taisei +Source0: %{url}/releases/download/v%{version}/taisei-%{version}.tar.xz + +BuildRequires: meson +BuildRequires: gcc gcc-c++ +BuildRequires: pkgconfig(libwebpdecoder) +BuildRequires: pkgconfig(libzip) +BuildRequires: pkgconfig(sdl3) +BuildRequires: pkgconfig(opusfile) +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(cglm) +BuildRequires: pkgconfig(libcrypto) +BuildRequires: pkgconfig(libzstd) +BuildRequires: python3-zstandard +BuildRequires: pkgconfig(gamemode) +BuildRequires: pkgconfig(mimalloc) +# shader validation +BuildRequires: glslc +# documentation +BuildRequires: python3-docutils + +Requires: hicolor-icon-theme +Requires: %{name}-data = %{version} + +%package data +Summary: game data for %{name} +BuildArch: noarch + +%description data +required game data for %{name} + +%description +Taisei Project is an open source fan-game set in the world of Tōhō Project. +It is a top-down vertical-scrolling curtain fire shooting game (STG), +also known as a "bullet hell" or "danmaku." +STGs are fast-paced games focused around pattern recognition and mastery +through practice. + +Taisei Project is highly portable, and is written in C11, using SDL3 with +an OpenGL renderer. +It is officially supported on Windows, Linux, macOS, and through WebGL-enabled +browsers such as Firefox and Chromium-based browsers (Chrome, Edge, etc). +It can also be compiled for a number of other operating systems. + +%prep +%autosetup -n taisei-%{version} + +# the build defaults force strip on and there is no way to disable it via flags +sed -i "/'strip=true'/d" meson.build + +%conf +%meson \ + -Dallocator=mimalloc \ + -Dvfs_zip=enabled \ + -Dpackage_data=enabled \ + -Dinstall_relocatable=disabled \ + -Dinstall_freedesktop=enabled \ + -Dshader_transpiler=disabled \ + -Dshader_transpiler_dxbc=disabled \ + -Dvalidate_glsl=enabled \ + -Dinstall_macos_bundle=disabled \ + -Dgamemode=enabled + +%build +%meson_build + +%install +%meson_install + +%check +%meson_test + +%files +%license COPYING +%{_bindir}/taisei +%{_appsdir}/org.taisei_project.Taisei.desktop +%{_appsdir}/org.taisei_project.Taisei.tsr.desktop +%{_hicolordir}/*/apps/taisei.png +%{_hicolordir}/*/apps/org.taisei_project.Taisei.png +%{_hicolordir}/*/mimetypes/org.taisei_project.Taisei.tsr.png +%{_hicolordir}/*/mimetypes/taisei-replay.png +%{_datadir}/mime/packages/org.taisei_project.Taisei.xml +%{_metainfodir}/org.taisei_project.Taisei.appdata.xml +%{_docdir}/taisei + +%files data +%license COPYING +%{_datadir}/taisei + +%changelog +* Mon Jun 29 2026 Jan200101 +- Initial package diff --git a/anda/games/taisei/update.rhai b/anda/games/taisei/update.rhai new file mode 100644 index 0000000000..62580ea81b --- /dev/null +++ b/anda/games/taisei/update.rhai @@ -0,0 +1,3 @@ +let v = gh("taisei-project/taisei"); +v.crop(1); +rpm.version(v);