games-emulation/nestopia-jg: add 1.53.2

Signed-off-by: orbea <orbea@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@gentoo.org>
This commit is contained in:
orbea
2025-08-09 16:01:20 -07:00
committed by Sam James
parent 57e79aad53
commit 8fc767153d
2 changed files with 46 additions and 0 deletions

View File

@@ -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

View File

@@ -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)"
}