commit: cf2642e74f6e063512ba1b6e68fefb7479b48395
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 21 06:58:20 2025 +0000
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sat Jun 21 07:45:42 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2642e7
app-emulation/plus42: add 1.3.8
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
app-emulation/plus42/Manifest | 1 +
app-emulation/plus42/plus42-1.3.8.ebuild | 49 ++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/app-emulation/plus42/Manifest b/app-emulation/plus42/Manifest
index ca209c7a8a15..389e1de1b522 100644
--- a/app-emulation/plus42/Manifest
+++ b/app-emulation/plus42/Manifest
@@ -1 +1,2 @@
DIST plus42-upstream-1.3.3.tgz 7662537 BLAKE2B
6460dd60388ce88cc8908820bbdb764189c6d642d6a6253d3ae57ea0f0dd35778c8a3ed15ffcfd5bd1447c38b511fba8327874ca76d4d7404cf65bb72dc92919
SHA512
c71143fc332eec064ab257208aad944e6619ddb1816518c73343f94768df8b80c03aa802b7a8730796f6f446aeec79a4b62ef8145ab54d4b2f1b5818f52ff667
+DIST plus42-upstream-1.3.8.tgz 7663074 BLAKE2B
f65a7fcddf2caf7590dbcb96bc00835965bfec355f921254e32202e3eb92d2ee4c5a3ae6e8273e5e323477638d12f053395c20e39d2abe897bbe7327a4cec92d
SHA512
a468507a6b8ba100ad56761565f3103b7b0ea54916700cdb020df75f340f794251f43e0cdcfab84e4154765cddea9304a25d70b1f44212592c38939313885b46
diff --git a/app-emulation/plus42/plus42-1.3.8.ebuild
b/app-emulation/plus42/plus42-1.3.8.ebuild
new file mode 100644
index 000000000000..8749be2a6c4c
--- /dev/null
+++ b/app-emulation/plus42/plus42-1.3.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_PV="${PN}-upstream-${PV}"
+
+DESCRIPTION="An Enhanced HP-42S Calculator Simulator"
+HOMEPAGE="https://thomasokken.com/plus42/"
+SRC_URI="https://thomasokken.com/plus42/upstream/${MY_PV}.tgz"
+S=${WORKDIR}/${MY_PV}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+alsa"
+
+DEPEND="app-accessibility/at-spi2-core
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3
+ alsa? ( media-libs/alsa-lib )"
+RDEPEND="${DEPEND}"
+
+DOCS=( CREDITS HISTORY README )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.0.9-fix-makefile.patch"
+ "${FILESDIR}/${PN}-1.0.12-fix-build-intel-lib.patch"
+)
+
+src_prepare() {
+ default
+}
+
+src_compile() {
+ local myconf
+ use alsa && myconf="AUDIO_ALSA=yes"
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" ${myconf} -C gtk
+ emake -C gtk clean
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" BCD_MATH=1 ${myconf} -C gtk
+}
+
+src_install() {
+ default
+ dobin gtk/plus42bin gtk/plus42dec
+}