From 758c57d12d2675a8dde460f168766b3b5f701741 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Mon, 16 Mar 2020 22:25:01 +0100 Subject: 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 --- .../plasma-applet-weather-widget-1.6.10-r1.ebuild | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'kde-misc/plasma-applet-weather-widget') 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}" -- cgit v1.2.3-65-gdbad