From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1726158-garchives=archives.gentoo.org@lists.gentoo.org>
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 finch.gentoo.org (Postfix) with ESMTPS id 342001582EF
	for <garchives@archives.gentoo.org>; Mon, 10 Mar 2025 02:18:42 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(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)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 1A49234315B
	for <garchives@archives.gentoo.org>; Mon, 10 Mar 2025 02:18:42 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 68B011103A8;
	Mon, 10 Mar 2025 02:18:37 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 bobolink.gentoo.org (Postfix) with ESMTPS id 5EB1B1103A8
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Mar 2025 02:18:37 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0FA04343129
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Mar 2025 02:18:37 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 616C228B4
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Mar 2025 02:18:35 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1741572310.debed571642c98de4a1c702415f68ead06eeae83.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/jgrf/
X-VCS-Repository: repo/gentoo
X-VCS-Files: games-emulation/jgrf/Manifest games-emulation/jgrf/jgrf-1.2.1.ebuild
X-VCS-Directories: games-emulation/jgrf/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: debed571642c98de4a1c702415f68ead06eeae83
X-VCS-Branch: master
Date: Mon, 10 Mar 2025 02:18:35 +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: 8aff859f-3964-46a2-aef9-c4b5172d8189
X-Archives-Hash: 7db2b3afb613635a6ed9c92f2c62c519

commit:     debed571642c98de4a1c702415f68ead06eeae83
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Mon Mar  3 01:11:30 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 02:05:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=debed571

games-emulation/jgrf: add 1.2.1

Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-emulation/jgrf/Manifest          |  1 +
 games-emulation/jgrf/jgrf-1.2.1.ebuild | 51 ++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/games-emulation/jgrf/Manifest b/games-emulation/jgrf/Manifest
index b7d23710b7cf..c6d6cda00447 100644
--- a/games-emulation/jgrf/Manifest
+++ b/games-emulation/jgrf/Manifest
@@ -1,2 +1,3 @@
 DIST jgrf-1.1.0.tar.bz2 300956 BLAKE2B a9bdacfb1713a20eaf78794f149773ba19c594941e7fe793d67d1c1a7f86bb8e5911ba92e35ac2a3bbef2c00009b478038fb93636d0a36f567596d44d4bfa7f0 SHA512 4fb96c9fea7bca818b44870bbb69cdb0c062739766d82793909228ba43d3b3be0c1ecfbad8fb2b18e445ae5a0c3958141bbc16726b97a4d3eaef596e94af88b7
 DIST jgrf-1.2.0.tar.bz2 306722 BLAKE2B 55453ea21a53f57c938c9c5b40614c37dc9438787cc1f8116fd30c4d64b397147bca4abdcbc1f69de10c510bedc7e3ef652496783b87b7748c83283925ca5669 SHA512 a012a1918dd734aac6ac92ddbe657b19809ef101c99e79e0754d05a4656b546a5aa6aa7f70eec441ecaf46d5501fd6c20caff4568c3abdaeb932be47304bd713
+DIST jgrf-1.2.1.tar.bz2 307911 BLAKE2B d54d0ea3cf6e4eb7df1469a2dfa5cb268be51d1497d003e14e6bdf183a40cc7b6ec13dd8cb3217e15fc8539df5131754d0ec846943f454d324fa4b3546422713 SHA512 2fc29363fa6a22e4e9a58fc25ea532c51ce03971c692b0b4ea0d0407ee232bd36cdfe9a1408019c1b66f6fd35ae7a534a50a65ee801f68e290537da012ab77e7

diff --git a/games-emulation/jgrf/jgrf-1.2.1.ebuild b/games-emulation/jgrf/jgrf-1.2.1.ebuild
new file mode 100644
index 000000000000..e236b8e6e26c
--- /dev/null
+++ b/games-emulation/jgrf/jgrf-1.2.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs xdg
+
+DESCRIPTION="The Jolly Good Reference Frontend"
+HOMEPAGE="https://jgemu.gitlab.io/jgrf.html"
+if [[ "${PV}" == *9999 ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://gitlab.com/jgemu/${PN}.git"
+else
+	SRC_URI="https://gitlab.com/jgemu/${PN}/-/archive/${PV}/${P}.tar.bz2"
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="BSD CC0-1.0 MIT ZLIB"
+SLOT="1"
+
+DEPEND="
+	dev-libs/miniz
+	dev-libs/openssl:0=
+	media-libs/jg:1=
+	media-libs/libepoxy[egl(+)]
+	media-libs/libsdl2[opengl,sound,video]
+	media-libs/speexdsp
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	virtual/pkgconfig
+"
+
+src_compile() {
+	emake \
+		CC="$(tc-getCC)" \
+		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+		PREFIX="${EPREFIX}"/usr \
+		LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+		USE_EXTERNAL_MD5=1 \
+		USE_EXTERNAL_MINIZ=1
+}
+
+src_install() {
+	emake install \
+		DESTDIR="${D}" \
+		PREFIX="${EPREFIX}"/usr \
+		DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+		USE_EXTERNAL_MD5=1 \
+		USE_EXTERNAL_MINIZ=1
+}