From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1477692-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 DA198158010
	for <garchives@archives.gentoo.org>; Sun, 15 Jan 2023 14:16:43 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C0B89E0837;
	Sun, 15 Jan 2023 14:16:42 +0000 (UTC)
Received: from smtp.gentoo.org (mail.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 pigeon.gentoo.org (Postfix) with ESMTPS id A9AF1E0837
	for <gentoo-commits@lists.gentoo.org>; Sun, 15 Jan 2023 14:16: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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id BC30133D3CD
	for <gentoo-commits@lists.gentoo.org>; Sun, 15 Jan 2023 14:16:41 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 190F884D
	for <gentoo-commits@lists.gentoo.org>; Sun, 15 Jan 2023 14:16:40 +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: <1673792171.a5e4f2b243dbaaceed4580d41ec2ff828a104ab6.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.0.0.ebuild games-emulation/jgrf/jgrf-9999.ebuild games-emulation/jgrf/metadata.xml
X-VCS-Directories: games-emulation/jgrf/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: a5e4f2b243dbaaceed4580d41ec2ff828a104ab6
X-VCS-Branch: master
Date: Sun, 15 Jan 2023 14:16:40 +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: bc911958-557b-4062-9ae9-9b3d8b2673b9
X-Archives-Hash: a42151fcc2a87b97eaffb2b36359d488

commit:     a5e4f2b243dbaaceed4580d41ec2ff828a104ab6
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Wed Dec 28 01:07:03 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 14:16:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5e4f2b2

games-emulation/jgrf: New package, v1.0.0

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

 games-emulation/jgrf/Manifest          |  1 +
 games-emulation/jgrf/jgrf-1.0.0.ebuild | 51 ++++++++++++++++++++++++++++++++++
 games-emulation/jgrf/jgrf-9999.ebuild  | 51 ++++++++++++++++++++++++++++++++++
 games-emulation/jgrf/metadata.xml      | 25 +++++++++++++++++
 4 files changed, 128 insertions(+)

diff --git a/games-emulation/jgrf/Manifest b/games-emulation/jgrf/Manifest
new file mode 100644
index 000000000000..32df49564d4a
--- /dev/null
+++ b/games-emulation/jgrf/Manifest
@@ -0,0 +1 @@
+DIST jgrf-1.0.0.tar.bz2 297212 BLAKE2B 4e7056f2638fabd8aed7df29edb630e74258600a15cc3de8c120feea8c935036ac051afb56d83b243fa89a7ecddb16297dea3cd1f5c7a6e71589e6f9abb4ca7a SHA512 33103acc6caac40ff23a0977d031b310c11e4390d6cdbb9bdf4f3d67c1702e2d8b86e801cf762ba8ab3779a7388309667d86d3f574fa387a7bdce9525276fa25

diff --git a/games-emulation/jgrf/jgrf-1.0.0.ebuild b/games-emulation/jgrf/jgrf-1.0.0.ebuild
new file mode 100644
index 000000000000..4c7c4f9abb39
--- /dev/null
+++ b/games-emulation/jgrf/jgrf-1.0.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022 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"
+fi
+
+LICENSE="BSD CC0-1.0 MIT ZLIB"
+SLOT="1"
+
+DEPEND="
+	dev-libs/miniz
+	dev-libs/openssl:0=[-bindist(-)]
+	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
+}

diff --git a/games-emulation/jgrf/jgrf-9999.ebuild b/games-emulation/jgrf/jgrf-9999.ebuild
new file mode 100644
index 000000000000..4c7c4f9abb39
--- /dev/null
+++ b/games-emulation/jgrf/jgrf-9999.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022 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"
+fi
+
+LICENSE="BSD CC0-1.0 MIT ZLIB"
+SLOT="1"
+
+DEPEND="
+	dev-libs/miniz
+	dev-libs/openssl:0=[-bindist(-)]
+	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
+}

diff --git a/games-emulation/jgrf/metadata.xml b/games-emulation/jgrf/metadata.xml
new file mode 100644
index 000000000000..936897ef6ed7
--- /dev/null
+++ b/games-emulation/jgrf/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>orbea@riseup.net</email>
+		<name>orbea</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription>
+		The Jolly Good Reference Frontend is the simplest possible
+		frontend for The Jolly Good API. It is intended to remain this
+		way, and to avoid unnecessary feature creep, ensuring that it is
+		easy to learn from. In order to deliver a smooth and enjoyable
+		experience, a few slightly more advanced features are required. In
+		these instances, effort has been taken to ensure readability
+		and understandability of the code that implements these concepts.
+	</longdescription>
+	<upstream>
+		<bugs-to>https://gitlab.com/jgemu/jgrf/-/issues</bugs-to>
+		<remote-id type="gitlab">jgemu/jgrf</remote-id>
+	</upstream>
+</pkgmetadata>