330.12. blinken-26.08.2
KDE memory game — repeat ever longer sequences of lights and sounds
26.08.2-1 · GPL-2.0-or-later AND (GPL-2.0-or-later WITH Font-exception-2.0) AND GFDL-1.2-only AND CC0-1.0 · 1.7 SBU · 1.2 MiB, 27 files · 44_apps, 97 of 422 · ports/core/education/blinken
Homepage: https://apps.kde.org/blinken/
Blinken is KDE Education’s memory game, after the electronic game Simon: four coloured lights play a sequence with a tone each, and the player repeats it, one step longer every round. It trains memory for children and adults, keeps a table of high scores and has three levels.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtsvg, qt6-qtmultimedia, qt6-qtdeclarative, kcoreaddons, ki18n, kxmlgui, kguiaddons, kdoctools, kdbusaddons, kcrash.
Required by (1): kde-gear-education.
Sources: blinken-26.08.2.tar.xz (2.6 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 blinken'
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 \
-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: blinken.
Directories: /usr/share/blinken, /usr/share/doc/HTML/en/blinken, /usr/share/licenses/blinken.
This is the Qt Widgets build. Upstream’s QML_VERSION_FOR_DESKTOP option, off by default, builds a Kirigami interface instead and is meant for Android; the recipe leaves it at its default, which is also the version upstream ships for the desktop. The handbook needs kdoctools, which the widgets build requires.
The tones play through Qt Multimedia. The game’s lettering font, steve.ttf, goes to /usr/share/blinken/fonts, where only Blinken loads it; fontconfig does not see it. KAboutData gives the window the app_id org.kde.blinken, the name of upstream’s entry.