commit:     45fecd9e4023f9066083524a71d942e32a2b974e
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Wed Dec 28 01:19:09 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 14:16:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45fecd9e

games-emulation/prosystem-jg: New package, v1.5.1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 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(+)

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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+       <maintainer type="person" proxied="yes">
+               <email>[email protected]</email>
+               <name>orbea</name>
+       </maintainer>
+       <maintainer type="project" proxied="proxy">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <longdescription>
+               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.
+       </longdescription>
+       <upstream>
+               <bugs-to>https://gitlab.com/jgemu/prosystem/-/issues</bugs-to>
+               <remote-id type="gitlab">jgemu/prosystem</remote-id>
+       </upstream>
+</pkgmetadata>

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

Reply via email to