public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/bsnes-jg/
Date: Sun, 15 Jan 2023 14:16:40 +0000 (UTC)	[thread overview]
Message-ID: <1673792171.39fe796bbea11be1cbf11f9278c47456ec1de2b0.sam@gentoo> (raw)

commit:     39fe796bbea11be1cbf11f9278c47456ec1de2b0
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Wed Dec 28 01:13:30 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=39fe796b

games-emulation/bsnes-jg: New package, v1.1.0

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

 games-emulation/bsnes-jg/Manifest              |  1 +
 games-emulation/bsnes-jg/bsnes-jg-1.1.0.ebuild | 46 ++++++++++++++++++++++++++
 games-emulation/bsnes-jg/bsnes-jg-9999.ebuild  | 46 ++++++++++++++++++++++++++
 games-emulation/bsnes-jg/metadata.xml          | 21 ++++++++++++
 4 files changed, 114 insertions(+)

diff --git a/games-emulation/bsnes-jg/Manifest b/games-emulation/bsnes-jg/Manifest
new file mode 100644
index 000000000000..15755cbefba4
--- /dev/null
+++ b/games-emulation/bsnes-jg/Manifest
@@ -0,0 +1 @@
+DIST bsnes-1.1.0.tar.bz2 4181355 BLAKE2B c60181208455f14c722073f7aa43b6b988aa46d8614cc8eae6e6b47acf1c5b30a94aa04410f873531e73637d3f11e25297dccc80b5c15c9fa4d4cc207083cef9 SHA512 39ee7e04dbeb021ac041ca3d189b86cf76f1994561c4bd1fd77a532e87ef4c135b177700b62f6e4f07018953c34f8602b5c4a43cd22d51dcd047df71e77e0412

diff --git a/games-emulation/bsnes-jg/bsnes-jg-1.1.0.ebuild b/games-emulation/bsnes-jg/bsnes-jg-1.1.0.ebuild
new file mode 100644
index 000000000000..24d855263f55
--- /dev/null
+++ b/games-emulation/bsnes-jg/bsnes-jg-1.1.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_PN=${PN%-*}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Jolly Good Fork of bsnes"
+HOMEPAGE="https://gitlab.com/jgemu/bsnes"
+if [[ "${PV}" == *9999 ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git"
+else
+	SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2"
+	S="${WORKDIR}/${MY_P}"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="ISC GPL-3+ LGPL-2.1+ MIT ZLIB"
+SLOT="1"
+
+DEPEND="
+	media-libs/jg:1=
+	media-libs/libsamplerate
+"
+RDEPEND="
+	${DEPEND}
+	games-emulation/jgrf
+"
+BDEPEND="
+	virtual/pkgconfig
+"
+
+src_compile() {
+	emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+	emake install \
+		DESTDIR="${D}" \
+		PREFIX="${EPREFIX}"/usr \
+		DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}

diff --git a/games-emulation/bsnes-jg/bsnes-jg-9999.ebuild b/games-emulation/bsnes-jg/bsnes-jg-9999.ebuild
new file mode 100644
index 000000000000..24d855263f55
--- /dev/null
+++ b/games-emulation/bsnes-jg/bsnes-jg-9999.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_PN=${PN%-*}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Jolly Good Fork of bsnes"
+HOMEPAGE="https://gitlab.com/jgemu/bsnes"
+if [[ "${PV}" == *9999 ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git"
+else
+	SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2"
+	S="${WORKDIR}/${MY_P}"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="ISC GPL-3+ LGPL-2.1+ MIT ZLIB"
+SLOT="1"
+
+DEPEND="
+	media-libs/jg:1=
+	media-libs/libsamplerate
+"
+RDEPEND="
+	${DEPEND}
+	games-emulation/jgrf
+"
+BDEPEND="
+	virtual/pkgconfig
+"
+
+src_compile() {
+	emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+	emake install \
+		DESTDIR="${D}" \
+		PREFIX="${EPREFIX}"/usr \
+		DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}

diff --git a/games-emulation/bsnes-jg/metadata.xml b/games-emulation/bsnes-jg/metadata.xml
new file mode 100644
index 000000000000..8d62f9db73ee
--- /dev/null
+++ b/games-emulation/bsnes-jg/metadata.xml
@@ -0,0 +1,21 @@
+<?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>
+		bsnes-jg is a cycle accurate emulator for the Super Famicom/Super
+		Nintendo Entertainment System, including support for the Super Game Boy,
+		BS-X Satellaview, and Sufami Turbo.
+	</longdescription>
+	<upstream>
+		<bugs-to>https://gitlab.com/jgemu/bsnes/-/issues</bugs-to>
+		<remote-id type="gitlab">jgemu/bsnes</remote-id>
+	</upstream>
+</pkgmetadata>


             reply	other threads:[~2023-01-15 14:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-15 14:16 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-22  9:32 [gentoo-commits] repo/gentoo:master commit in: games-emulation/bsnes-jg/ Sam James
2023-02-25 22:23 Sam James
2023-02-25 22:24 Sam James
2023-03-04  7:18 Sam James
2023-09-13  3:20 Sam James
2023-09-17  8:56 Arthur Zamarin
2023-12-03  7:42 Sam James
2024-01-06 19:30 Viorel Munteanu
2024-02-24  7:06 Joonas Niilola
2024-02-24  7:06 Joonas Niilola
2024-02-24  7:06 Joonas Niilola
2024-04-29  8:46 Joonas Niilola
2024-04-29  8:46 Joonas Niilola
2024-11-02 12:46 Joonas Niilola
2024-11-02 12:46 Joonas Niilola
2024-12-13  9:35 Sam James
2025-02-10  2:19 Michael Orlitzky
2025-02-10  2:19 Michael Orlitzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1673792171.39fe796bbea11be1cbf11f9278c47456ec1de2b0.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox