summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-16 22:25:01 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-16 22:28:33 +0100
commit758c57d12d2675a8dde460f168766b3b5f701741 (patch)
treea1eb048c7a782fd0112d6b7cc7f2df569f95fb70 /kde-misc/plasma-applet-weather-widget
parentkde-misc/plasma-applet-network-monitor: Switch to ecm.eclass (diff)
downloadgentoo-758c57d12d2675a8dde460f168766b3b5f701741.tar.gz
gentoo-758c57d12d2675a8dde460f168766b3b5f701741.tar.bz2
gentoo-758c57d12d2675a8dde460f168766b3b5f701741.zip
kde-misc/plasma-applet-weather-widget: Switch to ecm.eclass
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-misc/plasma-applet-weather-widget')
-rw-r--r--kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-1.6.10-r1.ebuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-1.6.10-r1.ebuild b/kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-1.6.10-r1.ebuild
index ec1574a73072..0c2ac70e2ced 100644
--- a/kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-1.6.10-r1.ebuild
+++ b/kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-1.6.10-r1.ebuild
@@ -3,21 +3,27 @@
EAPI=7
-QT_MINIMAL=5.12.1
-inherit kde5
+inherit ecm
+
+if [[ ${PV} = *9999* ]] ; then
+ EGIT_REPO_URI="https://github.com/kotelnik/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/kotelnik/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64"
+fi
DESCRIPTION="Plasma 5 applet for weather forecasts"
HOMEPAGE="https://store.kde.org/p/998917/
https://github.com/kotelnik/plasma-applet-weather-widget"
-SRC_URI="https://github.com/kotelnik/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
-KEYWORDS="~amd64 ~arm64"
+SLOT="5"
IUSE=""
DEPEND="
- $(add_frameworks_dep plasma)
- $(add_qt_dep qtxmlpatterns 'qml(+)' 5.12.1-r1)
+ >=dev-qt/qtxmlpatterns-5.12.1-r1:5[qml(+)]
+ >=kde-frameworks/plasma-5.60.0:5
"
RDEPEND="${DEPEND}"