summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2023-04-13 13:00:08 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2023-04-13 13:00:08 +0200
commit9aaa0aa7a1d5775c4298a4514b9d193b1d5b361e (patch)
tree824c6766cf49c8dfd26b0b18dc94ee7c8dd4fc4d /app-emulation
parentx11-plugins/wmsysmon: add 0.8.1 (diff)
downloadgentoo-9aaa0aa7a1d5775c4298a4514b9d193b1d5b361e.tar.gz
gentoo-9aaa0aa7a1d5775c4298a4514b9d193b1d5b361e.tar.bz2
gentoo-9aaa0aa7a1d5775c4298a4514b9d193b1d5b361e.zip
app-emulation/free42: add 3.0.19
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/free42/Manifest1
-rw-r--r--app-emulation/free42/free42-3.0.19.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/app-emulation/free42/Manifest b/app-emulation/free42/Manifest
index 13a76d2fda22..a5864356335b 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.16.tgz 7460148 BLAKE2B 2fd4baf38c30436bcc9e97698389a8fb6c9b457171a5ddbd117b32eaab02fc290132c26640201c5ae411f5701ec768a7744be64168ab5edab4c646397e6ced94 SHA512 909a461e2396b5a532b757c4305fea6623bd7102210940c457a9facda5404f7fb82918ced9f66fd13992bd0f2c7558f38c7b4693b9fd2434cff739af48c28a0e
DIST free42-nologo-3.0.17.tgz 7460164 BLAKE2B a0cf99f27441eab34d70aaaf2ed0526a73f624f370deaeaa0eb675b43927c58405d343732ddc341cca3e30a656e13c176adbf3ba947b8a742fcc080f8399b093 SHA512 be1d82e5f2f47b1e66801d4993ee4cbeb2aab995072c897d669a01c23abba3ec43b931c73681fdba271b10a810f00391927b4ea959a53db8a239713152877c4e
+DIST free42-nologo-3.0.19.tgz 7462639 BLAKE2B 6c916b7226b39b0fda3607b52b08572d41d3bced4523485ac1d4d322c30af492d2218a6bccfbba7d41f85691fc0be9c47b6b651fb10e1d37d06b6bae7e770cce SHA512 b489c6459be3fb4f6be503830087935cbf9aca43bbd71bad51999197922d83a5f291052f5ead63557ac3c039b84baa73bdea7e06aa3335bcc3b5e63c3355bdbd
diff --git a/app-emulation/free42/free42-3.0.19.ebuild b/app-emulation/free42/free42-3.0.19.ebuild
new file mode 100644
index 000000000000..2a6f39b51817
--- /dev/null
+++ b/app-emulation/free42/free42-3.0.19.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 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
+}