Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/free42/
Date: Tue, 24 Sep 2019 12:56:43
Message-Id: 1569329791.15f46f5015c1e2e81c2e1e186e2f9788bc8582c6.voyageur@gentoo
1 commit: 15f46f5015c1e2e81c2e1e186e2f9788bc8582c6
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 23 20:48:31 2019 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 24 12:56:31 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15f46f50
7
8 app-emulation/free42: 2.5.9 bump
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
12
13 app-emulation/free42/Manifest | 1 +
14 app-emulation/free42/free42-2.5.9.ebuild | 53 ++++++++++++++++++++++++++++++++
15 2 files changed, 54 insertions(+)
16
17 diff --git a/app-emulation/free42/Manifest b/app-emulation/free42/Manifest
18 index 0574099e696..c83edfeabc5 100644
19 --- a/app-emulation/free42/Manifest
20 +++ b/app-emulation/free42/Manifest
21 @@ -1,2 +1,3 @@
22 DIST free42-nologo-2.0.20.tgz 7390214 BLAKE2B 306f3378bcbb44fa7982c5d9c29bfbea62e915ca50ca5e5216f46fbf483f110a1288d4800991a74622a042517496ff8dd94c3fa3249e8bb4181957e6b23d5ea3 SHA512 9b540fbc50df2f94b135b5e778354f330df77a54ef2ad99b257b5b91d1e3e8d1241e8a834522fc46fe33571ea2695ad8889b427dbcf653870672e89cd56d60f5
23 DIST free42-nologo-2.5.3.tgz 7406566 BLAKE2B a8fcad4738b46e5725e323eb7c16929c32fe0c72eccadf2f692950a3ee952f3b8f7e1e46d6e4eee4e822ca5a3b2c42adb09e2b43f0480c954aef87dc81b1edd3 SHA512 9a96bc5453f938ba806117ac3162db4f87d3584662c8a1aae370f17a06c1e92167adb2c2bb9bbd17b91473f272f8c031c7ffc1944247962571a94cb7063f0904
24 +DIST free42-nologo-2.5.9.tgz 7408535 BLAKE2B a64c925e5c93e396efc2a46f8d495201b039763269c9d326469f9b77435b6ef5a6b434f83a2c7017587ef7223724ed7986aafa60bcb542f79d20630eee0016fc SHA512 fba421b181649881092b398458e2065f9f133b76d88e140f046de805dd42a5ba513168cf2ecd4c94821e1b8374e596a2b696533d29c11ccae4106a14f1fdaba4
25
26 diff --git a/app-emulation/free42/free42-2.5.9.ebuild b/app-emulation/free42/free42-2.5.9.ebuild
27 new file mode 100644
28 index 00000000000..67e64a2dd93
29 --- /dev/null
30 +++ b/app-emulation/free42/free42-2.5.9.ebuild
31 @@ -0,0 +1,53 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit toolchain-funcs
38 +
39 +MY_PV="${PN}-nologo-${PV}"
40 +
41 +DESCRIPTION="An HP-42S Calculator Simulator"
42 +HOMEPAGE="http://thomasokken.com/free42/"
43 +SRC_URI="http://thomasokken.com/free42/upstream/${MY_PV}.tgz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="+alsa"
49 +
50 +DEPEND="dev-libs/atk
51 + x11-libs/cairo
52 + x11-libs/gdk-pixbuf
53 + x11-libs/gtk+:2
54 + x11-libs/pango
55 + alsa? ( media-libs/alsa-lib )"
56 +
57 +RDEPEND="${DEPEND}
58 + x11-libs/libX11
59 + x11-libs/libXmu"
60 +
61 +DOCS=( CREDITS HISTORY README )
62 +S="${WORKDIR}/${MY_PV}"
63 +
64 +PATCHES=(
65 + "${FILESDIR}/${PN}-2.5.3-fix-makefile.patch"
66 + "${FILESDIR}/${PN}-2.5.3-fix-build-intel-lib.patch"
67 +)
68 +
69 +src_prepare() {
70 + default
71 +}
72 +
73 +src_compile() {
74 + local myconf
75 + use alsa && myconf="AUDIO_ALSA=yes"
76 + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" ${myconf} -C gtk
77 + emake -C gtk clean
78 + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" BCD_MATH=1 ${myconf} -C gtk
79 +}
80 +
81 +src_install() {
82 + default
83 + dobin gtk/free42bin gtk/free42dec
84 +}