327.7. katomic-26.08.2
Slide atoms into place to build the molecule
26.08.2-1 · GPL-2.0-or-later · 0.7 SBU · 1.5 MiB, 21 files · 44_apps, 153 of 422 · ports/core/games-board/katomic
Homepage: https://apps.kde.org/katomic/
KAtomic is a KDE puzzle game in the manner of Sokoban: atoms slide across the board until they hit a wall, and the player arranges them into the molecule shown. It is built on libkdegames.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtwayland, kcoreaddons, kconfig, kcrash, kwidgetsaddons, ki18n, kxmlgui, knewstuff, kdbusaddons, kiconthemes, kdoctools, libkdegames.
Required by (1): kde-gear-games.
Sources: katomic-26.08.2.tar.xz (1.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 katomic'
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_REQUIRE_FIND_PACKAGE_KF6DocTools=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
cat > "$PKG/usr/share/applications/org.kde.katomic.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=KAtomic
GenericName=Sokoban-like Logic Game
Comment=Slide atoms around the board to build a molecule
TryExec=katomic
Exec=katomic -qwindowtitle %c
Icon=katomic
X-DocPath=katomic/index.html
Categories=Qt;KDE;Game;StrategyGame;
Keywords=atoms;molecule;puzzle;sokoban;katomic;
Terminal=false
StartupWMClass=org.kde.katomic
DESKTOP
chmod 644 "$PKG/usr/share/applications/org.kde.katomic.desktop"
-D KF_SKIP_PO_PROCESSING=ON— Builds none of the interface translations inpo/; the image is English only (see Size and language policy).-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON— Requires kdoctools for the handbook, which upstream builds only when it finds kdoctools.
Programs: katomic.
Directories: /usr/share/doc/HTML/en/katomic, /usr/share/katomic, /usr/share/licenses/katomic.
The desktop entry is KDOS’s own, written over upstream’s. Its StartupWMClass is org.kde.katomic, the desktop file name KAboutData sets and the window’s Wayland app_id, so the task manager can match the window to its entry.