summaryrefslogtreecommitdiff
path: root/kde-misc/plasma-applet-weather-widget
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc/plasma-applet-weather-widget')
-rw-r--r--kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-9999.ebuild20
1 files changed, 11 insertions, 9 deletions
diff --git a/kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-9999.ebuild b/kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-9999.ebuild
index c1236be22db..9c28e7d1e07 100644
--- a/kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-9999.ebuild
+++ b/kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-9999.ebuild
@@ -3,24 +3,26 @@
EAPI=7
-inherit kde5
+inherit ecm
-DESCRIPTION="Plasma 5 applet for weather forecasts"
-HOMEPAGE="https://store.kde.org/p/998917/
-https://github.com/kotelnik/plasma-applet-weather-widget"
-
-if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+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"
fi
+DESCRIPTION="Plasma 5 applet for weather forecasts"
+HOMEPAGE="https://store.kde.org/p/998917/
+https://github.com/kotelnik/plasma-applet-weather-widget"
+
LICENSE="GPL-2+"
-KEYWORDS=""
+SLOT="5"
IUSE=""
DEPEND="
- $(add_frameworks_dep plasma)
- $(add_qt_dep qtxmlpatterns 'qml')
+ dev-qt/qtxmlpatterns:5[qml]
+ kde-frameworks/plasma:5
"
RDEPEND="${DEPEND}"