323.8. bomber-26.08.2
Arcade game: bomb the city flat before the plane comes down on the buildings
26.08.2-1 · LGPL-2.0-or-later AND GFDL-1.2-or-later AND BSD-3-Clause AND CC0-1.0 · 0.8 SBU · 1009.3 KiB, 23 files · 44_apps, 143 of 422 · ports/core/games-action/bomber
Homepage: https://apps.kde.org/bomber/
Bomber is an arcade game from KDE Games: a plane flies over a city, losing height on every pass, and the player drops bombs to clear the buildings before it lands on one. It draws its themes and plays its sounds through libkdegames, as every KDE game does.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kconfig, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, kiconthemes, kwidgetsaddons, kxmlgui, libkdegames, gzip.
Required by (1): kde-gear-games.
Sources: bomber-26.08.2.tar.xz (822.0 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 bomber'
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 \
-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).kdoctools_install()still builds the handbook in every translated language, and kpkg’s language rule removes/usr/share/doc/HTML/<lang>/from the package.-D CMAKE_DISABLE_FIND_PACKAGE_7Zip=ON— Compresses the theme SVGs to SVGZ with gzip. Upstream’scmake/InternalMacros.cmakeuses 7-Zip’s7zzwhenever it finds one and otherwise requires gzip; 7zip is built in an earlier phase, so without the switch the package would follow whatever the build root holds. gzip runs with-n, which writes no file name or time stamp into the SVGZ files.
Programs: bomber.
Directories: /usr/share/bomber, /usr/share/doc/HTML/en/bomber, /usr/share/licenses/bomber.
USE_DBUS stays at its Linux default, on, which makes kdbusaddons a requirement of the configure; main.cpp then registers Bomber on the session bus through KDBusService.
The window’s Wayland app_id is org.kde.bomber: KAboutData builds that desktop file name from the component name and its organisation domain, kde.org. It is the desktop entry’s file name too, and upstream’s entry sets no StartupWMClass, so the task manager pairs the window with its entry without a patch.