330.4. kgeography-26.08.2
KDE geography trainer — maps, capitals and flags of countries and regions, as quizzes
26.08.2-1 · GPL-2.0-or-later · 0.5 SBU · 7.9 MiB, 1067 files · 44_apps, 89 of 422 · ports/core/education/kgeography
Homepage: https://apps.kde.org/kgeography/
KGeography is KDE’s geography trainer: maps of countries and regions of the world, browsed or quizzed on their names, capitals and flags.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kxmlgui, kwidgetsaddons, kcoreaddons, kconfigwidgets, ki18n, kitemviews, kiconthemes, kcrash, kdoctools.
Required by (1): kde-gear-education.
Sources: kgeography-26.08.2.tar.xz (11.9 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 kgeography'
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.kgeography.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=KGeography
GenericName=Geography Trainer
Comment=Learn maps, capitals and flags
TryExec=kgeography
Exec=kgeography
Icon=kgeography
Terminal=false
StartupWMClass=org.kde.kgeography
X-DocPath=kgeography/index.html
Categories=Qt;KDE;Education;Geography;
Keywords=geography;map;country;capital;flag;quiz;kgeography;
DESKTOP
chmod 644 "$PKG/usr/share/applications/org.kde.kgeography.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: kgeography.
Directories: /usr/share/doc/HTML/en/kgeography, /usr/share/kgeography, /usr/share/licenses/kgeography.
The desktop entry is KDOS’s own, written over upstream’s. Its StartupWMClass is org.kde.kgeography, the desktop file name KAboutData sets and the window’s Wayland app_id, so the task manager can match the window to its entry.