Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/gxemul/
Date: Tue, 15 Sep 2020 03:33:31
Message-Id: 1600140798.cf0d8b5f5d46b4bca2f2f7f20fe908a84d7567bb.sam@gentoo
1 commit: cf0d8b5f5d46b4bca2f2f7f20fe908a84d7567bb
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 15 03:33:18 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 15 03:33:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0d8b5f
7
8 app-emulation/gxemul: bump to 0.6.2
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 app-emulation/gxemul/Manifest | 1 +
14 app-emulation/gxemul/gxemul-0.6.2.ebuild | 48 ++++++++++++++++++++++++++++++++
15 2 files changed, 49 insertions(+)
16
17 diff --git a/app-emulation/gxemul/Manifest b/app-emulation/gxemul/Manifest
18 index f2f18056330..0e40fbe91e0 100644
19 --- a/app-emulation/gxemul/Manifest
20 +++ b/app-emulation/gxemul/Manifest
21 @@ -1 +1,2 @@
22 DIST gxemul-0.6.0.tar.gz 3598795 BLAKE2B 01bab252b8497379cc819899d9030fd267cf7679a90a421f435c6cb9ce84fedbdbd0ff23a11e0c91a17e41e166488562b4e173b3793cdbc2dd53b70701351429 SHA512 38108c7e4f1332bf80046a63e4a7c5e0fbce7f83a62fdeaa4518ef02947d7de83aac20b0307d286b7eb5d9c721b8400d449d4f244b2bc9358a2502fa21f56b73
23 +DIST gxemul-0.6.2.tar.gz 5897883 BLAKE2B 9f5b76d955dc3e1a5b1623aaf491f18376456f33cfaa6a4c1633480980c35bb99172075135cfc1ca942ae3b0f34c4eb11c4aec4bc00272da8bb905176ddcea4a SHA512 4f389c509f9ecf39603ceed50e899e2bee285d3fefac9b3214076115ee71b5a7a68d1d92690b6debc8de5cf5f0303da83b3cc921a5c0b5eb4c7ad89baa730b59
24
25 diff --git a/app-emulation/gxemul/gxemul-0.6.2.ebuild b/app-emulation/gxemul/gxemul-0.6.2.ebuild
26 new file mode 100644
27 index 00000000000..4f73577a5ce
28 --- /dev/null
29 +++ b/app-emulation/gxemul/gxemul-0.6.2.ebuild
30 @@ -0,0 +1,48 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit toolchain-funcs
37 +
38 +DESCRIPTION="A Machine Emulator, Mainly emulates MIPS, but supports other CPU types"
39 +HOMEPAGE="http://gxemul.sourceforge.net/"
40 +SRC_URI="mirror://sourceforge/project/gxemul/GXemul/${PV}/${P}.tar.gz"
41 +
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86"
45 +IUSE="debug X"
46 +
47 +RDEPEND="X? ( x11-libs/libX11 )"
48 +DEPEND="${RDEPEND}
49 + X? ( x11-base/xorg-proto )"
50 +
51 +PATCHES=(
52 + "${FILESDIR}"/${PN}-0.6.0-gcc46.patch
53 + "${FILESDIR}"/${PN}-0.6.0-no-doxygen.patch
54 +)
55 +
56 +src_prepare() {
57 + default
58 +
59 + sed -i configure -e 's|-O3||g' || die "sed configure"
60 + tc-export CC CXX
61 +}
62 +
63 +src_configure() {
64 + # no autotools
65 + ./configure \
66 + --disable-valgrind \
67 + $(use debug && echo --debug) \
68 + $(use X || echo --disable-x) \
69 + || die "configure failed"
70 +}
71 +
72 +src_install() {
73 + dobin gxemul
74 + doman man/gxemul.1
75 + dodoc HISTORY README
76 + docinto html
77 + dodoc -r doc/.
78 +}