327.34. kshisen-26.08.2
Shisen-Sho: clear the board by joining pairs of tiles with a path of at most two turns
26.08.2-1 · GPL-2.0-or-later AND GFDL-1.2-or-later AND BSD-3-Clause AND CC0-1.0 · 0.7 SBU · 577.0 KiB, 21 files · 44_apps, 180 of 422 · ports/core/games-board/kshisen
Homepage: https://apps.kde.org/kshisen/
Shisen-Sho (kshisen) is a solitaire tile game in the Mahjongg family: two matching tiles are removed when a path of at most three straight lines, around the other tiles, joins them, and the board is cleared pair by pair. It draws its tiles and backgrounds from libkmahjongg and is built on libkdegames.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kconfig, kconfigwidgets, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, kiconthemes, kwidgetsaddons, kxmlgui, libkdegames, libkmahjongg.
Required by (1): kde-gear-games.
Sources: kshisen-26.08.2.tar.xz (952.9 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 kshisen'
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: kshisen.
Directories: /usr/share/doc/HTML/en/kshisen, /usr/share/licenses/kshisen, /usr/share/sounds/kshisen.
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.kshisen.desktop. KAboutData derives the window’s Wayland app id, org.kde.kshisen, 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.