summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-11-05 15:54:54 +0100
committerJakov Smolić <jsmolic@gentoo.org>2021-11-05 15:54:54 +0100
commitd19ac7b9be0901d37786ea2be918d1ad94cf645b (patch)
treeabd1284df3ee161373e1441a706acbbfd54a1233
parentsys-block/noflushd: Port to EAPI 7 (diff)
downloadgentoo-d19ac7b9be0901d37786ea2be918d1ad94cf645b.tar.gz
gentoo-d19ac7b9be0901d37786ea2be918d1ad94cf645b.tar.bz2
gentoo-d19ac7b9be0901d37786ea2be918d1ad94cf645b.zip
sys-process/latencytop: Port to EAPI 7
Closes: https://bugs.gentoo.org/819177 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
-rw-r--r--sys-process/latencytop/latencytop-0.5-r2.ebuild (renamed from sys-process/latencytop/latencytop-0.5-r1.ebuild)13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys-process/latencytop/latencytop-0.5-r1.ebuild b/sys-process/latencytop/latencytop-0.5-r2.ebuild
index b11c17b59a0c..fa5403254583 100644
--- a/sys-process/latencytop/latencytop-0.5-r1.ebuild
+++ b/sys-process/latencytop/latencytop-0.5-r2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit epatch linux-info
+inherit linux-info
DESCRIPTION="tool for identifying where in the system latency is happening"
HOMEPAGE="http://git.infradead.org/latencytop.git"
@@ -19,10 +19,11 @@ KEYWORDS="amd64 ~arm x86"
IUSE="gtk"
RDEPEND="dev-libs/glib:2
+ sys-libs/ncurses:0=
gtk? ( x11-libs/gtk+:2 )
- sys-libs/ncurses:0="
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
# Upstream is dead, so there are no bugs to track for any
# of these patches.
@@ -41,7 +42,7 @@ pkg_setup() {
}
src_prepare() {
- epatch "${PATCHES[@]}"
+ default
# Without a configure script, we toggle bools manually
# This also needs to be done after patches are applied