summaryrefslogtreecommitdiff
path: root/x11-misc/xssstate/xssstate-1.1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /x11-misc/xssstate/xssstate-1.1.ebuild
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'x11-misc/xssstate/xssstate-1.1.ebuild')
-rw-r--r--x11-misc/xssstate/xssstate-1.1.ebuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/x11-misc/xssstate/xssstate-1.1.ebuild b/x11-misc/xssstate/xssstate-1.1.ebuild
index 311c55ab00f7..0dbd9da68b15 100644
--- a/x11-misc/xssstate/xssstate-1.1.ebuild
+++ b/x11-misc/xssstate/xssstate-1.1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils 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
}