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/sameboy-jg/
Date: Sun, 21 Jan 2024 04:02:05 +0000 (UTC)	[thread overview]
Message-ID: <1705809597.ea04e149270cb065624cd6f5fe265a6cb0749cee.sam@gentoo> (raw)

commit:     ea04e149270cb065624cd6f5fe265a6cb0749cee
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Wed Jan 10 00:59:38 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 21 03:59:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea04e149

games-emulation/sameboy-jg: add 0.16.2

Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/34725
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-emulation/sameboy-jg/Manifest                |  1 +
 .../sameboy-jg/sameboy-jg-0.16.2.ebuild            | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/games-emulation/sameboy-jg/Manifest b/games-emulation/sameboy-jg/Manifest
index 29205beac02c..af96d59b4360 100644
--- a/games-emulation/sameboy-jg/Manifest
+++ b/games-emulation/sameboy-jg/Manifest
@@ -1 +1,2 @@
 DIST sameboy-0.15.8.tar.bz2 3002961 BLAKE2B 5eacbc82d8c93ee85b774c554b3d3750088e8a4219d5b04daa9e6db0c70923ef823befc12831382a27ee007f117fddcfe35ff3549d7684b8587db9ffc486ccd6 SHA512 9074dfcbf400fe51e605ef0200f6ea8483650d605ab19177089c0e60f9996c15f265c5dec5fd0e6651392c9a9515e8380499e00bac837bb645220cd6ffa9c870
+DIST sameboy-0.16.2.tar.bz2 3556441 BLAKE2B 0972cb8ba200d8ac95a3d66e3b671c1adeeea71eebb4202b1985f7f72edebd42886aac48040bf034dab8d93fd52d15165551ee8dfaf6870a59ca7f574fc99e0f SHA512 bd456e248ec2d6ea0e8b017b705c829c6a94b1f7fe734769a86774c4b6983278cc5b4d61fdf8164844545bbd250b3c4f1fe725046ac7edb301268291d907f39f

diff --git a/games-emulation/sameboy-jg/sameboy-jg-0.16.2.ebuild b/games-emulation/sameboy-jg/sameboy-jg-0.16.2.ebuild
new file mode 100644
index 000000000000..c41503e9640a
--- /dev/null
+++ b/games-emulation/sameboy-jg/sameboy-jg-0.16.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2022-2024 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 Port of SameBoy"
+HOMEPAGE="https://gitlab.com/jgemu/sameboy"
+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 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="1"
+
+DEPEND="
+	media-libs/jg:1=
+"
+RDEPEND="
+	${DEPEND}
+	games-emulation/jgrf
+"
+BDEPEND="
+	>=dev-util/rgbds-0.6.0
+	virtual/pkgconfig
+"
+
+src_compile() {
+	emake -C jollygood \
+		CC="$(tc-getCC)" \
+		CC_FOR_BUILD="$(tc-getBUILD_CC)" \
+		PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+	emake -C jollygood install \
+		DESTDIR="${D}" \
+		PREFIX="${EPREFIX}"/usr \
+		DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}


             reply	other threads:[~2024-01-21  4:02 UTC|newest]

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

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=1705809597.ea04e149270cb065624cd6f5fe265a6cb0749cee.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