git: 920f4a2a7a2b - main - deskutils/kweather: add new port

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Wed, 05 Mar 2025 17:51:40 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=920f4a2a7a2b3fbc241e24fd39c74668520a2c19

commit 920f4a2a7a2b3fbc241e24fd39c74668520a2c19
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2025-02-19 13:36:28 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2025-03-05 17:51:30 +0000

    deskutils/kweather: add new port
    
    A convergent weather application for Plasma.
    
    Features:
      - Daily and hourly weather data that can be viewed in flat and dynamic views
      - Plasmoid that can be used on desktop and mobile
    
    Reviewed by:    makc
    Approved by:    makc
    Pull Request:   https://github.com/freebsd/freebsd-ports-kde/pull/113
---
 deskutils/Makefile           |  1 +
 deskutils/kweather/Makefile  | 21 ++++++++++++++++++
 deskutils/kweather/distinfo  |  3 +++
 deskutils/kweather/pkg-descr |  5 +++++
 deskutils/kweather/pkg-plist | 52 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 82 insertions(+)

diff --git a/deskutils/Makefile b/deskutils/Makefile
index 8731d6e4de70..50b984ae7fd1 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -153,6 +153,7 @@
     SUBDIR += kruler
     SUBDIR += ktimetracker
     SUBDIR += kuserfeedback
+    SUBDIR += kweather
     SUBDIR += kweathercore
     SUBDIR += latte-dock
     SUBDIR += lazycli
diff --git a/deskutils/kweather/Makefile b/deskutils/kweather/Makefile
new file mode 100644
index 000000000000..aca7bbccd684
--- /dev/null
+++ b/deskutils/kweather/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	kweather
+DISTVERSION=	${KDE_APPLICATIONS_VERSION}
+CATEGORIES=	deskutils kde kde-applications
+
+MAINTAINER=	kde@FreeBSD.org
+COMMENT=	Weather application for Plasma Mobile
+WWW=		https://apps.kde.org/kweather
+
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/LICENSES/GPL-2.0-or-later.txt
+
+LIB_DEPENDS=	libKWeatherCore.so:deskutils/kweathercore
+
+USES=		cmake gettext kde:6 qt:6 tar:xz
+USE_KDE=	config coreaddons crash i18n kirigami-addons libplasma \
+		notifications \
+		ecm:build
+USE_QT=		base charts declarative
+USE_GL=		gl opengl
+
+.include <bsd.port.mk>
diff --git a/deskutils/kweather/distinfo b/deskutils/kweather/distinfo
new file mode 100644
index 000000000000..cf16bde15a3d
--- /dev/null
+++ b/deskutils/kweather/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1739967559
+SHA256 (KDE/release-service/24.12.2/kweather-24.12.2.tar.xz) = 39537a3086b8513bf019c00b0e156438fa680d94ce35075022ce3bc6bc28d591
+SIZE (KDE/release-service/24.12.2/kweather-24.12.2.tar.xz) = 362064
diff --git a/deskutils/kweather/pkg-descr b/deskutils/kweather/pkg-descr
new file mode 100644
index 000000000000..417d5a4e52cc
--- /dev/null
+++ b/deskutils/kweather/pkg-descr
@@ -0,0 +1,5 @@
+A convergent weather application for Plasma.
+
+Features:
+  - Daily and hourly weather data that can be viewed in flat and dynamic views
+  - Plasmoid that can be used on desktop and mobile
diff --git a/deskutils/kweather/pkg-plist b/deskutils/kweather/pkg-plist
new file mode 100644
index 000000000000..1fda7be39584
--- /dev/null
+++ b/deskutils/kweather/pkg-plist
@@ -0,0 +1,52 @@
+bin/kweather
+%%QT_PLUGINDIR%%/plasma/applets/plasma_applet_kweather_1x4.so
+share/applications/org.kde.kweather.desktop
+share/dbus-1/services/org.kde.kweather.service
+share/icons/hicolor/scalable/apps/org.kde.kweather.svg
+share/locale/ast/LC_MESSAGES/kweather.mo
+share/locale/az/LC_MESSAGES/kweather.mo
+share/locale/bg/LC_MESSAGES/kweather.mo
+share/locale/ca/LC_MESSAGES/kweather.mo
+share/locale/ca@valencia/LC_MESSAGES/kweather.mo
+share/locale/cs/LC_MESSAGES/kweather.mo
+share/locale/de/LC_MESSAGES/kweather.mo
+share/locale/el/LC_MESSAGES/kweather.mo
+share/locale/en_GB/LC_MESSAGES/kweather.mo
+share/locale/eo/LC_MESSAGES/kweather.mo
+share/locale/es/LC_MESSAGES/kweather.mo
+share/locale/et/LC_MESSAGES/kweather.mo
+share/locale/eu/LC_MESSAGES/kweather.mo
+share/locale/fi/LC_MESSAGES/kweather.mo
+share/locale/fr/LC_MESSAGES/kweather.mo
+share/locale/gl/LC_MESSAGES/kweather.mo
+share/locale/he/LC_MESSAGES/kweather.mo
+share/locale/hu/LC_MESSAGES/kweather.mo
+share/locale/ia/LC_MESSAGES/kweather.mo
+share/locale/is/LC_MESSAGES/kweather.mo
+share/locale/it/LC_MESSAGES/kweather.mo
+share/locale/ja/LC_MESSAGES/kweather.mo
+share/locale/ka/LC_MESSAGES/kweather.mo
+share/locale/ko/LC_MESSAGES/kweather.mo
+share/locale/lt/LC_MESSAGES/kweather.mo
+share/locale/lv/LC_MESSAGES/kweather.mo
+share/locale/nl/LC_MESSAGES/kweather.mo
+share/locale/nn/LC_MESSAGES/kweather.mo
+share/locale/pa/LC_MESSAGES/kweather.mo
+share/locale/pl/LC_MESSAGES/kweather.mo
+share/locale/pt/LC_MESSAGES/kweather.mo
+share/locale/pt_BR/LC_MESSAGES/kweather.mo
+share/locale/ru/LC_MESSAGES/kweather.mo
+share/locale/sk/LC_MESSAGES/kweather.mo
+share/locale/sl/LC_MESSAGES/kweather.mo
+share/locale/sv/LC_MESSAGES/kweather.mo
+share/locale/tr/LC_MESSAGES/kweather.mo
+share/locale/uk/LC_MESSAGES/kweather.mo
+share/locale/zh_CN/LC_MESSAGES/kweather.mo
+share/locale/zh_TW/LC_MESSAGES/kweather.mo
+share/metainfo/org.kde.kweather.appdata.xml
+share/metainfo/org.kde.plasma.kweather_1x4.appdata.xml
+share/plasma/plasmoids/org.kde.plasma.kweather_1x4/contents/ui/LocationSelector.qml
+share/plasma/plasmoids/org.kde.plasma.kweather_1x4/contents/ui/WeatherContainer.qml
+share/plasma/plasmoids/org.kde.plasma.kweather_1x4/contents/ui/main.qml
+share/plasma/plasmoids/org.kde.plasma.kweather_1x4/metadata.json
+share/plasma/plasmoids/org.kde.plasma.kweather_1x4/metadata.json.license