summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-07-19 17:26:03 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-07-19 17:38:37 +0200
commitb47db55eee27b03e5641455782463e290de1caf1 (patch)
treee70f036bd1f47e61ceaba864e02e7c2b80b37973 /kde-misc/kweather
parentdev-libs/kweathercore: new package, add 0.6 (diff)
downloadgentoo-b47db55eee27b03e5641455782463e290de1caf1.tar.gz
gentoo-b47db55eee27b03e5641455782463e290de1caf1.tar.bz2
gentoo-b47db55eee27b03e5641455782463e290de1caf1.zip
kde-misc/kweather: new package, add 22.06
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-misc/kweather')
-rw-r--r--kde-misc/kweather/Manifest1
-rw-r--r--kde-misc/kweather/kweather-22.06.ebuild56
-rw-r--r--kde-misc/kweather/metadata.xml11
3 files changed, 68 insertions, 0 deletions
diff --git a/kde-misc/kweather/Manifest b/kde-misc/kweather/Manifest
new file mode 100644
index 000000000000..c21e5ab6d012
--- /dev/null
+++ b/kde-misc/kweather/Manifest
@@ -0,0 +1 @@
+DIST kweather-22.06.tar.xz 1004924 BLAKE2B 449cdaca34924c0bee8b1da6382fc98a2db3e7681a1e2a6ccaf170965f7904112f20e634b77c6b4ad359624d5c8d9e4d2bcb5aaed80793a019ffadd4910ae8e0 SHA512 68384fd9e279b06f0e723f9f0d8d89e19e910ea13acc80a26de73b703769db572b6438e9eae4c56f445df6022c3a6b12f5c4541f3000373fb4a11aa91fd6c819
diff --git a/kde-misc/kweather/kweather-22.06.ebuild b/kde-misc/kweather/kweather-22.06.ebuild
new file mode 100644
index 000000000000..5745c45725a7
--- /dev/null
+++ b/kde-misc/kweather/kweather-22.06.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="false"
+KFMIN=5.90.0
+QTMIN=5.15.5
+inherit ecm plasma-mobile.kde.org
+
+DESCRIPTION="Weather forecast application for Plasma with flat and dynamic/animated views"
+HOMEPAGE="https://apps.kde.org/kweather/"
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2+"
+SLOT="5"
+
+DEPEND="
+ >=dev-libs/kweathercore-0.6
+ >=dev-qt/qtcharts-${QTMIN}:5[qml]
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kholidays-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kirigami-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/plasma-${KFMIN}:5
+"
+RDEPEND="${DEPEND}
+ >=dev-qt/qtgraphicaleffects-${QTMIN}:5
+ >=dev-qt/qtpositioning-${QTMIN}:5[geoclue]
+"
+
+src_prepare() {
+ ecm_src_prepare
+
+ sed -e "/include(ECMCheckOutboundLicense)/s/^/#DONT /" \
+ -e "/ecm_check_outbound_license/s/^/#DONT /" \
+ -i CMakeLists.txt || die # avoid cmake spam about python, reusetool
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_PLASMOID=ON
+ )
+ ecm_src_configure
+}
diff --git a/kde-misc/kweather/metadata.xml b/kde-misc/kweather/metadata.xml
new file mode 100644
index 000000000000..d925f2439758
--- /dev/null
+++ b/kde-misc/kweather/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://bugs.kde.org/</bugs-to>
+ </upstream>
+</pkgmetadata>