blob: d013873fe7000a946c777cddda343946998f8eb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ECM_TEST="false"
KFMIN=5.101.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 ~arm64"
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
}
|