Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/nestra/
Date: Sun, 29 Apr 2018 13:07:02
Message-Id: 1525007185.1e91cb15cfef8b9917bd620583cec51c34f26be7.pacho@gentoo
1 commit: 1e91cb15cfef8b9917bd620583cec51c34f26be7
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 29 11:39:48 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 29 13:06:25 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e91cb15
7
8 games-emulation/nestra: Drop old
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 games-emulation/nestra/nestra-0.66-r2.ebuild | 48 ----------------------------
13 1 file changed, 48 deletions(-)
14
15 diff --git a/games-emulation/nestra/nestra-0.66-r2.ebuild b/games-emulation/nestra/nestra-0.66-r2.ebuild
16 deleted file mode 100644
17 index 0dabb4e9895..00000000000
18 --- a/games-emulation/nestra/nestra-0.66-r2.ebuild
19 +++ /dev/null
20 @@ -1,48 +0,0 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -inherit eutils toolchain-funcs flag-o-matic multilib games
26 -
27 -PATCH="${P/-/_}-10.diff"
28 -DESCRIPTION="NES emulation for Linux/x86"
29 -HOMEPAGE="http://nestra.linuxgames.com/"
30 -SRC_URI="http://nestra.linuxgames.com/${P}.tar.gz
31 - mirror://debian/pool/contrib/n/nestra/${PATCH}.gz"
32 -
33 -LICENSE="GPL-2"
34 -SLOT="0"
35 -KEYWORDS="~amd64 ~x86"
36 -IUSE=""
37 -
38 -RDEPEND="x11-libs/libX11[abi_x86_32(-)]"
39 -DEPEND=${RDEPEND}
40 -
41 -S=${WORKDIR}/${PN}
42 -
43 -src_prepare() {
44 - epatch \
45 - "${WORKDIR}"/${PATCH} \
46 - "${FILESDIR}"/${P}-exec-stack.patch \
47 - "${FILESDIR}"/${P}-include.patch
48 - append-ldflags -Wl,-z,noexecstack
49 - use amd64 && multilib_toolchain_setup x86
50 - sed -i \
51 - -e "s:-L/usr/X11R6/lib:${LDFLAGS}:" \
52 - -e 's:-O2 ::' \
53 - -e "s:gcc:$(tc-getCC) ${CFLAGS}:" \
54 - -e "s:ld:$(tc-getLD) -m elf_i386 $(raw-ldflags):" \
55 - Makefile || die
56 -}
57 -
58 -src_compile() {
59 - use amd64 && multilib_toolchain_setup x86
60 - games_src_compile
61 -}
62 -
63 -src_install() {
64 - dogamesbin nestra
65 - dodoc BUGS CHANGES README
66 - doman nestra.6
67 - prepgamesdirs
68 -}