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

327.16. kblackbox-26.08.2

Black Box logic game: find the hidden balls by firing laser rays into the box

26.08.2-1 · GPL-2.0-or-later AND GFDL-1.2-or-later AND BSD-3-Clause AND CC0-1.0 · 3.9 SBU · 610.8 KiB, 17 files · 44_apps, 162 of 422 · ports/core/games-board/kblackbox

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

KBlackBox is the Black Box logic game: balls are hidden in a grid, and the player fires laser rays in from the edge and deduces where the balls are from where each ray comes out, is reflected or is absorbed. It is a small Widgets game on libkdegames.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtsvg, karchive, kconfig, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, kiconthemes, ktextwidgets, kwidgetsaddons, kxmlgui, libkdegames, gzip.

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

Sources: kblackbox-26.08.2.tar.xz (545.2 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 kblackbox'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D CMAKE_DISABLE_FIND_PACKAGE_7Zip=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Programs: kblackbox.

Directories: /usr/share/doc/HTML/en/kblackbox, /usr/share/kblackbox, /usr/share/licenses/kblackbox.

The window’s Wayland app_id is org.kde.kblackbox: KAboutData builds that desktop file name from the component name and its organisation domain, kde.org. It is the desktop entry’s file name too, and upstream’s entry sets no StartupWMClass, so the task manager pairs the window with its entry without a patch.