327.38. lskat-26.08.2
Lieutenant Skat: a card game for two, from the Skat family
26.08.2-1 · LGPL-2.0-or-later AND LGPL-2.0-only AND GFDL-1.2-or-later AND BSD-3-Clause AND CC0-1.0 · 0.6 SBU · 1.6 MiB, 28 files · 44_apps, 184 of 422 · ports/core/games-board/lskat
Homepage: https://apps.kde.org/lskat/
Lieutenant Skat (lskat) is a card game for two from the Skat family: each player has sixteen cards laid out as two rows of four pairs, the top card of each pair face up and the one beneath it turned over once it is free, and tricks are taken under Skat’s trump rules. The opponent is a second person or the computer. It draws its cards from the decks libkdegames installs.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtsvg, kconfig, kcoreaddons, kcrash, kdbusaddons, kdoctools, kguiaddons, ki18n, kiconthemes, kwidgetsaddons, kxmlgui, libkdegames, gzip.
Required by (1): kde-gear-games.
Sources: lskat-26.08.2.tar.xz (1.2 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 lskat'
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_DISABLE_FIND_PACKAGE_7Zip=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_DISABLE_FIND_PACKAGE_7Zip=ON— Compress the themes’ SVGs to SVGZ with gzip, never with 7-Zip. Upstream takes 7-Zip whenever it finds one, and 7zip is in the build root from41_systemon, so the tool would follow whatever happens to be installed. Refused, the build runsgzip -9 -n, which upstream then requires and which stores no file name or time stamp in the output; gzip is independs.
Programs: lskat.
Directories: /usr/share/doc/HTML/en/lskat, /usr/share/licenses/lskat, /usr/share/lskat.
src/fromlibkdegames holds a copy of libkdegames’ card cache, deck information and deck dialog, compiled into the program. Those files are LGPL 2.0 only; the rest of the game is LGPL 2.0 or later.
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.lskat.desktop. KAboutData derives the window’s Wayland app id, org.kde.lskat, 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.