summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-16 22:20:04 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-16 22:28:33 +0100
commit42ccdc900e887e60dd72485957e128237ba58969 (patch)
treed265df23219a0c5404d6bde07034015b25446721
parentdev-python/pygtk: Use dodoc for examples (diff)
downloadgentoo-42ccdc900e887e60dd72485957e128237ba58969.tar.gz
gentoo-42ccdc900e887e60dd72485957e128237ba58969.tar.bz2
gentoo-42ccdc900e887e60dd72485957e128237ba58969.zip
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@gentoo.org>
-rw-r--r--kde-misc/plasma-applet-network-monitor/plasma-applet-network-monitor-1.7.3-r1.ebuild15
1 files 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 5abe0011e6c9..be6fc2cc159b 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}"