commit: 758c57d12d2675a8dde460f168766b3b5f701741
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 21:25:01 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 21:28:33 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=758c57d1
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 <AT> gentoo.org>
.../plasma-applet-weather-widget-1.6.10-r1.ebuild | 18 ++++++++++++------
1 file 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 ec1574a7307..0c2ac70e2ce 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}"