From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1473342-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 45A27158011
	for <garchives@archives.gentoo.org>; Mon,  2 Jan 2023 10:54:43 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9125EE08CA;
	Mon,  2 Jan 2023 10:54:42 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 75913E08CA
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 Jan 2023 10:54:42 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 812E7340D41
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 Jan 2023 10:54:41 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A246D7FD
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 Jan 2023 10:54:38 +0000 (UTC)
From: "Bernard Cafarelli" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" <voyageur@gentoo.org>
Message-ID: <1672656875.b76f49e848d53ecc3ccf00e2074cad465ac04496.voyageur@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/free42/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-emulation/free42/Manifest app-emulation/free42/free42-3.0.17.ebuild
X-VCS-Directories: app-emulation/free42/
X-VCS-Committer: voyageur
X-VCS-Committer-Name: Bernard Cafarelli
X-VCS-Revision: b76f49e848d53ecc3ccf00e2074cad465ac04496
X-VCS-Branch: master
Date: Mon,  2 Jan 2023 10:54:38 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: d50472ea-cdab-4273-8f33-d1fe39a66858
X-Archives-Hash: 5f85ba98dec66ccc2c161412aff9ad4e

commit:     b76f49e848d53ecc3ccf00e2074cad465ac04496
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  2 10:52:19 2023 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Mon Jan  2 10:54:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b76f49e8

app-emulation/free42: add 3.0.17

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

 app-emulation/free42/Manifest             |  1 +
 app-emulation/free42/free42-3.0.17.ebuild | 46 +++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

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
+}