327.6. kbounce-26.08.2
Fence off the field while the balls bounce around it
26.08.2-1 · LGPL-2.0-or-later · 0.4 SBU · 2.1 MiB, 42 files · 44_apps, 152 of 422 · ports/core/games-board/kbounce
Homepage: https://apps.kde.org/kbounce/
KBounce is a KDE arcade game: the player builds walls to fence off parts of a field while balls bounce around it, and a level is won when most of the field is filled. It is built on libkdegames.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtwayland, qt6-qtsvg, kcolorscheme, kconfig, kcoreaddons, kcrash, kwidgetsaddons, kdbusaddons, ki18n, kconfigwidgets, kcompletion, kxmlgui, kio, kdoctools, kiconthemes, libkdegames.
Required by (1): kde-gear-games.
Sources: kbounce-26.08.2.tar.xz (3.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 kbounce'
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
cat > "$PKG/usr/share/applications/org.kde.kbounce.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=KBounce
GenericName=Ball Bouncing Game
Comment=Build walls to fill the field without being hit by a ball
TryExec=kbounce
Exec=kbounce -qwindowtitle %c
Icon=kbounce
X-DocPath=kbounce/index.html
Categories=Qt;KDE;Game;ArcadeGame;
Keywords=bounce;balls;walls;jezzball;arcade;kbounce;
Terminal=false
StartupWMClass=org.kde.kbounce
DESKTOP
chmod 644 "$PKG/usr/share/applications/org.kde.kbounce.desktop"
-D KF_SKIP_PO_PROCESSING=ON— Builds none of the interface translations inpo/; the image is English only (see Size and language policy).
Programs: kbounce.
Directories: /usr/share/doc/HTML/en/kbounce, /usr/share/kbounce, /usr/share/licenses/kbounce.
The desktop entry is KDOS’s own, written over upstream’s. Its StartupWMClass is org.kde.kbounce, the desktop file name KAboutData sets and the window’s Wayland app_id, so the task manager can match the window to its entry.