games-simulation/kittenspaceagency-bin: Add Kitten Space Agency native Linux package

Kitten Space Agency is a space/rocketry simulation game from RocketWerkz, and native Linux builds have recently become available

Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
This commit is contained in:
Michael Moon
2026-02-21 00:46:15 +08:00
parent 0917103cac
commit 8ba07b10f7
3 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST kittenspaceagency-bin-2026.2.18-r3622.tar 2484724224 BLAKE2B 82d8aebdf8620daf357bb60c576b28b621fb5eb88252343b9c1743dd257cf803575e44857d4e462efac9fc3426ea02dff897e29b13892bb3ebfe801e38af0ae7 SHA512 605396c13267be85c943f2316315e5482850f0855b234a787dbfd49807554f8581fc333e86e1f507454732c604948cd2553ba9c06c379bdf313bf74e08fe43df
DIST kittenspaceagency-bin-2026.2.31-r3640.tar.gz 1894802379 BLAKE2B 1fb3130cb22290faabb875915693aaa34328db5b76771c503d00cc8f3f8f40d52ac723144dde42d04f8b7a55d8562f19e50f892f0fca663175d684a4ab005ffe SHA512 b401800a39a6faa05c7c891c94779ea73bfabc63f5c252506b9aa895fe74310905bfb0fffa700fe39a44c741438f82b2a9b4529e31a1efeab926811749faf5f8

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop
DESCRIPTION="A space flight and rocketry simulation"
HOMEPAGE="https://ksa.ahwoo.com"
SRC_URI="https://ksa-linux.ahwoo.com/download?file=setup_ksa_v${PV}.${PR#r}.tar -> ${P}-${PR}.tar"
S="${WORKDIR}/linux-x64"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="mirror strip"
RDEPEND="media-libs/vulkan-loader"
pkg_pretend() {
ewarn "Kitten Space Agency has myriad bugs with AMD GPUs, but seems to work fine on nVidia"
}
src_install() {
insinto "/opt/kittenspaceagency"
doins -r .
exeinto "/opt/kittenspaceagency"
doexe "KSA"
doexe "Brutal.Monitor.Subprocess"
cat > kittenspaceagency << 'ENDWRAPPER'
#!/usr/bin/env bash
cd /opt/kittenspaceagency
XDG_SESSION_TYPE=x11 exec ./KSA "$@"
ENDWRAPPER
dobin kittenspaceagency
make_desktop_entry --eapi9 "/usr/bin/kittenspaceagency" \
-d "kittenspaceagency" \
-n "Kitten Space Agency" \
-C "${DESCRIPTION}"
}

View File

@@ -0,0 +1,50 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop
DESCRIPTION="A space flight and rocketry simulation"
HOMEPAGE="https://ksa.ahwoo.com"
SRC_URI="https://ksa-linux.ahwoo.com/download?file=setup_ksa_v${PV}.${PR#r}.tar.gz -> ${P}-${PR}.tar.gz"
S="${WORKDIR}/linux-x64"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="mirror strip"
RDEPEND="media-libs/vulkan-loader
|| ( >=dev-dotnet/dotnet-sdk-10
>=dev-dotnet/dotnet-sdk-bin-10
)"
pkg_pretend() {
ewarn "Kitten Space Agency has myriad bugs with AMD GPUs, but seems to work fine on nVidia"
}
src_install() {
insinto "/opt/kittenspaceagency"
doins -r .
exeinto "/opt/kittenspaceagency"
doexe "KSA"
doexe "Brutal.Monitor.Subprocess"
cat > kittenspaceagency << 'ENDWRAPPER'
#!/usr/bin/env bash
cd /opt/kittenspaceagency
XDG_SESSION_TYPE=x11 exec ./KSA "$@"
ENDWRAPPER
dobin kittenspaceagency
make_desktop_entry --eapi9 "/usr/bin/kittenspaceagency" \
-d "kittenspaceagency" \
-n "Kitten Space Agency" \
-C "${DESCRIPTION}"
}