From 45fecd9e4023f9066083524a71d942e32a2b974e Mon Sep 17 00:00:00 2001 From: orbea Date: Tue, 27 Dec 2022 17:19:09 -0800 Subject: games-emulation/prosystem-jg: New package, v1.5.1 Signed-off-by: Sam James --- games-emulation/prosystem-jg/Manifest | 1 + games-emulation/prosystem-jg/metadata.xml | 24 ++++++++++++ .../prosystem-jg/prosystem-jg-1.5.1.ebuild | 45 ++++++++++++++++++++++ .../prosystem-jg/prosystem-jg-9999.ebuild | 45 ++++++++++++++++++++++ 4 files changed, 115 insertions(+) create mode 100644 games-emulation/prosystem-jg/Manifest create mode 100644 games-emulation/prosystem-jg/metadata.xml create mode 100644 games-emulation/prosystem-jg/prosystem-jg-1.5.1.ebuild create mode 100644 games-emulation/prosystem-jg/prosystem-jg-9999.ebuild (limited to 'games-emulation') diff --git a/games-emulation/prosystem-jg/Manifest b/games-emulation/prosystem-jg/Manifest new file mode 100644 index 000000000000..bb5f61f21f58 --- /dev/null +++ b/games-emulation/prosystem-jg/Manifest @@ -0,0 +1 @@ +DIST prosystem-1.5.1.tar.bz2 49454 BLAKE2B 40c392805de577d2275c4810e36b6489a1457920484631bc63a54bef7c6120f5bef114bc52e17b65a43ccfc7c13b84694ea40376845217bae306a19940991a56 SHA512 daa3f40bc490299cdfb93393e95f411be7225dfe5271b2767ca7f5ef422ed053c3255b952de041ef44b7a196cb780b292f37a12104aef299c15ac564b77d281f diff --git a/games-emulation/prosystem-jg/metadata.xml b/games-emulation/prosystem-jg/metadata.xml new file mode 100644 index 000000000000..e4fc9179d308 --- /dev/null +++ b/games-emulation/prosystem-jg/metadata.xml @@ -0,0 +1,24 @@ + + + + + orbea@riseup.net + orbea + + + proxy-maint@gentoo.org + Proxy Maintainers + + + ProSystem JG is an emulator for the Atari 7800. This + is a fork of ProSystem 1.3e with patches from OpenEmu, + which contains patches derived from Wii7800 and js7800. + The code has been significantly altered. It was ported + from C++ to C, and all of the dependencies and Windows- + specific code were removed. + + + https://gitlab.com/jgemu/prosystem/-/issues + jgemu/prosystem + + diff --git a/games-emulation/prosystem-jg/prosystem-jg-1.5.1.ebuild b/games-emulation/prosystem-jg/prosystem-jg-1.5.1.ebuild new file mode 100644 index 000000000000..212b4dd7a4b3 --- /dev/null +++ b/games-emulation/prosystem-jg/prosystem-jg-1.5.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022 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 ProSystem" +HOMEPAGE="https://gitlab.com/jgemu/prosystem" +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" +fi + +LICENSE="BSD GPL-2+" +SLOT="1" + +DEPEND=" + media-libs/jg:1= +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake CC="$(tc-getCC)" 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)" +} diff --git a/games-emulation/prosystem-jg/prosystem-jg-9999.ebuild b/games-emulation/prosystem-jg/prosystem-jg-9999.ebuild new file mode 100644 index 000000000000..212b4dd7a4b3 --- /dev/null +++ b/games-emulation/prosystem-jg/prosystem-jg-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022 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 ProSystem" +HOMEPAGE="https://gitlab.com/jgemu/prosystem" +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" +fi + +LICENSE="BSD GPL-2+" +SLOT="1" + +DEPEND=" + media-libs/jg:1= +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake CC="$(tc-getCC)" 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)" +} -- cgit v1.2.3-65-gdbad