commit:     35553f82ef86d4d80229ad1c1ae778edda585763
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 20 01:39:14 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 20 01:42:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35553f82

x11-misc/xrestop: port to EAPI 7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-misc/xrestop/xrestop-0.4.ebuild | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/x11-misc/xrestop/xrestop-0.4.ebuild 
b/x11-misc/xrestop/xrestop-0.4.ebuild
index 788c7a95953..42d0def453a 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 )

Reply via email to