Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

325.10. ksirk-26.08.2

World-domination strategy game in the style of Risk, with a skin editor

26.08.2-1 · GPL-2.0-or-later AND LGPL-2.0-or-later AND GFDL-1.2-or-later AND BSD-3-Clause AND CC0-1.0 · 6.9 SBU · 5.9 MiB, 114 files · 44_apps, 210 of 422 · ports/core/games-strategy/ksirk

Homepage: https://apps.kde.org/ksirk/

KsirK is a world-domination strategy game in the style of Risk: players, human or computer, on one machine or over the network, take turns placing armies, invading neighbouring countries and moving troops, each after their own mission. Maps are skins, and the package carries a second program, ksirkskineditor, for drawing them. It is a Qt 6 and KDE Frameworks application built on libkdegames.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qt5compat, qt6-qtmultimedia, qt6-qtsvg, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, knewstuff, kwidgetsaddons, kxmlgui, libkdegames.

Required by (1): kde-gear-games.

Sources: ksirk-26.08.2.tar.xz (6.4 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install ksirk'

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

Programs: ksirk, ksirkskineditor.

Directories: /usr/share/doc/HTML/en/ksirk, /usr/share/doc/HTML/en/ksirkskineditor, /usr/share/ksirk, /usr/share/ksirkskineditor, /usr/share/licenses/ksirk.

The configure requires Qt Test even with BUILD_TESTING=OFF, and Qt 5 Compat, whose SAX reader (QXmlSimpleReader) loads saved games; qt6-qtbase builds the first and qt6-qt5compat is the second. The game’s sounds play through qt6-qtmultimedia. New skins are fetched with knewstuff, and only when the player asks for them.

A network game runs over the KGame classes of libkdegames’ private library and is hosted on TCP port 20000 by default, which the input chain of /etc/nftables.conf drops, so hosting needs a rule accepting that port in a file of its own under /etc/nftables.d (see The firewall). Joining someone else’s game is an outgoing connection and needs no rule.

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 two desktop entries are upstream’s org.kde.ksirk.desktop and org.kde.ksirkskineditor.desktop. KAboutData derives each window’s Wayland app id from its component name and the apps.kde.org home page, org.kde.ksirk and org.kde.ksirkskineditor, so each is its entry’s file name and Plasma pairs the windows with the entries without a StartupWMClass.