327.41. skladnik-26.08.2
Sokoban: push every gem into the store room
26.08.2-1 · GPL-2.0-or-later AND CC-BY-SA-4.0 AND GFDL-1.2-or-later AND BSD-3-Clause AND CC0-1.0 · 0.5 SBU · 661.6 KiB, 36 files · 44_apps, 187 of 422 · ports/core/games-board/skladnik
Homepage: https://apps.kde.org/skladnik/
Skladnik is Sokoban, the Japanese warehouse-keeper puzzle: the keeper pushes gems, one at a time and never pulling, until every gem sits in the store room. It carries the classic level collections and opens others from files. It is a Qt 6 and KDE Frameworks application built on libkdegames.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kconfig, kconfigwidgets, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, kio, kwidgetsaddons, kxmlgui, libkdegames.
Required by (1): kde-gear-games.
Sources: skladnik-26.08.2.tar.xz (414.0 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 skladnik'
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 \
-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON \
-D CMAKE_DISABLE_FIND_PACKAGE_POVRay=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).-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON— The handbook and theskladnik(6)manual page, through kdoctools, which upstream looks for as an optional package: without it thedocdirectory is skipped with nothing said. Required, a missing kdoctools stops the configure.-D CMAKE_DISABLE_FIND_PACKAGE_POVRay=ON— Install the game’s pictures as the release carries them. The release holds the PNGs and the POV-Ray scenes they are rendered from; when upstream’sFindPOVRayfinds apovray,src/imagesrenders every PNG anew into the source directory. POV-Ray is not a port, so the switch keeps the build what it is whatever a build root holds.
Programs: skladnik.
Directories: /usr/share/doc/HTML/en/skladnik, /usr/share/licenses/skladnik, /usr/share/skladnik.
KF_SKIP_PO_PROCESSING stops only ki18n_install(): kdoctools_install() still builds the handbook and the manual page in every translated language, and kpkg’s language rule removes /usr/share/doc/HTML/<lang>/ and every directory under /usr/share/man that is not a man<section> one from the package.
The desktop entry is upstream’s org.kde.skladnik.desktop. KAboutData derives the window’s Wayland app id, org.kde.skladnik, 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.