commit: 8fc767153d62b87ba97543ec20d8b9a88ad82437 Author: orbea <orbea <AT> riseup <DOT> net> AuthorDate: Sat Aug 9 23:01:20 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Sep 6 15:27:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fc76715
games-emulation/nestopia-jg: add 1.53.2 Signed-off-by: orbea <orbea <AT> riseup.net> Part-of: https://github.com/gentoo/gentoo/pull/43402 Closes: https://github.com/gentoo/gentoo/pull/43402 Signed-off-by: Sam James <sam <AT> gentoo.org> games-emulation/nestopia-jg/Manifest | 1 + .../nestopia-jg/nestopia-jg-1.53.2.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/games-emulation/nestopia-jg/Manifest b/games-emulation/nestopia-jg/Manifest index eb9a0508986a..f79dde3cf205 100644 --- a/games-emulation/nestopia-jg/Manifest +++ b/games-emulation/nestopia-jg/Manifest @@ -1 +1,2 @@ DIST nestopia-1.53.1.tar.bz2 666754 BLAKE2B ef23fa7670a31cca6b75500655e54331bb85e78abe4bae7ae3a4422dfa46f976634f28f1058dbda9e24d84cfa6b00d8ff0a7e92e933606b25e51c53ad3d2f660 SHA512 311128e6f8357de00e79f538ba36ff123809299f2419794642b243c1927a1591427fca4464a905cc495440549b709a7d1c924d5a7915241d9d88aa6a26415035 +DIST nestopia-1.53.2.tar.bz2 670857 BLAKE2B 80fb95ff813d2664380378c79b86221f0d3f2238777705c6d53f868b3c2c27559f5c8a424a2750b838a4c1e339043e028aedceb6aa65bc827cd6de2f7d77687a SHA512 a76c5332c26b359af92e0b9528b74293b1a4db4d726d3d07a7c8082ceeffb52083df6c7f7ea69c0c3b2864bd71ee8d61434f42398ec3cd43c4a37c3dc5531524 diff --git a/games-emulation/nestopia-jg/nestopia-jg-1.53.2.ebuild b/games-emulation/nestopia-jg/nestopia-jg-1.53.2.ebuild new file mode 100644 index 000000000000..039af47b5faf --- /dev/null +++ b/games-emulation/nestopia-jg/nestopia-jg-1.53.2.ebuild @@ -0,0 +1,45 @@ +# 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 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)" +}
