summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2024-01-29 10:36:24 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2024-01-29 10:44:32 +0100
commit8271b5f911634e256012674b051b85f79b7a3827 (patch)
tree6c7fa8c80a59403b837dba958248c28fe474ca0d /app-emulation/free42
parentmedia-gfx/inkscape: fix build w/ libxml2-2.12 (diff)
downloadgentoo-8271b5f911634e256012674b051b85f79b7a3827.tar.gz
gentoo-8271b5f911634e256012674b051b85f79b7a3827.tar.bz2
gentoo-8271b5f911634e256012674b051b85f79b7a3827.zip
app-emulation/free42: add 3.1.3
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-emulation/free42')
-rw-r--r--app-emulation/free42/Manifest1
-rw-r--r--app-emulation/free42/free42-3.1.3.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/app-emulation/free42/Manifest b/app-emulation/free42/Manifest
index bec6984ca68b..748eb5f2a16f 100644
--- a/app-emulation/free42/Manifest
+++ b/app-emulation/free42/Manifest
@@ -1,3 +1,4 @@
DIST free42-nologo-2.5.24.tgz 7423183 BLAKE2B e10425af8d5c30be6ab5b728130bbe3068c414e24f033b65623951f915bcfeea0672857ff8def3e9f2766aba79411a1022d4b83592281567de38e82613d8a832 SHA512 a0702c3e4b2f3f38f73c54de4e51da8d1dc90585b253d1ae087d59dfabbe83be9c80086df8540cb6420dae8c6e766cd1ccce875d9bcb94ecbc85791e3fa89b8b
DIST free42-nologo-3.0.21.tgz 7463253 BLAKE2B d271af7fb450e327a900b41c5ff8af46d0aedd9355cdee449fc1af55cb110dda3d27f0c8e74541b27db06f7d815597a8b20daa81bea154ed4d690b54e2dd301b SHA512 5ce81fa2b30cf7ae18caeb5bd68538c3d63fccb0b19cf48ef89054e128d38e91a6edbfbe349ef5dd80397c8a2023edc782441581336a8e7837df6d2e39cb84c6
DIST free42-nologo-3.1.2.tgz 7459860 BLAKE2B 61e12a542847982c4349d99545f2eb32861d6280e57944646d26aa061307f7d357970ead63532bd46a7f6ff5a650f5ba39b446a4aab06eba9275745b2b8629b6 SHA512 6f01e9305d72499576f8330c350bd54b1f6164a39be412ebe690b87546b22b40492b771478fe3302fc7afafe850a9a6a5661d9305c20252e359c038181962c1e
+DIST free42-nologo-3.1.3.tgz 7461009 BLAKE2B 915954de24a31f89f112d0d5e13ed01bd6a1e341549c8a86f463858e4071fc0a4751e94a6a257d561da570fd3705250d740c741925ee2b022a50966b8d5b16f8 SHA512 5ad6e6702a789c81d8942c4030606e44112fc21f1af6e5e23f21825115cabbc03cbcb142351d5d0451f5bf8d603d653b783ebe1293fa7ebfb04c93dfdea3455d
diff --git a/app-emulation/free42/free42-3.1.3.ebuild b/app-emulation/free42/free42-3.1.3.ebuild
new file mode 100644
index 000000000000..1fd58bbcf2cf
--- /dev/null
+++ b/app-emulation/free42/free42-3.1.3.ebuild
@@ -0,0 +1,46 @@
+# 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"
+
+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 )
+S="${WORKDIR}/${MY_PV}"
+
+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
+}