Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/nestra/
Date: Mon, 19 Apr 2021 19:12:50
Message-Id: 1618859529.ece959ecd698352f6ce542209047d1636da13d70.sam@gentoo
1 commit: ece959ecd698352f6ce542209047d1636da13d70
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 19 18:12:40 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 19 19:12:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ece959ec
7
8 games-emulation/nestra: port to EAPI 7
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 games-emulation/nestra/nestra-0.66-r3.ebuild | 14 +++++++-------
13 1 file changed, 7 insertions(+), 7 deletions(-)
14
15 diff --git a/games-emulation/nestra/nestra-0.66-r3.ebuild b/games-emulation/nestra/nestra-0.66-r3.ebuild
16 index 44ca1daa1d3..73ec6ac1948 100644
17 --- a/games-emulation/nestra/nestra-0.66-r3.ebuild
18 +++ b/games-emulation/nestra/nestra-0.66-r3.ebuild
19 @@ -1,28 +1,28 @@
20 -# Copyright 1999-2018 Gentoo Foundation
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=6
25 -inherit epatch toolchain-funcs flag-o-matic
26 +EAPI=7
27 +
28 +inherit toolchain-funcs flag-o-matic
29
30 PATCH="${P/-/_}-10.diff"
31 DESCRIPTION="NES emulation for Linux/x86"
32 HOMEPAGE="http://nestra.linuxgames.com/"
33 SRC_URI="http://nestra.linuxgames.com/${P}.tar.gz
34 mirror://debian/pool/contrib/n/nestra/${PATCH}.gz"
35 +S="${WORKDIR}/${PN}"
36
37 LICENSE="GPL-2"
38 SLOT="0"
39 KEYWORDS="~amd64 ~x86"
40 -IUSE=""
41
42 RDEPEND="x11-libs/libX11[abi_x86_32(-)]"
43 DEPEND="${RDEPEND}"
44
45 -S="${WORKDIR}/${PN}"
46 -
47 src_prepare() {
48 default
49 - epatch "${WORKDIR}"/${PATCH}
50 +
51 + eapply "${WORKDIR}"/${PATCH}
52 eapply "${FILESDIR}"/${P}-exec-stack.patch
53 eapply "${FILESDIR}"/${P}-include.patch