summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-20 02:46:09 +0100
committerSam James <sam@gentoo.org>2021-04-20 02:49:49 +0100
commitaf5e791f5cc0b8d4ed12074f1ee73a00d35a51f5 (patch)
treefbe9417e2047595f32d499a905c8edb862c186a9 /x11-misc
parentx11-misc/whaw: port to EAPI 7 (diff)
downloadgentoo-af5e791f5cc0b8d4ed12074f1ee73a00d35a51f5.tar.gz
gentoo-af5e791f5cc0b8d4ed12074f1ee73a00d35a51f5.tar.bz2
gentoo-af5e791f5cc0b8d4ed12074f1ee73a00d35a51f5.zip
x11-misc/xssstate: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xssstate/xssstate-1.1.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/x11-misc/xssstate/xssstate-1.1.ebuild b/x11-misc/xssstate/xssstate-1.1.ebuild
index 194e85aa60ed..0dbd9da68b15 100644
--- a/x11-misc/xssstate/xssstate-1.1.ebuild
+++ b/x11-misc/xssstate/xssstate-1.1.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit epatch toolchain-funcs
+EAPI=7
+
+inherit toolchain-funcs
DESCRIPTION="A simple tool to retrieve the X screensaver state"
HOMEPAGE="https://tools.suckless.org/x/xssstate"
@@ -11,7 +12,6 @@ SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RDEPEND="
x11-libs/libX11
@@ -22,8 +22,13 @@ DEPEND="
x11-base/xorg-proto
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.0.20130103-gentoo.patch
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.0.20130103-gentoo.patch
+ default
+
tc-export CC
}