commit: e10595283bde9bfc674bae80c1ce5290c11a682f
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Apr 5 18:15:45 2025 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Apr 26 00:29:27 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1059528
games-emulation/sameboy-jg: add 1.0.1
Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
games-emulation/sameboy-jg/Manifest | 1 +
games-emulation/sameboy-jg/sameboy-jg-1.0.1.ebuild | 49 ++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/games-emulation/sameboy-jg/Manifest
b/games-emulation/sameboy-jg/Manifest
index 6b9b99588045..9f078bb4b923 100644
--- a/games-emulation/sameboy-jg/Manifest
+++ b/games-emulation/sameboy-jg/Manifest
@@ -1 +1,2 @@
DIST sameboy-1.0.0.tar.bz2 7166814 BLAKE2B
b004fe08af738e4e00e7144073f477c62603b6921730d0c2f59064781e3408f0e61be8a1eb40ce68c08ae286c47f4d4875666bc0f65c2232d0662bad1e83cecd
SHA512
4da43490b502e59013153f4eabd8c943f81a4a27fd20ffb478770f19897c31d28e6d264e7ec3c3a55029214b8d95f527b564f65a010634d2203b6faa231e1626
+DIST sameboy-1.0.1.tar.bz2 7191664 BLAKE2B
5a12ab2b439912a52eb8ba0aca55a3ff3992c588cc109d8af6f70f9c32ee5347edf1c1326056221ca73be7fa984a25d7664214117d64b38246defe3e009b3c6e
SHA512
db71c74c8a8ef6b5838176c98af19eccc55ec69bce3a6cd2e01933aa18ad45443388ee976c2ad2b08ff20ddbb128b3cb0855e97848e653ea2c4853727c0bab5f
diff --git a/games-emulation/sameboy-jg/sameboy-jg-1.0.1.ebuild
b/games-emulation/sameboy-jg/sameboy-jg-1.0.1.ebuild
new file mode 100644
index 000000000000..10ba03606f29
--- /dev/null
+++ b/games-emulation/sameboy-jg/sameboy-jg-1.0.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2022-2025 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)"
+}