commit:     42ccdc900e887e60dd72485957e128237ba58969
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 21:20:04 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=42ccdc90

kde-misc/plasma-applet-network-monitor: 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-network-monitor-1.7.3-r1.ebuild         | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git 
a/kde-misc/plasma-applet-network-monitor/plasma-applet-network-monitor-1.7.3-r1.ebuild
 
b/kde-misc/plasma-applet-network-monitor/plasma-applet-network-monitor-1.7.3-r1.ebuild
index 5abe0011e6c..be6fc2cc159 100644
--- 
a/kde-misc/plasma-applet-network-monitor/plasma-applet-network-monitor-1.7.3-r1.ebuild
+++ 
b/kde-misc/plasma-applet-network-monitor/plasma-applet-network-monitor-1.7.3-r1.ebuild
@@ -3,19 +3,26 @@
 
 EAPI=7
 
-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 monitoring active network connections"
 HOMEPAGE="https://store.kde.org/p/998914/
 https://github.com/kotelnik/plasma-applet-network-monitor";
-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)
+       >=kde-frameworks/plasma-5.60.0:5
 "
 RDEPEND="${DEPEND}"
 

Reply via email to