diff options
-rw-r--r-- | kde-misc/kweather/Manifest | 1 | ||||
-rw-r--r-- | kde-misc/kweather/kweather-22.11.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/kde-misc/kweather/Manifest b/kde-misc/kweather/Manifest index c21e5ab6d012..98650cdac4a2 100644 --- a/kde-misc/kweather/Manifest +++ b/kde-misc/kweather/Manifest @@ -1 +1,2 @@ DIST kweather-22.06.tar.xz 1004924 BLAKE2B 449cdaca34924c0bee8b1da6382fc98a2db3e7681a1e2a6ccaf170965f7904112f20e634b77c6b4ad359624d5c8d9e4d2bcb5aaed80793a019ffadd4910ae8e0 SHA512 68384fd9e279b06f0e723f9f0d8d89e19e910ea13acc80a26de73b703769db572b6438e9eae4c56f445df6022c3a6b12f5c4541f3000373fb4a11aa91fd6c819 +DIST kweather-22.11.tar.xz 1018032 BLAKE2B 0d89ec6b6f11cac8b46662ae36613da504367a0089bc06f157863c0720029321cb26526bebf53619b165df7af584b4845b4848aa5d793e682cfed5c9aaa54217 SHA512 059c67af971e6e767676e8c18a5b68a5e9c1a9fe21bc7be8fc4189ffe77b533b68aa27b753514d92d79c1fec3aeb9f9332e7fc8aed7f9e6f238decf1f421103b diff --git a/kde-misc/kweather/kweather-22.11.ebuild b/kde-misc/kweather/kweather-22.11.ebuild new file mode 100644 index 000000000000..98892c00df4d --- /dev/null +++ b/kde-misc/kweather/kweather-22.11.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="false" +KFMIN=5.99.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/kirigami-addons-0.6:5 + >=dev-libs/kweathercore-0.6:5 + >=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 +} |