1 |
commit: 0ed9aab19dd619b2e985e5f20675e1e54b985219 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 16 19:44:05 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 16 19:44:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ed9aab1 |
7 |
|
8 |
app-emulation/spectemu: bump to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../spectemu/files/spectemu-0.99.3-automagic.patch | 4 ++-- |
14 |
.../spectemu/files/spectemu-0.99.3-build.patch | 4 ++-- |
15 |
app-emulation/spectemu/spectemu-0.99.3-r1.ebuild | 26 ++++++++++++++-------- |
16 |
3 files changed, 21 insertions(+), 13 deletions(-) |
17 |
|
18 |
diff --git a/app-emulation/spectemu/files/spectemu-0.99.3-automagic.patch b/app-emulation/spectemu/files/spectemu-0.99.3-automagic.patch |
19 |
index 6e813d6373e..0fd6ebc7e6f 100644 |
20 |
--- a/app-emulation/spectemu/files/spectemu-0.99.3-automagic.patch |
21 |
+++ b/app-emulation/spectemu/files/spectemu-0.99.3-automagic.patch |
22 |
@@ -1,5 +1,5 @@ |
23 |
---- configure.in |
24 |
-+++ configure.in |
25 |
+--- a/configure.in |
26 |
++++ b/configure.in |
27 |
@@ -121,13 +121,22 @@ |
28 |
dnl ----------------------------------------------------------- |
29 |
dnl Check for SVGALIB |
30 |
|
31 |
diff --git a/app-emulation/spectemu/files/spectemu-0.99.3-build.patch b/app-emulation/spectemu/files/spectemu-0.99.3-build.patch |
32 |
index 1c354a5fa93..9c5ac95c594 100644 |
33 |
--- a/app-emulation/spectemu/files/spectemu-0.99.3-build.patch |
34 |
+++ b/app-emulation/spectemu/files/spectemu-0.99.3-build.patch |
35 |
@@ -1,5 +1,5 @@ |
36 |
---- Makefile.in |
37 |
-+++ Makefile.in |
38 |
+--- a/Makefile.in |
39 |
++++ b/Makefile.in |
40 |
@@ -44,17 +44,19 @@ |
41 |
./mkinstalldirs $(i_bindir) $(i_mandir) |
42 |
|
43 |
|
44 |
diff --git a/app-emulation/spectemu/spectemu-0.99.3-r1.ebuild b/app-emulation/spectemu/spectemu-0.99.3-r1.ebuild |
45 |
index 14d08363068..907f557d003 100644 |
46 |
--- a/app-emulation/spectemu/spectemu-0.99.3-r1.ebuild |
47 |
+++ b/app-emulation/spectemu/spectemu-0.99.3-r1.ebuild |
48 |
@@ -1,9 +1,9 @@ |
49 |
-# Copyright 1999-2019 Gentoo Authors |
50 |
+# Copyright 1999-2020 Gentoo Authors |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
|
53 |
-EAPI=4 |
54 |
+EAPI=7 |
55 |
|
56 |
-inherit autotools eutils |
57 |
+inherit autotools |
58 |
|
59 |
DESCRIPTION="48k ZX Spectrum Emulator" |
60 |
HOMEPAGE="http://kempelen.iit.bme.hu/~mszeredi/spectemu/spectemu.html" |
61 |
@@ -16,17 +16,25 @@ IUSE="readline svga +X" |
62 |
|
63 |
REQUIRED_USE="|| ( svga X )" |
64 |
|
65 |
-DEPEND="X? ( x11-base/xorg-proto |
66 |
+DEPEND=" |
67 |
+ X? ( |
68 |
+ x11-base/xorg-proto |
69 |
>=x11-libs/libX11-1.0.0 |
70 |
>=x11-libs/libXext-1.0.0 |
71 |
- >=x11-libs/libXxf86vm-1.0.0 ) |
72 |
- readline? ( sys-libs/readline )" |
73 |
+ >=x11-libs/libXxf86vm-1.0.0 |
74 |
+ ) |
75 |
+ readline? ( sys-libs/readline:= ) |
76 |
+" |
77 |
RDEPEND="${DEPEND} |
78 |
svga? ( media-libs/svgalib )" |
79 |
|
80 |
+PATCHES=( |
81 |
+ "${FILESDIR}"/${P}-automagic.patch |
82 |
+ "${FILESDIR}"/${P}-build.patch |
83 |
+) |
84 |
+ |
85 |
src_prepare() { |
86 |
- epatch "${FILESDIR}"/${P}-automagic.patch |
87 |
- epatch "${FILESDIR}"/${P}-build.patch |
88 |
+ default |
89 |
eautoreconf |
90 |
} |
91 |
|
92 |
@@ -38,5 +46,5 @@ src_configure() { |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
- emake install_root="${D}" install |
97 |
+ emake install_root="${ED}" install |
98 |
} |