commit:     b24e90e7aa00037ba0abe01108895cdbce7ee396
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 23 21:55:01 2025 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sun Feb 23 22:15:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b24e90e7

app-emulation/plus42: add 1.2.6

Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 app-emulation/plus42/Manifest            |  1 +
 app-emulation/plus42/plus42-1.2.6.ebuild | 49 ++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/app-emulation/plus42/Manifest b/app-emulation/plus42/Manifest
index a509f5a5615f..ed92bcafbbc0 100644
--- a/app-emulation/plus42/Manifest
+++ b/app-emulation/plus42/Manifest
@@ -1,2 +1,3 @@
 DIST plus42-upstream-1.1.17.tgz 7620429 BLAKE2B 
112564ca0fb828ea6a42d7c2507392d40d69c0f4a199c56bd7e7cce0d097d40b31e5fba4d8e899fb89d99644e2ad299c8cf8f06f1b2262b9bc3f50fdefb8b14a
 SHA512 
8ec7bedda17fd9f68cb98cd0c43716a10f2a5556f74101ffd7dac0d340af7c735608fb7da4baa8438872d7b31c3fe8c4528868e3fc3b014a1db1d9c4118f09ed
 DIST plus42-upstream-1.2.2.tgz 7645410 BLAKE2B 
fecc1d6ff74762fd56f3013be747a497577054ef402c7d70198cadc1adf338ccf7b58da3617529a64422db522d5a6cf6591f826ad88a04e34afa7aa5ee745343
 SHA512 
213a1d9c261a2a8880d0a74edb3b717db99dca2998332eed33ca3f8554e6f97cdda1264121b169111a17e5457df03de14ae0534292ca78d3ffda2d61d4343e86
+DIST plus42-upstream-1.2.6.tgz 7651293 BLAKE2B 
3f2d62d13d654b52a4479d6afa3719e26acb849fe8a63523df9970c8701046a0b43830bccb0a35f12bdd784b7a858c1f40e16c5c878d413666eacbe7327b08fd
 SHA512 
929e34809d5983654ce4a8fbcce9cb7d486d78c682367e8af02e5d05863c14143f4378bc047051cc13df6d96e4e60b64d74553e278ca7b6e350d0294650569ab

diff --git a/app-emulation/plus42/plus42-1.2.6.ebuild 
b/app-emulation/plus42/plus42-1.2.6.ebuild
new file mode 100644
index 000000000000..8749be2a6c4c
--- /dev/null
+++ b/app-emulation/plus42/plus42-1.2.6.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
+}

Reply via email to