265.1. libkmahjongg-26.08.2
Tile sets, backgrounds and the rendering code shared by the KDE Mahjongg games
26.08.2-1 · GPL-2.0-or-later · 1.3 SBU · 2.1 MiB, 43 files · 43_toolkits, 143 of 344 · ports/core/game-libs/libkmahjongg
Homepage: https://invent.kde.org/games/libkmahjongg
libkmahjongg holds the tile sets and backgrounds of the KDE Mahjongg games and the code that loads and renders them, with the tile-set and background selectors. kmahjongg and kshisen draw their boards through it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtsvg, kcompletion, kconfig, kconfigwidgets, kcoreaddons, ki18n, kwidgetsaddons.
Required by (3): kajongg, kmahjongg, kshisen.
Sources: libkmahjongg-26.08.2.tar.xz (1.6 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install libkmahjongg'
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 BUILD_SVG_CHECKS=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Builds none of the interface translations inpo/; the image is English only (see Size and language policy).-D BUILD_SVG_CHECKS=OFF— No SVG rendering checks, which compare each tile set’s rendering with ImageMagick’scompare. Upstream’s default, named.
Libraries: libKMahjongg6.so.
Directories: /usr/include/KMahjongg6, /usr/lib/cmake/KMahjongglib6, /usr/share/kmahjongglib, /usr/share/licenses/libkmahjongg.