1 |
commit: af5e791f5cc0b8d4ed12074f1ee73a00d35a51f5 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 20 01:46:09 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 20 01:49:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af5e791f |
7 |
|
8 |
x11-misc/xssstate: port to EAPI 7 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
x11-misc/xssstate/xssstate-1.1.ebuild | 13 +++++++++---- |
13 |
1 file changed, 9 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/x11-misc/xssstate/xssstate-1.1.ebuild b/x11-misc/xssstate/xssstate-1.1.ebuild |
16 |
index 194e85aa60e..0dbd9da68b1 100644 |
17 |
--- a/x11-misc/xssstate/xssstate-1.1.ebuild |
18 |
+++ b/x11-misc/xssstate/xssstate-1.1.ebuild |
19 |
@@ -1,8 +1,9 @@ |
20 |
# Copyright 1999-2021 Gentoo Authors |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=5 |
24 |
-inherit epatch toolchain-funcs |
25 |
+EAPI=7 |
26 |
+ |
27 |
+inherit toolchain-funcs |
28 |
|
29 |
DESCRIPTION="A simple tool to retrieve the X screensaver state" |
30 |
HOMEPAGE="https://tools.suckless.org/x/xssstate" |
31 |
@@ -11,7 +12,6 @@ SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz" |
32 |
LICENSE="MIT" |
33 |
SLOT="0" |
34 |
KEYWORDS="~amd64 ~x86" |
35 |
-IUSE="" |
36 |
|
37 |
RDEPEND=" |
38 |
x11-libs/libX11 |
39 |
@@ -22,8 +22,13 @@ DEPEND=" |
40 |
x11-base/xorg-proto |
41 |
" |
42 |
|
43 |
+PATCHES=( |
44 |
+ "${FILESDIR}"/${PN}-1.0.20130103-gentoo.patch |
45 |
+) |
46 |
+ |
47 |
src_prepare() { |
48 |
- epatch "${FILESDIR}"/${PN}-1.0.20130103-gentoo.patch |
49 |
+ default |
50 |
+ |
51 |
tc-export CC |
52 |
} |