1 |
commit: 6c1ddcec1e68b62f41dd56579b9debcb513bdf5e |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 5 18:27:19 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 6 20:32:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c1ddcec |
7 |
|
8 |
sys-apps/spu-tools: Port to EAPI 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/819243 |
11 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
12 |
|
13 |
sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild | 23 ++++++++++++----------- |
14 |
1 file changed, 12 insertions(+), 11 deletions(-) |
15 |
|
16 |
diff --git a/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild b/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild |
17 |
index e64a12c86a5..2955c689ee4 100644 |
18 |
--- a/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild |
19 |
+++ b/sys-apps/spu-tools/spu-tools-2.3.0.136.ebuild |
20 |
@@ -1,35 +1,36 @@ |
21 |
# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
+EAPI=8 |
26 |
|
27 |
-inherit epatch flag-o-matic toolchain-funcs |
28 |
+inherit flag-o-matic toolchain-funcs |
29 |
|
30 |
-MY_P=${P/_p/-} |
31 |
+MY_P="${P/_p/-}" |
32 |
|
33 |
DESCRIPTION="CELL spu ps and top alike utilities" |
34 |
HOMEPAGE="https://sourceforge.net/projects/libspe" |
35 |
SRC_URI="mirror://sourceforge/libspe/${MY_P}.tar.gz" |
36 |
+S="${WORKDIR}/${PN}/src" |
37 |
|
38 |
LICENSE="GPL-2" |
39 |
SLOT="0" |
40 |
KEYWORDS="ppc ppc64" |
41 |
|
42 |
RDEPEND=" |
43 |
- sys-libs/ncurses:0= |
44 |
+ sys-libs/ncurses:= |
45 |
" |
46 |
-DEPEND=" |
47 |
- ${RDEPEND} |
48 |
+DEPEND="${RDEPEND}" |
49 |
+BDEPEND=" |
50 |
sys-apps/help2man |
51 |
virtual/pkgconfig |
52 |
" |
53 |
|
54 |
-S="${WORKDIR}/${PN}/src" |
55 |
+PATCHES=( |
56 |
+ "${FILESDIR}"/${P}-buildsystem.patch |
57 |
+ "${FILESDIR}"/${P}-format-security.patch |
58 |
+) |
59 |
|
60 |
-src_prepare() { |
61 |
- epatch \ |
62 |
- "${FILESDIR}"/${P}-buildsystem.patch \ |
63 |
- "${FILESDIR}"/${P}-format-security.patch |
64 |
+src_configure() { |
65 |
tc-export CC |
66 |
append-cppflags -std=gnu89 |
67 |
export CFLAGS="${CFLAGS}" |