323.11. kspaceduel-26.08.2
Two satellites duel around a sun, with gravity, energy and bullets
26.08.2-1 · GPL-2.0-or-later AND GFDL-1.2-or-later AND BSD-3-Clause AND CC0-1.0 · 0.5 SBU · 872.6 KiB, 43 files · 44_apps, 146 of 422 · ports/core/games-action/kspaceduel
Homepage: https://apps.kde.org/kspaceduel/
KSpaceDuel is a two-player space arcade game: two satellites circle a sun whose gravity pulls on them and on every bullet, and each tries to destroy the other before its energy runs out. The second player is a person at the same keyboard or the computer. It is a Qt 6 and KDE Frameworks application built on libkdegames.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtsvg, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, kxmlgui, libkdegames.
Required by (1): kde-gear-games.
Sources: kspaceduel-26.08.2.tar.xz (622.1 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install kspaceduel'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_TESTING=OFF \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D KF_SKIP_PO_PROCESSING=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Skips building the interface translations, which the package-wide English-only rule would remove anyway (see Size and language policy).
Programs: kspaceduel.
Directories: /usr/share/doc/HTML/en/kspaceduel, /usr/share/kspaceduel, /usr/share/licenses/kspaceduel.
KF_SKIP_PO_PROCESSING stops only ki18n_install(): kdoctools_install() still builds the handbook in every translated language, and kpkg’s language rule removes /usr/share/doc/HTML/<lang>/ from the package.
The desktop entry is upstream’s org.kde.kspaceduel.desktop. KAboutData derives the window’s Wayland app id, org.kde.kspaceduel, from the component name and the apps.kde.org home page, so it is the entry’s file name and Plasma pairs the window with the entry without a StartupWMClass.