1 |
commit: 56ef3ac2904e7d791ece59bc4f8a148571f78fef |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 2 10:53:04 2023 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 2 10:54:36 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56ef3ac2 |
7 |
|
8 |
app-emulation/plus42: add 1.0.15 |
9 |
|
10 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
11 |
|
12 |
app-emulation/plus42/Manifest | 1 + |
13 |
app-emulation/plus42/plus42-1.0.15.ebuild | 50 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/plus42/Manifest b/app-emulation/plus42/Manifest |
17 |
index 4f757cbb7db4..dfb51877dc53 100644 |
18 |
--- a/app-emulation/plus42/Manifest |
19 |
+++ b/app-emulation/plus42/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST plus42-upstream-1.0.13.tgz 7587720 BLAKE2B 101e6b58a5421e42340b63f521b3a68766dd2f5ddb73d88c6417bd71f79afc0f20403f7e9c134ff3a8f97259a09e7b67dd47d8f349b8c233c12bf707a5ec7175 SHA512 5e184c2737da8aeb702b8d73af810ae5ab633490470918e3e9bb467ac01cfb912a25ae7ba00cb311fafe7250fc28b474958d55c19e1ec9b3c2280c33b97ae865 |
22 |
+DIST plus42-upstream-1.0.15.tgz 7587812 BLAKE2B 533169b56b99e84cb56f16ed3fa0e34ddfae5dc6307df0dab59d4bb6f67890df1ad7f463322304c1605696d9b6c3fa4a624a75cf7284e70b1b6c3aa7518090dd SHA512 fe2ee765410b3e10b8967cb27d7a32140c45f8e1761e3923ed6093e68ccdafe6d77cb84b3df4d803ca4deff972dbda023bfcc89fbbf9448237791afc2e9c4eb9 |
23 |
|
24 |
diff --git a/app-emulation/plus42/plus42-1.0.15.ebuild b/app-emulation/plus42/plus42-1.0.15.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..89d41071d3b2 |
27 |
--- /dev/null |
28 |
+++ b/app-emulation/plus42/plus42-1.0.15.ebuild |
29 |
@@ -0,0 +1,50 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit toolchain-funcs |
36 |
+ |
37 |
+MY_PV="${PN}-upstream-${PV}" |
38 |
+ |
39 |
+DESCRIPTION="An Enhanced HP-42S Calculator Simulator" |
40 |
+HOMEPAGE="https://thomasokken.com/plus42/" |
41 |
+SRC_URI="https://thomasokken.com/plus42/upstream/${MY_PV}.tgz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="+alsa" |
47 |
+ |
48 |
+DEPEND="app-accessibility/at-spi2-core |
49 |
+ x11-libs/cairo |
50 |
+ x11-libs/gdk-pixbuf |
51 |
+ x11-libs/gtk+:3 |
52 |
+ alsa? ( media-libs/alsa-lib )" |
53 |
+ |
54 |
+RDEPEND="${DEPEND}" |
55 |
+ |
56 |
+DOCS=( CREDITS HISTORY README ) |
57 |
+S="${WORKDIR}/${MY_PV}" |
58 |
+ |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}/${PN}-1.0.9-fix-makefile.patch" |
61 |
+ "${FILESDIR}/${PN}-1.0.12-fix-build-intel-lib.patch" |
62 |
+) |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ default |
66 |
+} |
67 |
+ |
68 |
+src_compile() { |
69 |
+ local myconf |
70 |
+ use alsa && myconf="AUDIO_ALSA=yes" |
71 |
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" ${myconf} -C gtk |
72 |
+ emake -C gtk clean |
73 |
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" BCD_MATH=1 ${myconf} -C gtk |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ default |
78 |
+ dobin gtk/plus42bin gtk/plus42dec |
79 |
+} |