summaryrefslogtreecommitdiff
path: root/games-emulation
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/Manifest.gzbin9530 -> 11691 bytes
-rw-r--r--games-emulation/bsnes-jg/Manifest4
-rw-r--r--games-emulation/bsnes-jg/bsnes-jg-1.1.0.ebuild46
-rw-r--r--games-emulation/bsnes-jg/bsnes-jg-9999.ebuild46
-rw-r--r--games-emulation/bsnes-jg/metadata.xml21
-rw-r--r--games-emulation/cega-jg/Manifest4
-rw-r--r--games-emulation/cega-jg/cega-jg-0.5.2.ebuild46
-rw-r--r--games-emulation/cega-jg/cega-jg-9999.ebuild46
-rw-r--r--games-emulation/cega-jg/metadata.xml21
-rw-r--r--games-emulation/gambatte-jg/Manifest4
-rw-r--r--games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild46
-rw-r--r--games-emulation/gambatte-jg/gambatte-jg-9999.ebuild46
-rw-r--r--games-emulation/gambatte-jg/metadata.xml20
-rw-r--r--games-emulation/jgemu/Manifest2
-rw-r--r--games-emulation/jgemu/jgemu-1.0.0.ebuild26
-rw-r--r--games-emulation/jgemu/metadata.xml30
-rw-r--r--games-emulation/jgrf/Manifest4
-rw-r--r--games-emulation/jgrf/jgrf-1.0.0.ebuild51
-rw-r--r--games-emulation/jgrf/jgrf-9999.ebuild51
-rw-r--r--games-emulation/jgrf/metadata.xml25
-rw-r--r--games-emulation/jollycv-jg/Manifest4
-rw-r--r--games-emulation/jollycv-jg/jollycv-jg-1.0.1.ebuild46
-rw-r--r--games-emulation/jollycv-jg/jollycv-jg-9999.ebuild46
-rw-r--r--games-emulation/jollycv-jg/metadata.xml21
-rw-r--r--games-emulation/mednafen-jg/Manifest4
-rw-r--r--games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild67
-rw-r--r--games-emulation/mednafen-jg/mednafen-jg-9999.ebuild67
-rw-r--r--games-emulation/mednafen-jg/metadata.xml23
-rw-r--r--games-emulation/melonds-jg/Manifest5
-rw-r--r--games-emulation/melonds-jg/files/melonds-jg-0.9.5-format.patch27
-rw-r--r--games-emulation/melonds-jg/melonds-jg-0.9.5.ebuild53
-rw-r--r--games-emulation/melonds-jg/melonds-jg-9999.ebuild49
-rw-r--r--games-emulation/melonds-jg/metadata.xml21
-rw-r--r--games-emulation/mgba-jg/Manifest4
-rw-r--r--games-emulation/mgba-jg/metadata.xml21
-rw-r--r--games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild45
-rw-r--r--games-emulation/mgba-jg/mgba-jg-9999.ebuild45
-rw-r--r--games-emulation/nestopia-jg/Manifest4
-rw-r--r--games-emulation/nestopia-jg/metadata.xml22
-rw-r--r--games-emulation/nestopia-jg/nestopia-jg-1.52.0.ebuild45
-rw-r--r--games-emulation/nestopia-jg/nestopia-jg-9999.ebuild45
-rw-r--r--games-emulation/prosystem-jg/Manifest4
-rw-r--r--games-emulation/prosystem-jg/metadata.xml24
-rw-r--r--games-emulation/prosystem-jg/prosystem-jg-1.5.1.ebuild45
-rw-r--r--games-emulation/prosystem-jg/prosystem-jg-9999.ebuild45
-rw-r--r--games-emulation/sameboy-jg/Manifest4
-rw-r--r--games-emulation/sameboy-jg/metadata.xml21
-rw-r--r--games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild49
-rw-r--r--games-emulation/sameboy-jg/sameboy-jg-9999.ebuild49
-rw-r--r--games-emulation/vecx-jg/Manifest4
-rw-r--r--games-emulation/vecx-jg/metadata.xml24
-rw-r--r--games-emulation/vecx-jg/vecx-jg-1.2.2.ebuild46
-rw-r--r--games-emulation/vecx-jg/vecx-jg-9999.ebuild46
53 files changed, 1564 insertions, 0 deletions
diff --git a/games-emulation/Manifest.gz b/games-emulation/Manifest.gz
index af5493f6b0aa..dd7a0a77afdd 100644
--- a/games-emulation/Manifest.gz
+++ b/games-emulation/Manifest.gz
Binary files differ
diff --git a/games-emulation/bsnes-jg/Manifest b/games-emulation/bsnes-jg/Manifest
new file mode 100644
index 000000000000..90571dc14a77
--- /dev/null
+++ b/games-emulation/bsnes-jg/Manifest
@@ -0,0 +1,4 @@
+DIST bsnes-1.1.0.tar.bz2 4181355 BLAKE2B c60181208455f14c722073f7aa43b6b988aa46d8614cc8eae6e6b47acf1c5b30a94aa04410f873531e73637d3f11e25297dccc80b5c15c9fa4d4cc207083cef9 SHA512 39ee7e04dbeb021ac041ca3d189b86cf76f1994561c4bd1fd77a532e87ef4c135b177700b62f6e4f07018953c34f8602b5c4a43cd22d51dcd047df71e77e0412
+EBUILD bsnes-jg-1.1.0.ebuild 925 BLAKE2B ccb0f4598f2eab5163754395dc39c89e3e304d5b5b94f9ee97a1c818cb4fa4a75e6a863daea95d286031ed67c23680f8f19e9b2b75c764e97921d8d291489cdc SHA512 9ffb65e6c7b0040b2486569547101f6c0583961bafc0fca58d2f9b2e2ed31b2c9ebe59a5421286c04d389d293db1aacc65f82e098449f9819b822670aa1f5254
+EBUILD bsnes-jg-9999.ebuild 925 BLAKE2B ccb0f4598f2eab5163754395dc39c89e3e304d5b5b94f9ee97a1c818cb4fa4a75e6a863daea95d286031ed67c23680f8f19e9b2b75c764e97921d8d291489cdc SHA512 9ffb65e6c7b0040b2486569547101f6c0583961bafc0fca58d2f9b2e2ed31b2c9ebe59a5421286c04d389d293db1aacc65f82e098449f9819b822670aa1f5254
+MISC metadata.xml 742 BLAKE2B cade709bfd60e69c0c66654b409dbe59fd2c5bfe552d8bf226409b8a5e30d7b34e6934341d7678d241ffcf780dd69a0acd9d0d71f59e399c18d77447f6363e50 SHA512 a60107630d02ba44937e23b97b0b796c45653e8da85c3131bfc3d578683cc2d81194094bd8da44f19ff67c5e3c22eac175e078cecdfa20237f514130d10d4e5e
diff --git a/games-emulation/bsnes-jg/bsnes-jg-1.1.0.ebuild b/games-emulation/bsnes-jg/bsnes-jg-1.1.0.ebuild
new file mode 100644
index 000000000000..24d855263f55
--- /dev/null
+++ b/games-emulation/bsnes-jg/bsnes-jg-1.1.0.ebuild
@@ -0,0 +1,46 @@
+# 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 bsnes"
+HOMEPAGE="https://gitlab.com/jgemu/bsnes"
+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="ISC GPL-3+ LGPL-2.1+ MIT ZLIB"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+ media-libs/libsamplerate
+"
+RDEPEND="
+ ${DEPEND}
+ games-emulation/jgrf
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_compile() {
+ emake CC="$(tc-getCC)" 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)"
+}
diff --git a/games-emulation/bsnes-jg/bsnes-jg-9999.ebuild b/games-emulation/bsnes-jg/bsnes-jg-9999.ebuild
new file mode 100644
index 000000000000..24d855263f55
--- /dev/null
+++ b/games-emulation/bsnes-jg/bsnes-jg-9999.ebuild
@@ -0,0 +1,46 @@
+# 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 bsnes"
+HOMEPAGE="https://gitlab.com/jgemu/bsnes"
+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="ISC GPL-3+ LGPL-2.1+ MIT ZLIB"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+ media-libs/libsamplerate
+"
+RDEPEND="
+ ${DEPEND}
+ games-emulation/jgrf
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_compile() {
+ emake CC="$(tc-getCC)" 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)"
+}
diff --git a/games-emulation/bsnes-jg/metadata.xml b/games-emulation/bsnes-jg/metadata.xml
new file mode 100644
index 000000000000..8d62f9db73ee
--- /dev/null
+++ b/games-emulation/bsnes-jg/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ bsnes-jg is a cycle accurate emulator for the Super Famicom/Super
+ Nintendo Entertainment System, including support for the Super Game Boy,
+ BS-X Satellaview, and Sufami Turbo.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://gitlab.com/jgemu/bsnes/-/issues</bugs-to>
+ <remote-id type="gitlab">jgemu/bsnes</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-emulation/cega-jg/Manifest b/games-emulation/cega-jg/Manifest
new file mode 100644
index 000000000000..c4f69805ea03
--- /dev/null
+++ b/games-emulation/cega-jg/Manifest
@@ -0,0 +1,4 @@
+DIST cega-0.5.2.tar.bz2 221146 BLAKE2B eba8dcee12ebc2c4f290b7c4546e110bd4d154e3a2d9572fe8a0141c435e45fcd270085882754bf46e0a26388c8b92c5ac390c52b0be3a56a08122acd98d052b SHA512 e2177079a984e531480572e3552d3e52cc14ee2f55ba5d7836becda1c893c9721a637c3e89e992a0fe4039471b41c718f92c53b74f7165690cbc2e709623d7cb
+EBUILD cega-jg-0.5.2.ebuild 914 BLAKE2B 13f71fd8b0a163dbfc55b80d393c060601ea16312789bb638e6e0848d9afff72e90043c7261fb39248505b6789a89986e3191fff3b40e2de0e0f36eb7e8411db SHA512 4ecf68b72baf0acca7fd216837b4250aec68ff26cf193c1d934b5cb31fea398fb8be7270d77001959aea65605714fbda8205721d099741de00788c1a612f3548
+EBUILD cega-jg-9999.ebuild 914 BLAKE2B 13f71fd8b0a163dbfc55b80d393c060601ea16312789bb638e6e0848d9afff72e90043c7261fb39248505b6789a89986e3191fff3b40e2de0e0f36eb7e8411db SHA512 4ecf68b72baf0acca7fd216837b4250aec68ff26cf193c1d934b5cb31fea398fb8be7270d77001959aea65605714fbda8205721d099741de00788c1a612f3548
+MISC metadata.xml 695 BLAKE2B 55931b5cebed94871c4c68d7da3a007150580eea69d4fbdb690d64662c7c4ba14dae657a4c6b3d7153f03b06747154013abbec8c348b56260381b127d6a8aaaa SHA512 860649393496fc099755f0903bad5cb298c26a0f0ebd977defb9958b1926f297d44ab991d07be72036380a5bc744c0f0c56c5d2a9912a20c9e600b5ba24b935e
diff --git a/games-emulation/cega-jg/cega-jg-0.5.2.ebuild b/games-emulation/cega-jg/cega-jg-0.5.2.ebuild
new file mode 100644
index 000000000000..5c0d962a4614
--- /dev/null
+++ b/games-emulation/cega-jg/cega-jg-0.5.2.ebuild
@@ -0,0 +1,46 @@
+# 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 SG-1000, SMS, and Game Gear Emulator"
+HOMEPAGE="https://gitlab.com/jgemu/cega"
+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 MIT MPL-2.0 ZLIB"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+ media-libs/speexdsp
+"
+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/cega-jg/cega-jg-9999.ebuild b/games-emulation/cega-jg/cega-jg-9999.ebuild
new file mode 100644
index 000000000000..5c0d962a4614
--- /dev/null
+++ b/games-emulation/cega-jg/cega-jg-9999.ebuild
@@ -0,0 +1,46 @@
+# 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 SG-1000, SMS, and Game Gear Emulator"
+HOMEPAGE="https://gitlab.com/jgemu/cega"
+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 MIT MPL-2.0 ZLIB"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+ media-libs/speexdsp
+"
+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/cega-jg/metadata.xml b/games-emulation/cega-jg/metadata.xml
new file mode 100644
index 000000000000..2ee830e4d1ab
--- /dev/null
+++ b/games-emulation/cega-jg/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ Cega is a cycle accurate emulator for the Sega SG-1000,
+ Master System, and Game Gear written specifically for
+ The Jolly Good API.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://gitlab.com/jgemu/cega/-/issues</bugs-to>
+ <remote-id type="gitlab">jgemu/cega</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-emulation/gambatte-jg/Manifest b/games-emulation/gambatte-jg/Manifest
new file mode 100644
index 000000000000..5e6ceb308356
--- /dev/null
+++ b/games-emulation/gambatte-jg/Manifest
@@ -0,0 +1,4 @@
+DIST gambatte-0.5.1.tar.bz2 305331 BLAKE2B edde374d0ed2b5f8c9ca3060520f2ffa392a82378fcac0ad18ea6ca0a02bc5240c8dc9f72c6427f2c85f11fd4b68b1a92717c20f34ad71d27a1ee3e9eb5238cd SHA512 60ea7199b1f26bb403ac48d871ef5191cbd6de6794ecde72693d9360ca476b364dc9e6c5bd88d5e54e9835d67feb17d1b7453b48096736ef870bea473b0691a5
+EBUILD gambatte-jg-0.5.1.ebuild 885 BLAKE2B 00e20523e8549b5342505a3a27617a3d070bfc5d66923964d76ee620019eca16c6bb70e303e40b7149d7157c6a10634f33e4f411be81fb46997c4195033a51eb SHA512 5b8444584c1ded28405c7afbc086a2654fbfd9c7eca85778ecbddc5e2fb3101496f35f4965c7d54480bc57242add1262716343d640236054f793af71fe2609a3
+EBUILD gambatte-jg-9999.ebuild 885 BLAKE2B 00e20523e8549b5342505a3a27617a3d070bfc5d66923964d76ee620019eca16c6bb70e303e40b7149d7157c6a10634f33e4f411be81fb46997c4195033a51eb SHA512 5b8444584c1ded28405c7afbc086a2654fbfd9c7eca85778ecbddc5e2fb3101496f35f4965c7d54480bc57242add1262716343d640236054f793af71fe2609a3
+MISC metadata.xml 697 BLAKE2B 785fd942d93df12ad758960cbae3e799dd913aed2e4a9f297f0e49bf831a0449d011a5e80cd5674ddfee360d96b176df9241589d3f6e381370a38b176beb9814 SHA512 3416580d742abb9c98ecb25b7b5360bef9572dd97bf2d8de6b0c21e3f42246211658c25ac23b16be73ad23ad6f48e66fc32eebab5b3cd9c4fa06f4e3a9a5ee14
diff --git a/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild b/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild
new file mode 100644
index 000000000000..bc00ccf2fcc5
--- /dev/null
+++ b/games-emulation/gambatte-jg/gambatte-jg-0.5.1.ebuild
@@ -0,0 +1,46 @@
+# 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 Gambatte"
+HOMEPAGE="https://gitlab.com/jgemu/gambatte"
+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=
+ media-libs/soxr
+"
+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)"
+}
diff --git a/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
new file mode 100644
index 000000000000..bc00ccf2fcc5
--- /dev/null
+++ b/games-emulation/gambatte-jg/gambatte-jg-9999.ebuild
@@ -0,0 +1,46 @@
+# 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 Gambatte"
+HOMEPAGE="https://gitlab.com/jgemu/gambatte"
+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=
+ media-libs/soxr
+"
+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)"
+}
diff --git a/games-emulation/gambatte-jg/metadata.xml b/games-emulation/gambatte-jg/metadata.xml
new file mode 100644
index 000000000000..11b3abfb9e4f
--- /dev/null
+++ b/games-emulation/gambatte-jg/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ Gambatte JG is an emulator for the Nintendo Game Boy/Game Boy
+ Color. This is a fork of the final public revision of Gambatte.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://gitlab.com/jgemu/gambatte/-/issues</bugs-to>
+ <remote-id type="gitlab">jgemu/gambatte</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-emulation/jgemu/Manifest b/games-emulation/jgemu/Manifest
new file mode 100644
index 000000000000..b0cb45fde979
--- /dev/null
+++ b/games-emulation/jgemu/Manifest
@@ -0,0 +1,2 @@
+EBUILD jgemu-1.0.0.ebuild 820 BLAKE2B ee8f7fbf78a7feda4a11d3cde353dc9f5c2e834a07d31787afccfce0831d5543dd5ffcd9d6ecb2c6a88d17c8a13222c6b526a25f6a59a6d8a0effb23fa08f6d2 SHA512 34eff51b1909ad7dc22eb7bc766385e2e3fda38b198ed8959bbbffd632d7c636c253e07a6822e6cf948bbc7d1edf3cbac5e8b165673a9cf6815f7ca3941ee834
+MISC metadata.xml 1505 BLAKE2B 23a7f282b70e3715946a8e6b5548877be804ff8f62b4973251834de523bb9df3edf691ca224762ef9ea36f215c4d76a5a1fbcbd99ca986dfaec7fb1d54e21dbe SHA512 00e37ca942cdaf5ff0f545c2c30fedae1560a7bcab9454fff1eb7b0cc273aefe34aff6c1db0c662243f89467f8db837541e3f6440f9da17e5b931e789d8a3594
diff --git a/games-emulation/jgemu/jgemu-1.0.0.ebuild b/games-emulation/jgemu/jgemu-1.0.0.ebuild
new file mode 100644
index 000000000000..712ef6bd8de6
--- /dev/null
+++ b/games-emulation/jgemu/jgemu-1.0.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Meta ebuild for the Jolly Good API"
+HOMEPAGE="https://jgemu.gitlab.io/"
+
+LICENSE="metapackage"
+SLOT="1"
+KEYWORDS="~amd64"
+IUSE="+bsnes +cega +gambatte +jollycv +mednafen melonds +mgba +nestopia +prosystem sameboy +vecx"
+
+RDEPEND="
+ bsnes? ( games-emulation/bsnes-jg:1 )
+ cega? ( games-emulation/cega-jg:1 )
+ gambatte? ( games-emulation/gambatte-jg:1 )
+ jollycv? ( games-emulation/jollycv-jg:1 )
+ mednafen? ( games-emulation/mednafen-jg:1 )
+ melonds? ( games-emulation/melonds-jg:1 )
+ mgba? ( games-emulation/mgba-jg:1 )
+ nestopia? ( games-emulation/nestopia-jg:1 )
+ prosystem? ( games-emulation/prosystem-jg:1 )
+ sameboy? ( games-emulation/sameboy-jg:1 )
+ vecx? ( games-emulation/vecx-jg:1 )
+"
diff --git a/games-emulation/jgemu/metadata.xml b/games-emulation/jgemu/metadata.xml
new file mode 100644
index 000000000000..50a058224701
--- /dev/null
+++ b/games-emulation/jgemu/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <use>
+ <flag name="bsnes">Install bsnes for Super Nintendo</flag>
+ <flag name="cega">Install Cega for SG-1000, Sega Master System and Game Gear</flag>
+ <flag name="gambatte">Install Gambatte for Game Boy and Game Boy Color</flag>
+ <flag name="jollycv">Install JollyCV for ColecoVision</flag>
+ <flag name="mednafen">Install Mednafen for Atari Lynx, Nintendo Virtual Boy, NEC PC Engine, NEC SuperGrafx, Sony PlayStation, Sega Saturn, Super Nintendo, Neo Geo Pocket and WonderSwan</flag>
+ <flag name="melonds">Install MelonDS for Nintendo DS</flag>
+ <flag name="mgba">Install mGBA for Game Boy Advance</flag>
+ <flag name="nestopia">Install Nestopia for Nintendo Entertainment System</flag>
+ <flag name="prosystem">Install ProSystem for Atari 7800</flag>
+ <flag name="sameboy">Install SameBoy for Game Boy and Game Boy Color</flag>
+ <flag name="vecx">Install Vecx for Vectrex</flag>
+ </use>
+ <maintainer type="person" proxied="yes">
+ <email>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ Jolly Good Emulation is an education and preservation oriented
+ emulation project. As a side effect, it offers emulation
+ technology that extreme minimalists may find tolerable.
+ </longdescription>
+</pkgmetadata>
diff --git a/games-emulation/jgrf/Manifest b/games-emulation/jgrf/Manifest
new file mode 100644
index 000000000000..e7e454002148
--- /dev/null
+++ b/games-emulation/jgrf/Manifest
@@ -0,0 +1,4 @@
+DIST jgrf-1.0.0.tar.bz2 297212 BLAKE2B 4e7056f2638fabd8aed7df29edb630e74258600a15cc3de8c120feea8c935036ac051afb56d83b243fa89a7ecddb16297dea3cd1f5c7a6e71589e6f9abb4ca7a SHA512 33103acc6caac40ff23a0977d031b310c11e4390d6cdbb9bdf4f3d67c1702e2d8b86e801cf762ba8ab3779a7388309667d86d3f574fa387a7bdce9525276fa25
+EBUILD jgrf-1.0.0.ebuild 1063 BLAKE2B 6e1569ce8aa3e91c15294c82edf2bdc2cb774218eec0b87d28460bdbd2afa43192cc64306f53f4bf610d855bdc4781c279733405bbd5cce6a1e811e9e85faaa1 SHA512 77eece2e64712e7d555b0acc8c748fdab8824afe8983eaa5df75711b40f29d1445b9c5d9e9e3fcd564a8362ef9688026568319604796f9d2eefc88f33f0df99e
+EBUILD jgrf-9999.ebuild 1063 BLAKE2B 6e1569ce8aa3e91c15294c82edf2bdc2cb774218eec0b87d28460bdbd2afa43192cc64306f53f4bf610d855bdc4781c279733405bbd5cce6a1e811e9e85faaa1 SHA512 77eece2e64712e7d555b0acc8c748fdab8824afe8983eaa5df75711b40f29d1445b9c5d9e9e3fcd564a8362ef9688026568319604796f9d2eefc88f33f0df99e
+MISC metadata.xml 1017 BLAKE2B 605766500b2a207c255d869a69752b99673e9b4ae1965868621eac16a49f11070adb4a6245e99c2fbd6d59651d0c79184680d961ce5522e7a331297933b258f3 SHA512 e3d87764ef017ceb23a2a0b48a1f63ced026bb2568cba3b615e28a6f104f988c98d830df3f2835e5bffa943372839adacce44d02d5d9bf6ea1f57f1cfc5b51b9
diff --git a/games-emulation/jgrf/jgrf-1.0.0.ebuild b/games-emulation/jgrf/jgrf-1.0.0.ebuild
new file mode 100644
index 000000000000..4c7c4f9abb39
--- /dev/null
+++ b/games-emulation/jgrf/jgrf-1.0.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs xdg
+
+DESCRIPTION="The Jolly Good Reference Frontend"
+HOMEPAGE="https://jgemu.gitlab.io/jgrf.html"
+if [[ "${PV}" == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/jgemu/${PN}.git"
+else
+ SRC_URI="https://gitlab.com/jgemu/${PN}/-/archive/${PV}/${P}.tar.bz2"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="BSD CC0-1.0 MIT ZLIB"
+SLOT="1"
+
+DEPEND="
+ dev-libs/miniz
+ dev-libs/openssl:0=[-bindist(-)]
+ media-libs/jg:1=
+ media-libs/libepoxy[egl]
+ media-libs/libsdl2[opengl,sound,video]
+ media-libs/speexdsp
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+ PREFIX="${EPREFIX}"/usr \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ USE_EXTERNAL_MD5=1 \
+ USE_EXTERNAL_MINIZ=1
+}
+
+src_install() {
+ emake install \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}"/usr \
+ DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+ USE_EXTERNAL_MD5=1 \
+ USE_EXTERNAL_MINIZ=1
+}
diff --git a/games-emulation/jgrf/jgrf-9999.ebuild b/games-emulation/jgrf/jgrf-9999.ebuild
new file mode 100644
index 000000000000..4c7c4f9abb39
--- /dev/null
+++ b/games-emulation/jgrf/jgrf-9999.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs xdg
+
+DESCRIPTION="The Jolly Good Reference Frontend"
+HOMEPAGE="https://jgemu.gitlab.io/jgrf.html"
+if [[ "${PV}" == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/jgemu/${PN}.git"
+else
+ SRC_URI="https://gitlab.com/jgemu/${PN}/-/archive/${PV}/${P}.tar.bz2"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="BSD CC0-1.0 MIT ZLIB"
+SLOT="1"
+
+DEPEND="
+ dev-libs/miniz
+ dev-libs/openssl:0=[-bindist(-)]
+ media-libs/jg:1=
+ media-libs/libepoxy[egl]
+ media-libs/libsdl2[opengl,sound,video]
+ media-libs/speexdsp
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+ PREFIX="${EPREFIX}"/usr \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ USE_EXTERNAL_MD5=1 \
+ USE_EXTERNAL_MINIZ=1
+}
+
+src_install() {
+ emake install \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}"/usr \
+ DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+ USE_EXTERNAL_MD5=1 \
+ USE_EXTERNAL_MINIZ=1
+}
diff --git a/games-emulation/jgrf/metadata.xml b/games-emulation/jgrf/metadata.xml
new file mode 100644
index 000000000000..936897ef6ed7
--- /dev/null
+++ b/games-emulation/jgrf/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ The Jolly Good Reference Frontend is the simplest possible
+ frontend for The Jolly Good API. It is intended to remain this
+ way, and to avoid unnecessary feature creep, ensuring that it is
+ easy to learn from. In order to deliver a smooth and enjoyable
+ experience, a few slightly more advanced features are required. In
+ these instances, effort has been taken to ensure readability
+ and understandability of the code that implements these concepts.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://gitlab.com/jgemu/jgrf/-/issues</bugs-to>
+ <remote-id type="gitlab">jgemu/jgrf</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-emulation/jollycv-jg/Manifest b/games-emulation/jollycv-jg/Manifest
new file mode 100644
index 000000000000..a3817b94a699
--- /dev/null
+++ b/games-emulation/jollycv-jg/Manifest
@@ -0,0 +1,4 @@
+DIST jollycv-1.0.1.tar.bz2 58785 BLAKE2B 1d9897ac7ad8eff10d27f72b0b4d2036266fdcefd208266dab7ae52815b952f35a997b78b53c8c4aa7ba88abee969badec4cefd4c4c0dbfba2114e2f287ce6e5 SHA512 e52866dc70ccdc9829a055158078ddc842adde11fd42b1f06b1af278d7a9edf5c950a4f2297cc47acdac0ad85174c8b8b219ab9c411754d5eec7c190456ef9ef
+EBUILD jollycv-jg-1.0.1.ebuild 889 BLAKE2B a5b49f4a6de24beb53a7b3267bff13d8d7bf1395189749414febaec6638b4a7ac68a12b3d177e952eef0eee481bbe60e85836dedc9078ad530ad3806c600a5d6 SHA512 5042e521b927583a11fa78a29218feaf2e5accc513f024a8e8ff46a6848df85e4cdf93f7c54b47293d6eb44d0a79537bdbeffa352d6b480aa61d135b61272315
+EBUILD jollycv-jg-9999.ebuild 889 BLAKE2B a5b49f4a6de24beb53a7b3267bff13d8d7bf1395189749414febaec6638b4a7ac68a12b3d177e952eef0eee481bbe60e85836dedc9078ad530ad3806c600a5d6 SHA512 5042e521b927583a11fa78a29218feaf2e5accc513f024a8e8ff46a6848df85e4cdf93f7c54b47293d6eb44d0a79537bdbeffa352d6b480aa61d135b61272315
+MISC metadata.xml 759 BLAKE2B e56b25f250b7d989c90aa4890b2378f2c9347623a11857d779b8737098bb39315f39a1fa554cfdaab89ff195d361caa13fb006dc920aaef6bd2cb13d1eca3a85 SHA512 cb04de69167f168046052950c627659e7bfd8ef0bd1b73e135240e61b45747d5d974282da8d65b5e3b44203fcf225aa2b341592a20e1cc35e218e2db0103135b
diff --git a/games-emulation/jollycv-jg/jollycv-jg-1.0.1.ebuild b/games-emulation/jollycv-jg/jollycv-jg-1.0.1.ebuild
new file mode 100644
index 000000000000..5e053a30bdb2
--- /dev/null
+++ b/games-emulation/jollycv-jg/jollycv-jg-1.0.1.ebuild
@@ -0,0 +1,46 @@
+# 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 ColecoVision Emulator"
+HOMEPAGE="https://gitlab.com/jgemu/jollycv"
+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 MIT"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+ media-libs/speexdsp
+"
+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/jollycv-jg/jollycv-jg-9999.ebuild b/games-emulation/jollycv-jg/jollycv-jg-9999.ebuild
new file mode 100644
index 000000000000..5e053a30bdb2
--- /dev/null
+++ b/games-emulation/jollycv-jg/jollycv-jg-9999.ebuild
@@ -0,0 +1,46 @@
+# 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 ColecoVision Emulator"
+HOMEPAGE="https://gitlab.com/jgemu/jollycv"
+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 MIT"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+ media-libs/speexdsp
+"
+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/jollycv-jg/metadata.xml b/games-emulation/jollycv-jg/metadata.xml
new file mode 100644
index 000000000000..4a63854c7f92
--- /dev/null
+++ b/games-emulation/jollycv-jg/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ JollyCV is a highly accurate emulator for the ColecoVision,
+ including support for the Super Game Module. It was written in
+ standards compliant ISO C11 specifically for The Jolly Good API.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://gitlab.com/jgemu/jollycv/-/issues</bugs-to>
+ <remote-id type="gitlab">jgemu/jollycv</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-emulation/mednafen-jg/Manifest b/games-emulation/mednafen-jg/Manifest
new file mode 100644
index 000000000000..f6bc9dde4354
--- /dev/null
+++ b/games-emulation/mednafen-jg/Manifest
@@ -0,0 +1,4 @@
+DIST mednafen-1.31.0.tar.bz2 4400375 BLAKE2B 691d449f55cf2702bdeed06470a1e56507ee09407929e1d742996f54212146a2cdd96e6e31a30ca8d94e807ea95c3a2766297df0f0a38e9c1d28e6615705b536 SHA512 908bdd717b916066f3fca46019fa70c789adf0b159250d3ea3b485ca30c8e41e1b86274bf857530943189461ec8165dcd5242456cbf2e259341731af33f00dfa
+EBUILD mednafen-jg-1.31.0.ebuild 1221 BLAKE2B 308d3ad06a70eeec4a4ccce5647921af6056fd02cb590ddd3daaf179a5e8459cd5bf0ebd8ba6e1e002c6e44646e2426e4b9607ba0f4b2c962629c25c21eafec5 SHA512 ef7bdac1657d47eb5cb8869d27dbc5c9a6194b83e40a4485f5df255cc63b5b125601722574c38f16ea3e8c5cc89f43711d9c9cd19bd60e7a34b0eb7c6aba13d8
+EBUILD mednafen-jg-9999.ebuild 1221 BLAKE2B 308d3ad06a70eeec4a4ccce5647921af6056fd02cb590ddd3daaf179a5e8459cd5bf0ebd8ba6e1e002c6e44646e2426e4b9607ba0f4b2c962629c25c21eafec5 SHA512 ef7bdac1657d47eb5cb8869d27dbc5c9a6194b83e40a4485f5df255cc63b5b125601722574c38f16ea3e8c5cc89f43711d9c9cd19bd60e7a34b0eb7c6aba13d8
+MISC metadata.xml 870 BLAKE2B db1473244df4c178e0a72a1caeb42e4fc1d995c76ddb74caef4a73254d819319e22e33612efd01cd2f9670984240c14ab68a7a09a0cc7374782339c57d47a20e SHA512 60997485c0e0bad60da5e5526bd4b37d9f3114e9da156a5c91e6c96a3d08e4a7f3eb541fceb029e5463f2b3347029a6153caea3c92b2bf4bec0b774648dd57dd
diff --git a/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild b/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
new file mode 100644
index 000000000000..0c98a116fa35
--- /dev/null
+++ b/games-emulation/mednafen-jg/mednafen-jg-1.31.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+MY_PN=${PN%-*}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Jolly Good Port of Mednafen"
+HOMEPAGE="https://gitlab.com/jgemu/mednafen"
+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 GPL-2+ LGPL-2.1+ ZLIB"
+SLOT="1"
+
+DEPEND="
+ app-arch/zstd
+ dev-libs/lzo:2
+ >=dev-libs/trio-1.17
+ media-libs/flac
+ media-libs/jg:1=
+ sys-libs/zlib:=[minizip]
+"
+RDEPEND="
+ ${DEPEND}
+ games-emulation/jgrf
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ cd jollygood/conf || die
+ eautoreconf
+}
+
+src_configure() {
+ cd jollygood/conf || die
+ econf
+}
+
+src_compile() {
+ emake -C jollygood \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+ USE_EXTERNAL_TRIO=1
+}
+
+src_install() {
+ emake -C jollygood install \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}"/usr \
+ DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ USE_EXTERNAL_TRIO=1
+}
diff --git a/games-emulation/mednafen-jg/mednafen-jg-9999.ebuild b/games-emulation/mednafen-jg/mednafen-jg-9999.ebuild
new file mode 100644
index 000000000000..0c98a116fa35
--- /dev/null
+++ b/games-emulation/mednafen-jg/mednafen-jg-9999.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+MY_PN=${PN%-*}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Jolly Good Port of Mednafen"
+HOMEPAGE="https://gitlab.com/jgemu/mednafen"
+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 GPL-2+ LGPL-2.1+ ZLIB"
+SLOT="1"
+
+DEPEND="
+ app-arch/zstd
+ dev-libs/lzo:2
+ >=dev-libs/trio-1.17
+ media-libs/flac
+ media-libs/jg:1=
+ sys-libs/zlib:=[minizip]
+"
+RDEPEND="
+ ${DEPEND}
+ games-emulation/jgrf
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ cd jollygood/conf || die
+ eautoreconf
+}
+
+src_configure() {
+ cd jollygood/conf || die
+ econf
+}
+
+src_compile() {
+ emake -C jollygood \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" \
+ USE_EXTERNAL_TRIO=1
+}
+
+src_install() {
+ emake -C jollygood install \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}"/usr \
+ DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ USE_EXTERNAL_TRIO=1
+}
diff --git a/games-emulation/mednafen-jg/metadata.xml b/games-emulation/mednafen-jg/metadata.xml
new file mode 100644
index 000000000000..9e58d71f9c1a
--- /dev/null
+++ b/games-emulation/mednafen-jg/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ The Jolly Good API port of Mednafen has emulators for
+ Atari Lynx, Nintendo Virtual Boy, NEC PC Engine/TurboGrafx-16
+ NEC PC Engine CD/TurboDuo, NEC SuperGrafx, Sony PlayStation
+ Sega Saturn, Super Nintendo Entertainment System/Super Famicom
+ SNK Neo Geo Pocket Color and Bandai WonderSwan/Color.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://gitlab.com/jgemu/mednafen/-/issues</bugs-to>
+ <remote-id type="gitlab">jgemu/mednafen</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-emulation/melonds-jg/Manifest b/games-emulation/melonds-jg/Manifest
new file mode 100644
index 000000000000..912245095fec
--- /dev/null
+++ b/games-emulation/melonds-jg/Manifest
@@ -0,0 +1,5 @@
+AUX melonds-jg-0.9.5-format.patch 1078 BLAKE2B 00f471df8b8c6e622684cc4c3e925be1721cabd1dfa302e942a6f7f692aa842ccba5f5c13beb47bc184eee766a0dc71a8bfe1358e5f11cbedff36b9653b022a8 SHA512 1d72dc2d335ed68a894aaf686eaa7578d1332e647b3d65ab56b34dc90bc4d4c979a1c4a46d00759ba15ccfd88911f5cbc884c19a27c7f299af4bd94236018c5b
+DIST melonds-0.9.5.tar.bz2 5396317 BLAKE2B 4f834c1037b0a1f2e6acdc52bc0b974107343485cdfeff35d16520afb46895abec3046fa9c91c53b6c02855b19af39a64bfc98722887e5090eb0b051ae0d106b SHA512 11a0a71b20e516f426f6fa6dbb46418c5afdd34997d2943a91149f527ca81c7c9a76db8460439e7593e245df92799a69a76dc426eea14a01383ce0a8c1a4b473
+EBUILD melonds-jg-0.9.5.ebuild 1030 BLAKE2B 7e0592d4e51af5a8aacf47ba0cd9f59f92309b890387b7e1266f7482faa37caed59220f028fc10881e409cb6a7aba48cbeabd5a57476b6b16873e10610ae7064 SHA512 5d030b8126270e4aeb174f07e000ed799557c681b87b3db9912ecd2e01064f4828ca3b3b6f837f9f8a6f0e01b0591a9afcacb9e3fe896ba007e39fab8feb0cfa
+EBUILD melonds-jg-9999.ebuild 984 BLAKE2B 3d4412792e177b4265bb37f4bdab7f8b8f45843dbd11af306dc4fc0941bc98220151a771ee0be806d1c3fdf9465dc512c40a5ac6dc6cc5a9fab8a3ca5ec796c1 SHA512 29c4899b8b4e5720fa69e74497bd27de50c3053864bdbb5bcfbb9cccedd1fae6efe58fcab4d808379476fe303a84c04910e4985a6504a307d7bc8415b7000062
+MISC metadata.xml 701 BLAKE2B 9456d7207417e4025bcb48d7532f314271f034ea294acda711533d7769ef07bc13fc537502523be42c449ed7eff97f372ff28e207fc9a2234f93e342e7251553 SHA512 d18c4a81434a9987cd129419d09bcc4648fac86a8c047ef2ce8beb01b4abe636748423c8f0d71d9e0b6e30e2859b0f0d73daf5e85e0ddc5c45a06b1ab4efafd2
diff --git a/games-emulation/melonds-jg/files/melonds-jg-0.9.5-format.patch b/games-emulation/melonds-jg/files/melonds-jg-0.9.5-format.patch
new file mode 100644
index 000000000000..f107b6b20335
--- /dev/null
+++ b/games-emulation/melonds-jg/files/melonds-jg-0.9.5-format.patch
@@ -0,0 +1,27 @@
+Upstream-PR: https://github.com/melonDS-emu/melonDS/pull/1532
+Upstream-Commit: https://github.com/melonDS-emu/melonDS/commit/bd9c614cebe47f809ae125a4bf59649191332a3a
+melonds-jg-Commit: https://gitlab.com/jgemu/melonds/-/commit/bd9c614cebe47f809ae125a4bf59649191332a3a
+
+From bd9c614cebe47f809ae125a4bf59649191332a3a Mon Sep 17 00:00:00 2001
+From: Rupert Carmichael <54966017+carmiker@users.noreply.github.com>
+Date: Fri, 30 Dec 2022 15:13:39 -0500
+Subject: [PATCH] Wifi: -Wformat warning caused by missing printf argument
+ (#1532)
+
+---
+ src/Wifi.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Wifi.cpp b/src/Wifi.cpp
+index c2614e7..5373187 100644
+--- a/src/Wifi.cpp
++++ b/src/Wifi.cpp
+@@ -872,7 +872,7 @@ bool ProcessTX(TXSlot* slot, int num)
+ }
+
+ if ((num != 5) && (RAM[slot->Addr+4] > 0))
+- printf("SLOT %d RETRY COUNTER %d\n", RAM[slot->Addr+4]);
++ printf("SLOT %d RETRY COUNTER %d\n", num, RAM[slot->Addr+4]);
+
+ // set TX addr
+ IOPORT(W_RXTXAddr) = slot->Addr >> 1;
diff --git a/games-emulation/melonds-jg/melonds-jg-0.9.5.ebuild b/games-emulation/melonds-jg/melonds-jg-0.9.5.ebuild
new file mode 100644
index 000000000000..72f8d74e4dd2
--- /dev/null
+++ b/games-emulation/melonds-jg/melonds-jg-0.9.5.ebuild
@@ -0,0 +1,53 @@
+# 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 Port of melonDS"
+HOMEPAGE="https://gitlab.com/jgemu/melonds"
+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-1 BSD-2 GPL-3+ MIT Unlicense public-domain"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+ media-libs/libsamplerate
+"
+RDEPEND="
+ ${DEPEND}
+ games-emulation/jgrf
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-format.patch
+)
+
+src_compile() {
+ emake -C jollygood \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+ emake -C jollygood install \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}"/usr \
+ DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}
diff --git a/games-emulation/melonds-jg/melonds-jg-9999.ebuild b/games-emulation/melonds-jg/melonds-jg-9999.ebuild
new file mode 100644
index 000000000000..44ef9ee4e7eb
--- /dev/null
+++ b/games-emulation/melonds-jg/melonds-jg-9999.ebuild
@@ -0,0 +1,49 @@
+# 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 Port of melonDS"
+HOMEPAGE="https://gitlab.com/jgemu/melonds"
+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-1 BSD-2 GPL-3+ MIT Unlicense public-domain"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+ media-libs/libsamplerate
+"
+RDEPEND="
+ ${DEPEND}
+ games-emulation/jgrf
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_compile() {
+ emake -C jollygood \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+ emake -C jollygood install \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}"/usr \
+ DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}
diff --git a/games-emulation/melonds-jg/metadata.xml b/games-emulation/melonds-jg/metadata.xml
new file mode 100644
index 000000000000..010aa0b949dc
--- /dev/null
+++ b/games-emulation/melonds-jg/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ melonDS is an emulator for the Nintendo DS and DSi. The
+ Jolly Good API port is designed for use with content for
+ the Nintendo DS.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://gitlab.com/jgemu/melonds/-/issues</bugs-to>
+ <remote-id type="gitlab">jgemu/melonds</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-emulation/mgba-jg/Manifest b/games-emulation/mgba-jg/Manifest
new file mode 100644
index 000000000000..96931a23c332
--- /dev/null
+++ b/games-emulation/mgba-jg/Manifest
@@ -0,0 +1,4 @@
+DIST mgba-0.10.1.tar.bz2 12984463 BLAKE2B 8cdd3ee302ba29febbdd255582b2c071543bbe9e483a302c2e2116444662ace9e8988acead32be2b84361b6145099a1a76c2391a938069e3dddba83e76070842 SHA512 69d7f1a8973159cf6dab21aa669bd29e8344efad1a5ffaa77fc94ad02ce1f3c2f74692bdce896cee394ffcdbecfe7d91c0f51bc89fbb65a16cf44801e26d8412
+EBUILD mgba-jg-0.10.1.ebuild 888 BLAKE2B ee8e405f906bc0ede8713fd99d2975a815ee1081e1fb01587ba032f125b3297111bcadf542d1339ad0566cada5a0dd06c3d9f467dec7afb0653b7ebb74351fe8 SHA512 44f9db8e85200d32d65f366ed3b12041206474d3e02247803cdd3b3994ae75635e660c905a2eefd24a1da85dbb36c934837bb2c202044635a82eecfff6f3b44a
+EBUILD mgba-jg-9999.ebuild 888 BLAKE2B ee8e405f906bc0ede8713fd99d2975a815ee1081e1fb01587ba032f125b3297111bcadf542d1339ad0566cada5a0dd06c3d9f467dec7afb0653b7ebb74351fe8 SHA512 44f9db8e85200d32d65f366ed3b12041206474d3e02247803cdd3b3994ae75635e660c905a2eefd24a1da85dbb36c934837bb2c202044635a82eecfff6f3b44a
+MISC metadata.xml 707 BLAKE2B ae1ede954b9d15d9b1283f756c3090c64a4d6c55dd2de61bfb6af109c9c40f301c7c0d4aecb07a494657cecacb3cce97a95c5f5d144c9807b305ea48542b54ad SHA512 c6ce9801cbf99fd758a91f0ea95aa05dee2279332d1d0b2eb662eff0c82fd8726c5c6bea8e56511fe24e19dab2719496af667c5f7ad455e29a7b98bbbc52c76f
diff --git a/games-emulation/mgba-jg/metadata.xml b/games-emulation/mgba-jg/metadata.xml
new file mode 100644
index 000000000000..4ced7d6f9fbf
--- /dev/null
+++ b/games-emulation/mgba-jg/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ mGBA is an emulator for running Game Boy Advance games.
+ It aims to be faster and more accurate than many
+ existing Game Boy Advance emulators.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://gitlab.com/jgemu/mgba/-/issues</bugs-to>
+ <remote-id type="gitlab">jgemu/mgba</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.1.ebuild
new file mode 100644
index 000000000000..0e80a91b3ee1
--- /dev/null
+++ b/games-emulation/mgba-jg/mgba-jg-0.10.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 Port of mGBA"
+HOMEPAGE="https://gitlab.com/jgemu/mgba"
+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-2 MPL-2.0"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+"
+RDEPEND="
+ ${DEPEND}
+ games-emulation/jgrf
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_compile() {
+ emake -C jollygood CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+ emake -C jollygood install \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}"/usr \
+ DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}
diff --git a/games-emulation/mgba-jg/mgba-jg-9999.ebuild b/games-emulation/mgba-jg/mgba-jg-9999.ebuild
new file mode 100644
index 000000000000..0e80a91b3ee1
--- /dev/null
+++ b/games-emulation/mgba-jg/mgba-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 Port of mGBA"
+HOMEPAGE="https://gitlab.com/jgemu/mgba"
+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-2 MPL-2.0"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+"
+RDEPEND="
+ ${DEPEND}
+ games-emulation/jgrf
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_compile() {
+ emake -C jollygood CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+ emake -C jollygood install \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}"/usr \
+ DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}
diff --git a/games-emulation/nestopia-jg/Manifest b/games-emulation/nestopia-jg/Manifest
new file mode 100644
index 000000000000..706483ce2587
--- /dev/null
+++ b/games-emulation/nestopia-jg/Manifest
@@ -0,0 +1,4 @@
+DIST nestopia-1.52.0.tar.bz2 451267 BLAKE2B a70e1251a5b9dcb17a5d8e8233c12cc90189a0471aa3faf955c15d7331e44c4a67d6ddd101326820c219c3b5e09780a7191a45c14267e6da156d968a5b9bfce0 SHA512 5b2876ec3dcc90b94b99184d964bdeee8f194e07f8b8efeb9f425a118c3cc51e3d54901d922988047bfcb7fa5f3be97ed4e694c1451046a98e99678625d1f6f4
+EBUILD nestopia-jg-1.52.0.ebuild 865 BLAKE2B 1f8c74e6b9d1df39cb47e0e5c880590aa89ca78610f200989dd9d287f2d072794b013ea1b743270dce86d316640f42c6280e52f183c68e097670ab0a76cec5a7 SHA512 3846e74b721890616fbc754f031f24472ac6b56b344f28c82c1f6f3cb65a211d62b07406aee2850da7b75815afa36ceb17a470f50c97b9a6369d7540b191c2e9
+EBUILD nestopia-jg-9999.ebuild 865 BLAKE2B 1f8c74e6b9d1df39cb47e0e5c880590aa89ca78610f200989dd9d287f2d072794b013ea1b743270dce86d316640f42c6280e52f183c68e097670ab0a76cec5a7 SHA512 3846e74b721890616fbc754f031f24472ac6b56b344f28c82c1f6f3cb65a211d62b07406aee2850da7b75815afa36ceb17a470f50c97b9a6369d7540b191c2e9
+MISC metadata.xml 796 BLAKE2B a64e25c4a154aa153b1814d894768434c21c7a6cfe5dc73695fee083ab99f365ed952bbffbd9d7c1cea66fbdfccaf1a4c6506ffa9b9f954ca2374f7191b739f4 SHA512 260ed80b88b7ba5000f3187415fe56409656161d8cc9c2840dff3e64ff43fe0355ecf3bfac5bafeb5a5a3d69f897cd17f8b95ca14473d494d54aee5d7011f081
diff --git a/games-emulation/nestopia-jg/metadata.xml b/games-emulation/nestopia-jg/metadata.xml
new file mode 100644
index 000000000000..6150882ce3c3
--- /dev/null
+++ b/games-emulation/nestopia-jg/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ Nestopia JG is an emulator for the Nintendo Entertainment
+ System/Famicom, including support for the Famicom Disk
+ System. Though originally a fork, Nestopia JG is now the
+ de facto upstream branch of the Nestopia emulator.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://gitlab.com/jgemu/nestopia/-/issues</bugs-to>
+ <remote-id type="gitlab">jgemu/nestopia</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-emulation/nestopia-jg/nestopia-jg-1.52.0.ebuild b/games-emulation/nestopia-jg/nestopia-jg-1.52.0.ebuild
new file mode 100644
index 000000000000..ed6cc71cbb13
--- /dev/null
+++ b/games-emulation/nestopia-jg/nestopia-jg-1.52.0.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 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"
+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)"
+}
diff --git a/games-emulation/nestopia-jg/nestopia-jg-9999.ebuild b/games-emulation/nestopia-jg/nestopia-jg-9999.ebuild
new file mode 100644
index 000000000000..ed6cc71cbb13
--- /dev/null
+++ b/games-emulation/nestopia-jg/nestopia-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 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"
+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)"
+}
diff --git a/games-emulation/prosystem-jg/Manifest b/games-emulation/prosystem-jg/Manifest
new file mode 100644
index 000000000000..cb6c2b4535b3
--- /dev/null
+++ b/games-emulation/prosystem-jg/Manifest
@@ -0,0 +1,4 @@
+DIST prosystem-1.5.1.tar.bz2 49454 BLAKE2B 40c392805de577d2275c4810e36b6489a1457920484631bc63a54bef7c6120f5bef114bc52e17b65a43ccfc7c13b84694ea40376845217bae306a19940991a56 SHA512 daa3f40bc490299cdfb93393e95f411be7225dfe5271b2767ca7f5ef422ed053c3255b952de041ef44b7a196cb780b292f37a12104aef299c15ac564b77d281f
+EBUILD prosystem-jg-1.5.1.ebuild 869 BLAKE2B 63ca99b4bfe4523ca7f21313cfe3645d7189b442da01f4c79baed93c13469c1187865a93988bb7999d1186467a38526a254cb8d756eace640edbc1088173bcd9 SHA512 3ed19830a838dfab16f7601b4edc93db8b945c47a1264a228b62a1e23a45871ec33092e57fd8ab85fbfff19fc62340d6857318280a7899edf7eb483fb5d18056
+EBUILD prosystem-jg-9999.ebuild 869 BLAKE2B 63ca99b4bfe4523ca7f21313cfe3645d7189b442da01f4c79baed93c13469c1187865a93988bb7999d1186467a38526a254cb8d756eace640edbc1088173bcd9 SHA512 3ed19830a838dfab16f7601b4edc93db8b945c47a1264a228b62a1e23a45871ec33092e57fd8ab85fbfff19fc62340d6857318280a7899edf7eb483fb5d18056
+MISC metadata.xml 884 BLAKE2B c86e3143336e94fb0a7dd7c570a0f17215c96ab470905ca1ba65915c3671b686d4f5ffa7c41e7b9c1935572a6cd17a6c8a6895a989ffcca7e0203164b02fc92c SHA512 292bea12e40b13b5c3bc060f8122fa62428468a1b21c0f420c01c4056082335928a9f26db4f24a8c9694e59f3c2e6e7dbaa37067ab8424284dac1ad9aa90557a
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>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</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)"
+}
diff --git a/games-emulation/sameboy-jg/Manifest b/games-emulation/sameboy-jg/Manifest
new file mode 100644
index 000000000000..2f1a1bed7356
--- /dev/null
+++ b/games-emulation/sameboy-jg/Manifest
@@ -0,0 +1,4 @@
+DIST sameboy-0.15.8.tar.bz2 3002961 BLAKE2B 5eacbc82d8c93ee85b774c554b3d3750088e8a4219d5b04daa9e6db0c70923ef823befc12831382a27ee007f117fddcfe35ff3549d7684b8587db9ffc486ccd6 SHA512 9074dfcbf400fe51e605ef0200f6ea8483650d605ab19177089c0e60f9996c15f265c5dec5fd0e6651392c9a9515e8380499e00bac837bb645220cd6ffa9c870
+EBUILD sameboy-jg-0.15.8.ebuild 953 BLAKE2B 80f8f6a3128b07075774bf2dac2ee6626c6c5a9bb46198d0a80b1108d36256c4eea5798e3ad2f58ab0201e3df4e80d86e69c1323e53f792c2464eb7684f4d94b SHA512 03a56fae6b8803163f621be338f6a71bc924581305afae0f4b1a0c634749ebac465769e74b074f055ccc1b77f80e21051e2ebea116eea0270728663d09c2bd7b
+EBUILD sameboy-jg-9999.ebuild 953 BLAKE2B 80f8f6a3128b07075774bf2dac2ee6626c6c5a9bb46198d0a80b1108d36256c4eea5798e3ad2f58ab0201e3df4e80d86e69c1323e53f792c2464eb7684f4d94b SHA512 03a56fae6b8803163f621be338f6a71bc924581305afae0f4b1a0c634749ebac465769e74b074f055ccc1b77f80e21051e2ebea116eea0270728663d09c2bd7b
+MISC metadata.xml 725 BLAKE2B 77295d1bcc5ed31dfc5d162fc2f88e03954fa5552e6ccb688e286c82c68a427edda2717509b3503325d79b5c1ffebc943e4f5ad4da4f24e6d9b9e9dd66b69fb5 SHA512 1c37d417d50220e6201719509c9f66be97d13482846a111728e1020fec3215f55309a48b63d1a13ff66d9c9976783cc767b6124d8888dc3792de7bdccb1d71af
diff --git a/games-emulation/sameboy-jg/metadata.xml b/games-emulation/sameboy-jg/metadata.xml
new file mode 100644
index 000000000000..3f127f5cbd75
--- /dev/null
+++ b/games-emulation/sameboy-jg/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ SameBoy is an extremely accurate, powerful and open source
+ Game Boy (DMG), Game Boy Color (CGB) and Super Game Boy (SGB)
+ emulator, written in portable C.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://gitlab.com/jgemu/sameboy/-/issues</bugs-to>
+ <remote-id type="gitlab">jgemu/sameboy</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
new file mode 100644
index 000000000000..2a20f4b0419c
--- /dev/null
+++ b/games-emulation/sameboy-jg/sameboy-jg-0.15.8.ebuild
@@ -0,0 +1,49 @@
+# 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 Port of SameBoy"
+HOMEPAGE="https://gitlab.com/jgemu/sameboy"
+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="MIT"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+"
+RDEPEND="
+ ${DEPEND}
+ games-emulation/jgrf
+"
+BDEPEND="
+ >=dev-util/rgbds-0.6.0
+ virtual/pkgconfig
+"
+
+src_compile() {
+ emake -C jollygood \
+ CC="$(tc-getCC)" \
+ CC_FOR_BUILD="$(tc-getBUILD_CC)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+ emake -C jollygood install \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}"/usr \
+ DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}
diff --git a/games-emulation/sameboy-jg/sameboy-jg-9999.ebuild b/games-emulation/sameboy-jg/sameboy-jg-9999.ebuild
new file mode 100644
index 000000000000..2a20f4b0419c
--- /dev/null
+++ b/games-emulation/sameboy-jg/sameboy-jg-9999.ebuild
@@ -0,0 +1,49 @@
+# 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 Port of SameBoy"
+HOMEPAGE="https://gitlab.com/jgemu/sameboy"
+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="MIT"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+"
+RDEPEND="
+ ${DEPEND}
+ games-emulation/jgrf
+"
+BDEPEND="
+ >=dev-util/rgbds-0.6.0
+ virtual/pkgconfig
+"
+
+src_compile() {
+ emake -C jollygood \
+ CC="$(tc-getCC)" \
+ CC_FOR_BUILD="$(tc-getBUILD_CC)" \
+ PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+ emake -C jollygood install \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}"/usr \
+ DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}
diff --git a/games-emulation/vecx-jg/Manifest b/games-emulation/vecx-jg/Manifest
new file mode 100644
index 000000000000..62e57b65f584
--- /dev/null
+++ b/games-emulation/vecx-jg/Manifest
@@ -0,0 +1,4 @@
+DIST vecx-1.2.2.tar.bz2 50154 BLAKE2B 33ca097213771d6e57ece20594e1472d1f98aabe1c9892c73b648baf0180f56e9bb11282a64f2bfdde17236e265fc7e226dec74a9ae1b736e4b94d6f87067a75 SHA512 adaf1b2706fa6e893191e0444d10934a80b25d5e6936a262be4b5dc0ae070577668909a6ac7c246294556e0bc4e72bb881ae6f29a727302907fd2c73fe8e5b98
+EBUILD vecx-jg-1.2.2.ebuild 873 BLAKE2B a47b2fa956a09697fac96e4ffa3c9e7f35bbc524af673c7f944eb5eeb8da86d6d4622fb30afc00bb312db8f7e913e9e7ab9aabed1e2f5a3d7a5cdd5cab99d30a SHA512 94e2a8c3da492152ab606729fe5a3334974999b900d1f33fc9d01d773792b38a85494dace081eed66e6efe067422f4808ea2f7b5c4b7a267ee944e5192d302c9
+EBUILD vecx-jg-9999.ebuild 873 BLAKE2B a47b2fa956a09697fac96e4ffa3c9e7f35bbc524af673c7f944eb5eeb8da86d6d4622fb30afc00bb312db8f7e913e9e7ab9aabed1e2f5a3d7a5cdd5cab99d30a SHA512 94e2a8c3da492152ab606729fe5a3334974999b900d1f33fc9d01d773792b38a85494dace081eed66e6efe067422f4808ea2f7b5c4b7a267ee944e5192d302c9
+MISC metadata.xml 866 BLAKE2B de138b4992e66a35b1b79cbc1cefc3609537a1812fdce39a11bb4909b50c59551ed466c8b8f21bc9454a48cb0c295c51f7fbe18e8319be75a32e840692bae215 SHA512 f8934da9343f0b28b024f4d26e968b834a433dc5b2907da72fb0e50c6902d857963d3bff67d17df0b401575083f876bd7911200c4a2e026030241b7ad7be9e48
diff --git a/games-emulation/vecx-jg/metadata.xml b/games-emulation/vecx-jg/metadata.xml
new file mode 100644
index 000000000000..d8cfced3e4a3
--- /dev/null
+++ b/games-emulation/vecx-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>orbea@riseup.net</email>
+ <name>orbea</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ Vecx JG is an emulator for the Vectrex. This is a fork
+ of the original, unmodified vecx sources made available
+ by Valavan Manohararajah. Many new features have been
+ added since the fork was created. The emulator now
+ contains a new renderer, save states, and support for
+ PSG and DAC based audio.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://gitlab.com/jgemu/vecx/-/issues</bugs-to>
+ <remote-id type="gitlab">jgemu/vecx</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-emulation/vecx-jg/vecx-jg-1.2.2.ebuild b/games-emulation/vecx-jg/vecx-jg-1.2.2.ebuild
new file mode 100644
index 000000000000..8c06c33177c5
--- /dev/null
+++ b/games-emulation/vecx-jg/vecx-jg-1.2.2.ebuild
@@ -0,0 +1,46 @@
+# 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 vecx"
+HOMEPAGE="https://gitlab.com/jgemu/vecx"
+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="MIT"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+ media-libs/speexdsp
+"
+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/vecx-jg/vecx-jg-9999.ebuild b/games-emulation/vecx-jg/vecx-jg-9999.ebuild
new file mode 100644
index 000000000000..8c06c33177c5
--- /dev/null
+++ b/games-emulation/vecx-jg/vecx-jg-9999.ebuild
@@ -0,0 +1,46 @@
+# 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 vecx"
+HOMEPAGE="https://gitlab.com/jgemu/vecx"
+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="MIT"
+SLOT="1"
+
+DEPEND="
+ media-libs/jg:1=
+ media-libs/speexdsp
+"
+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)"
+}