summaryrefslogtreecommitdiff
path: root/kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-9999.ebuild
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-11-13 01:29:51 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-11-13 01:31:12 +0100
commit8abab8f0b4dce52db8e968d591a5aa4bc75bf75d (patch)
treeb09038611d64b46e3498b365577583bb57c2b464 /kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-9999.ebuild
parent39a4b0da190797e894ec6be03a21d0021c58df26 (diff)
downloadkde-8abab8f0b4dce52db8e968d591a5aa4bc75bf75d.tar.gz
kde-8abab8f0b4dce52db8e968d591a5aa4bc75bf75d.tar.bz2
kde-8abab8f0b4dce52db8e968d591a5aa4bc75bf75d.zip
kde-misc: Port to ecm.eclass and kde.org.eclass
Fix a few HOMEPAGEs and LICENSEs in the process. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-misc/plasma-applet-weather-widget/plasma-applet-weather-widget-9999.ebuild')
-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}"