commit: ad70f90c7741bb311ef7f23cb81c2046ff24d102 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> AuthorDate: Mon Jan 29 09:37:01 2024 +0000 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> CommitDate: Mon Jan 29 09:44:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad70f90c
app-emulation/plus42: add 1.1.3 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> app-emulation/plus42/Manifest | 1 + app-emulation/plus42/plus42-1.1.3.ebuild | 50 ++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/app-emulation/plus42/Manifest b/app-emulation/plus42/Manifest index 29d98636043d..7e72fa0d47be 100644 --- a/app-emulation/plus42/Manifest +++ b/app-emulation/plus42/Manifest @@ -1,2 +1,3 @@ DIST plus42-upstream-1.0.21.tgz 7596740 BLAKE2B 2710ec70682ea8a68ff07388c210bd253f5a91736caa017efed036b0cba41a9895721287246982477adaf4288d79d195cf6543b79d5e0905b62acc91becd4da8 SHA512 55b42e006ce003c9e619fa10ec7e28319f82444bce0f811f9ebdd16c0ceeded9e978a3f7c0b134bdc17c39a55f1071b8245d099d1c7d9a7b81bfe850d30bd962 DIST plus42-upstream-1.1.2.tgz 7607688 BLAKE2B 3d353898cf9ad51388ab40d86265dc83822f6ac658ca8c8c1a2c0ce8b7801b64c2d454d129743049c46723caf5b82f90e5939b3e1e08431a8246472256033c5e SHA512 7418dce2d31deb3b4d5275921bfd84eafd15546c0a3f0110c463ec620e8b53c99c6ce74401aafa89e7658843711ef5b02ca144edafbcd8b4aad4a26f93ba9d70 +DIST plus42-upstream-1.1.3.tgz 7610112 BLAKE2B 6c55a8c2acebbc0e442308e0f078d2ac86f9866d9dbe808a17007a3c3729114f24379401267787107d11e4f3559e14c86f39051da3a956928a7c4c97c1867c31 SHA512 05fd0fb3f330ad0842d28df46ec89d3347cbfca776c6e73092261a96f860677d8f9a6de96ee98adfed4abe5d950a45cec6e6056bb97dd471204d644cbdb82d10 diff --git a/app-emulation/plus42/plus42-1.1.3.ebuild b/app-emulation/plus42/plus42-1.1.3.ebuild new file mode 100644 index 000000000000..b779379a5982 --- /dev/null +++ b/app-emulation/plus42/plus42-1.1.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_PV="${PN}-upstream-${PV}" + +DESCRIPTION="An Enhanced HP-42S Calculator Simulator" +HOMEPAGE="https://thomasokken.com/plus42/" +SRC_URI="https://thomasokken.com/plus42/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}-1.0.9-fix-makefile.patch" + "${FILESDIR}/${PN}-1.0.12-fix-build-intel-lib.patch" +) + +src_prepare() { + default +} + +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/plus42bin gtk/plus42dec +}