summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-emulation/nestopia-jg/Manifest1
-rw-r--r--games-emulation/nestopia-jg/nestopia-jg-1.52.1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/games-emulation/nestopia-jg/Manifest b/games-emulation/nestopia-jg/Manifest
index 0c597bb9c93a..b7c199961dac 100644
--- a/games-emulation/nestopia-jg/Manifest
+++ b/games-emulation/nestopia-jg/Manifest
@@ -1 +1,2 @@
DIST nestopia-1.52.0.tar.bz2 451267 BLAKE2B a70e1251a5b9dcb17a5d8e8233c12cc90189a0471aa3faf955c15d7331e44c4a67d6ddd101326820c219c3b5e09780a7191a45c14267e6da156d968a5b9bfce0 SHA512 5b2876ec3dcc90b94b99184d964bdeee8f194e07f8b8efeb9f425a118c3cc51e3d54901d922988047bfcb7fa5f3be97ed4e694c1451046a98e99678625d1f6f4
+DIST nestopia-1.52.1.tar.bz2 660171 BLAKE2B 1c5c17d84bb13b19703cd552d844cf42d8d7e72f72b9879cf10249cd091a5d3db0cef5be9afc04728a57d1fdd3f8c4d1ed7105b872ea4df114c30dd8e69fd5be SHA512 b9c606a9becd094bd1bec1aa8d57f57eb596aefaa91a4e09a10c17535c1e38c1b17a56160ffa48b2e240fb7e7d56a4227ffdf3ea0ef6dc401d347bc7e498d015
diff --git a/games-emulation/nestopia-jg/nestopia-jg-1.52.1.ebuild b/games-emulation/nestopia-jg/nestopia-jg-1.52.1.ebuild
new file mode 100644
index 000000000000..0c8527af385d
--- /dev/null
+++ b/games-emulation/nestopia-jg/nestopia-jg-1.52.1.ebuild
@@ -0,0 +1,45 @@
+# 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 Fork of Nestopia"
+HOMEPAGE="https://gitlab.com/jgemu/nestopia"
+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="GPL-2+"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+"
+RDEPEND="
+ ${DEPEND}
+ games-emulation/jgrf
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_compile() {
+ emake 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)"
+}