commit:     e8871c49c06d58e198aa988b651228553c106895
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 13 21:51:21 2022 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sun Nov 13 22:39:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8871c49

app-emulation/plus42: add 1.0.13

Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 app-emulation/plus42/Manifest             |  1 +
 app-emulation/plus42/plus42-1.0.13.ebuild | 50 +++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/app-emulation/plus42/Manifest b/app-emulation/plus42/Manifest
index 0435510e248f..9669cee28e9c 100644
--- a/app-emulation/plus42/Manifest
+++ b/app-emulation/plus42/Manifest
@@ -1,3 +1,4 @@
 DIST plus42-upstream-1.0.10.tgz 7585424 BLAKE2B 
c27f5e653e07986a092efc34ed6aaf7de2b1e6c20db3300fc6bd35337032a57b4623cf9d5ecb1b0e56e1a7b6d92a4b5d04be0b9dea9fade9d0e7efe86901ca8d
 SHA512 
d504988c5bfcf1e554ee7478c5c6d0cc7472e3ba9904fb45d2ea77bf05307e0def79002785551b6a876d714d5d4279728b329c63c7108a935b06967c65441083
 DIST plus42-upstream-1.0.12.tgz 7587652 BLAKE2B 
22238d0e0b315f682063803d01cc2c1e943b152d8dd37998fbf81827d311f13b43e7529bf9fc229697b865dfe630ff1024052e119b5753386ac9a06db0f2c0e4
 SHA512 
31e380ab45d11a2e1a02ade6b9ce61aa756ee20ad8424eb404986ff536be8e91dea63b00baea607d7f0e41e0406d2bbab9f91123a637a2c87bbfe25bcabbbaa7
+DIST plus42-upstream-1.0.13.tgz 7587720 BLAKE2B 
101e6b58a5421e42340b63f521b3a68766dd2f5ddb73d88c6417bd71f79afc0f20403f7e9c134ff3a8f97259a09e7b67dd47d8f349b8c233c12bf707a5ec7175
 SHA512 
5e184c2737da8aeb702b8d73af810ae5ab633490470918e3e9bb467ac01cfb912a25ae7ba00cb311fafe7250fc28b474958d55c19e1ec9b3c2280c33b97ae865
 DIST plus42-upstream-1.0.9.tgz 7585218 BLAKE2B 
e6c09c985fcf3f037a0c1dc1f4f445ef18c4f73962ffbf46939b91d5a96c9f079bd36b328b30fcae42f0bc13ebee7a1f56e51762f225f41fb715ab88e8b93d56
 SHA512 
77c06cf33d375f513c6806910f6b8bdda865853e7890922174364a7d2a07e35a6bbae2e62800c7658be01fe8b3aafbfc7f53a19451475b411865fe69bef090d8

diff --git a/app-emulation/plus42/plus42-1.0.13.ebuild 
b/app-emulation/plus42/plus42-1.0.13.ebuild
new file mode 100644
index 000000000000..3812fdade255
--- /dev/null
+++ b/app-emulation/plus42/plus42-1.0.13.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 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
+}

Reply via email to