summaryrefslogtreecommitdiff
path: root/kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-1.6.10-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-1.6.10-r1.ebuild')
-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}"