commit:     eda526c866eff9fc0b56cea369124c2ef165b5a2
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 12 09:03:04 2024 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Nov 12 09:13:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eda526c8

app-emulation/free42: add 3.1.9

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

 app-emulation/free42/Manifest            |  1 +
 app-emulation/free42/free42-3.1.9.ebuild | 45 ++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/app-emulation/free42/Manifest b/app-emulation/free42/Manifest
index 216c6e9c3134..31c87229efcf 100644
--- a/app-emulation/free42/Manifest
+++ b/app-emulation/free42/Manifest
@@ -1 +1,2 @@
 DIST free42-nologo-3.1.8.tgz 7464179 BLAKE2B 
122175508b2da42f101fae37d7c1627ef802d6e21af9cfb4114b657591f0ba1011a109ec3d75823911d3342fdd02e84a58553e616cd0b4c6288b5d39d9648250
 SHA512 
ef350d963a11c1a195024f57532a22771a3d0d9b7058bf38557e81c943e7cbd8b500472275b7094be3f7f01c3edf557cf3a3ee2d493cb756d108211b7391a4bc
+DIST free42-nologo-3.1.9.tgz 7464567 BLAKE2B 
d3a8e87a71b1e6de0da2f9d0efe20e3131c8589151b1f67873d29aa45131b513a2e7fb127fd93fec35c318ed9ed9959f356df3b8c39ea31ed89022d9d66de3eb
 SHA512 
350a0f15f08afbca04cf59e453ac0e48c78fb068b67746ac4174a595140085a167409a51eb9f627a71b931177495456ab31ae3ec00a9dda29bb21db7244381fd

diff --git a/app-emulation/free42/free42-3.1.9.ebuild 
b/app-emulation/free42/free42-3.1.9.ebuild
new file mode 100644
index 000000000000..962007422a29
--- /dev/null
+++ b/app-emulation/free42/free42-3.1.9.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_PV="${PN}-nologo-${PV}"
+
+DESCRIPTION="An HP-42S Calculator Simulator"
+HOMEPAGE="https://thomasokken.com/free42/";
+SRC_URI="https://thomasokken.com/free42/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}-3.0.14-fix-makefile.patch"
+       "${FILESDIR}/${PN}-3.0.16-fix-build-intel-lib.patch"
+)
+
+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/free42bin gtk/free42dec
+}

Reply via email to