diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2023-08-17 00:02:49 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2023-08-17 00:08:43 +0200 |
commit | 30d52221bc2da8ebb75d1bfc54ac528548421d85 (patch) | |
tree | 67a950c456f1e8c85af603cea87c77505d18ed50 /app-emulation/free42 | |
parent | app-emulation/free42: drop 3.0.16, 3.0.17 (diff) | |
download | gentoo-30d52221bc2da8ebb75d1bfc54ac528548421d85.tar.gz gentoo-30d52221bc2da8ebb75d1bfc54ac528548421d85.tar.bz2 gentoo-30d52221bc2da8ebb75d1bfc54ac528548421d85.zip |
app-emulation/free42: add 3.0.21
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-emulation/free42')
-rw-r--r-- | app-emulation/free42/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/free42/free42-3.0.21.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/app-emulation/free42/Manifest b/app-emulation/free42/Manifest index 2992643d2444..ace9f6e02ff6 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.19.tgz 7462639 BLAKE2B 6c916b7226b39b0fda3607b52b08572d41d3bced4523485ac1d4d322c30af492d2218a6bccfbba7d41f85691fc0be9c47b6b651fb10e1d37d06b6bae7e770cce SHA512 b489c6459be3fb4f6be503830087935cbf9aca43bbd71bad51999197922d83a5f291052f5ead63557ac3c039b84baa73bdea7e06aa3335bcc3b5e63c3355bdbd +DIST free42-nologo-3.0.21.tgz 7463253 BLAKE2B d271af7fb450e327a900b41c5ff8af46d0aedd9355cdee449fc1af55cb110dda3d27f0c8e74541b27db06f7d815597a8b20daa81bea154ed4d690b54e2dd301b SHA512 5ce81fa2b30cf7ae18caeb5bd68538c3d63fccb0b19cf48ef89054e128d38e91a6edbfbe349ef5dd80397c8a2023edc782441581336a8e7837df6d2e39cb84c6 diff --git a/app-emulation/free42/free42-3.0.21.ebuild b/app-emulation/free42/free42-3.0.21.ebuild new file mode 100644 index 000000000000..2a6f39b51817 --- /dev/null +++ b/app-emulation/free42/free42-3.0.21.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 +} |