337.9. kweather-26.08.2
Weather forecasts — hourly and daily forecasts for saved places, with a Plasma widget and a KRunner plugin
26.08.2-1 · GPL-2.0-or-later AND LGPL-2.1-or-later AND Apache-2.0 AND BSD-3-Clause AND CC-BY-4.0 AND CC0-1.0 · 2.3 SBU · 3.9 MiB, 13 files · 44_apps, 219 of 422 · ports/core/gis/kweather
Homepage: https://apps.kde.org/kweather/
KWeather shows weather forecasts for a list of saved places: current conditions, an hourly and a daily forecast, and charts, with animated backgrounds. It is a Kirigami application over kweathercore, which fetches the forecasts from the Norwegian Meteorological Institute’s api.met.no and looks places up in GeoNames. It also installs a Plasma widget and a KRunner plugin that answer the same forecasts.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtsvg, qt6-qtcharts, kconfig, kirigami, ki18n, kcoreaddons, knotifications, kcrash, kholidays, kirigami-addons, kweathercore, libplasma, krunner.
Required by (1): kde-gear-utilities.
Sources: kweather-26.08.2.tar.xz (381.2 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 kweather'
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 BUILD_PLASMOID=ON \
-D BUILD_KRUNNER=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D BUILD_PLASMOID=ON— The Plasma widget,org.kde.plasma.kweather_1x4, linked against libplasma, which is then a requirement. On by default upstream; named so the widget cannot drop out.-D BUILD_KRUNNER=ON— The KRunner plugin, which answers “weather” queries in the launcher search, linked against krunner. On by default upstream; named for the same reason.-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: kweather.
Directories: /usr/share/licenses/kweather.
The widget and the runner are plugins loaded by the Plasma shell and by KRunner, which come with the session; neither is named in depends, because a port built before the session cannot depend on it (see Which phase lists a port). The holiday markers come from the org.kde.kholidays QML module of kholidays, which the configure only reports. Every forecast and every place search is a network request.