1 |
commit: 6c408ec4cba6795b779b5a84de96f887ee3705b7 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 20 01:37:55 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 20 01:42:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c408ec4 |
7 |
|
8 |
x11-plugins/asapm: port to EAPI 7 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
x11-plugins/asapm/asapm-3.1-r1.ebuild | 22 +++++++++++++++------- |
13 |
1 file changed, 15 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/x11-plugins/asapm/asapm-3.1-r1.ebuild b/x11-plugins/asapm/asapm-3.1-r1.ebuild |
16 |
index e0d99b379ad..538bca9b051 100644 |
17 |
--- a/x11-plugins/asapm/asapm-3.1-r1.ebuild |
18 |
+++ b/x11-plugins/asapm/asapm-3.1-r1.ebuild |
19 |
@@ -1,9 +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 |
+EAPI=7 |
25 |
|
26 |
-inherit autotools epatch toolchain-funcs |
27 |
+inherit autotools toolchain-funcs |
28 |
|
29 |
DESCRIPTION="APM monitor for AfterStep" |
30 |
HOMEPAGE="http://tigr.net/afterstep/applets/" |
31 |
@@ -12,19 +12,27 @@ SRC_URI="http://www.tigr.net/afterstep/download/asapm/${P}.tar.gz" |
32 |
LICENSE="GPL-2" |
33 |
SLOT="0" |
34 |
KEYWORDS="~amd64 ~ppc -sparc ~x86" |
35 |
-IUSE="" |
36 |
|
37 |
RDEPEND="x11-libs/libX11 |
38 |
x11-libs/libXpm" |
39 |
- |
40 |
DEPEND="${RDEPEND} |
41 |
x11-base/xorg-proto" |
42 |
|
43 |
+PATCHES=( |
44 |
+ "${FILESDIR}"/${P}-ldflags.patch |
45 |
+ "${FILESDIR}"/${P}-include.patch |
46 |
+ "${FILESDIR}"/${P}-autoconf.patch |
47 |
+) |
48 |
+ |
49 |
src_prepare() { |
50 |
- epatch "${FILESDIR}"/${P}-{ldflags,include,autoconf}.patch |
51 |
- cp autoconf/configure.in . || die |
52 |
- AT_M4DIR=autoconf eautoconf |
53 |
+ default |
54 |
+ |
55 |
tc-export CC |
56 |
+ |
57 |
+ cp autoconf/configure.in . || die |
58 |
+ mv configure.{in,ac} || die |
59 |
+ |
60 |
+ AT_M4DIR=autoconf eautoreconf |
61 |
} |
62 |
|
63 |
src_install() { |