summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-20 02:39:14 +0100
committerSam James <sam@gentoo.org>2021-04-20 02:42:27 +0100
commit35553f82ef86d4d80229ad1c1ae778edda585763 (patch)
tree1d5d003f744fd183460147b86fd7042901562f0e /x11-misc
parentx11-plugins/asapm: port to EAPI 7 (diff)
downloadgentoo-35553f82ef86d4d80229ad1c1ae778edda585763.tar.gz
gentoo-35553f82ef86d4d80229ad1c1ae778edda585763.tar.bz2
gentoo-35553f82ef86d4d80229ad1c1ae778edda585763.zip
x11-misc/xrestop: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xrestop/xrestop-0.4.ebuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/x11-misc/xrestop/xrestop-0.4.ebuild b/x11-misc/xrestop/xrestop-0.4.ebuild
index 788c7a95953e..42d0def453a2 100644
--- a/x11-misc/xrestop/xrestop-0.4.ebuild
+++ b/x11-misc/xrestop/xrestop-0.4.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools epatch
+EAPI=7
+
+inherit autotools
DESCRIPTION="'Top' like statistics of X11 client's server side resource usage"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/xrestop"
@@ -19,13 +20,18 @@ RDEPEND="
"
DEPEND="
${RDEPEND}
- virtual/pkgconfig
x11-base/xorg-proto
"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+PATCHES=(
+ "${FILESDIR}"/${P}-tinfo.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/${P}-tinfo.patch
+ default
+
eautoreconf
}
-
-DOCS=( AUTHORS ChangeLog NEWS README )