app-emulation/spectemu: bump to EAPI 7

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2020-09-16 19:44:05 +00:00
parent 79f5db51a9
commit 0ed9aab19d
No known key found for this signature in database
GPG Key ID: B17E3E84E6103C9B
3 changed files with 21 additions and 13 deletions

View File

@ -1,5 +1,5 @@
--- configure.in
+++ configure.in
--- a/configure.in
+++ b/configure.in
@@ -121,13 +121,22 @@
dnl -----------------------------------------------------------
dnl Check for SVGALIB

View File

@ -1,5 +1,5 @@
--- Makefile.in
+++ Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -44,17 +44,19 @@
./mkinstalldirs $(i_bindir) $(i_mandir)

View File

@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=4
EAPI=7
inherit autotools eutils
inherit autotools
DESCRIPTION="48k ZX Spectrum Emulator"
HOMEPAGE="http://kempelen.iit.bme.hu/~mszeredi/spectemu/spectemu.html"
@ -16,17 +16,25 @@ IUSE="readline svga +X"
REQUIRED_USE="|| ( svga X )"
DEPEND="X? ( x11-base/xorg-proto
DEPEND="
X? (
x11-base/xorg-proto
>=x11-libs/libX11-1.0.0
>=x11-libs/libXext-1.0.0
>=x11-libs/libXxf86vm-1.0.0 )
readline? ( sys-libs/readline )"
>=x11-libs/libXxf86vm-1.0.0
)
readline? ( sys-libs/readline:= )
"
RDEPEND="${DEPEND}
svga? ( media-libs/svgalib )"
PATCHES=(
"${FILESDIR}"/${P}-automagic.patch
"${FILESDIR}"/${P}-build.patch
)
src_prepare() {
epatch "${FILESDIR}"/${P}-automagic.patch
epatch "${FILESDIR}"/${P}-build.patch
default
eautoreconf
}
@ -38,5 +46,5 @@ src_configure() {
}
src_install() {
emake install_root="${D}" install
emake install_root="${ED}" install
}