summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2023-01-02 11:52:19 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2023-01-02 11:54:35 +0100
commitb76f49e848d53ecc3ccf00e2074cad465ac04496 (patch)
treec9cda3275efdf015677b3e0753296688d0a34c34 /app-emulation
parentapp-emulation/free42: drop 3.0.13, 3.0.14 (diff)
downloadgentoo-b76f49e848d53ecc3ccf00e2074cad465ac04496.tar.gz
gentoo-b76f49e848d53ecc3ccf00e2074cad465ac04496.tar.bz2
gentoo-b76f49e848d53ecc3ccf00e2074cad465ac04496.zip
app-emulation/free42: add 3.0.17
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.17.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/app-emulation/free42/Manifest b/app-emulation/free42/Manifest
index 1b80f0775b7d..13a76d2fda22 100644
--- a/app-emulation/free42/Manifest
+++ b/app-emulation/free42/Manifest
@@ -1,2 +1,3 @@
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
diff --git a/app-emulation/free42/free42-3.0.17.ebuild b/app-emulation/free42/free42-3.0.17.ebuild
new file mode 100644
index 000000000000..2a6f39b51817
--- /dev/null
+++ b/app-emulation/free42/free42-3.0.17.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
+}