From 0980ee21d88bf3d9518a48733defc7a44f7e56e2 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Tue, 11 Aug 2026 03:09:48 +0200 Subject: [PATCH 01/30] dev-libs/pegtl: Fix compilation with GCC 16.1.x Closes: https://bugs.gentoo.org/965280 Signed-off-by: Sebastian Pipping --- .../pegtl/files/pegtl-3.2.8-gcc-16-1.patch | 39 +++++++++++++++++++ dev-libs/pegtl/pegtl-3.2.8-r2.ebuild | 32 +++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 dev-libs/pegtl/files/pegtl-3.2.8-gcc-16-1.patch create mode 100644 dev-libs/pegtl/pegtl-3.2.8-r2.ebuild diff --git a/dev-libs/pegtl/files/pegtl-3.2.8-gcc-16-1.patch b/dev-libs/pegtl/files/pegtl-3.2.8-gcc-16-1.patch new file mode 100644 index 0000000000000..bcf3eed93d5bf --- /dev/null +++ b/dev-libs/pegtl/files/pegtl-3.2.8-gcc-16-1.patch @@ -0,0 +1,39 @@ +From 479dd5726da0df75bc9fc96f6fa8aa33e2104621 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Tue, 11 Aug 2026 02:30:40 +0200 +Subject: [PATCH] Work around compilation isues with GCC 16.1.x + +Related: +- https://github.com/taocpp/PEGTL/issues/382#issuecomment-4587769241 +- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91155 +- https://github.com/taocpp/PEGTL/commit/0176e87da3a02d0ab40ce39f03e0e4108d1bbba5 +--- + include/tao/pegtl/demangle.hpp | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/include/tao/pegtl/demangle.hpp b/include/tao/pegtl/demangle.hpp +index 389d00c..b1e1500 100644 +--- a/include/tao/pegtl/demangle.hpp ++++ b/include/tao/pegtl/demangle.hpp +@@ -85,15 +85,15 @@ template< typename T > + return tmp.substr( 0, end ); + } + +-#elif( __GNUC__ == 9 ) && ( __GNUC_MINOR__ < 3 ) ++#elif( ( __GNUC__ == 9 ) && ( __GNUC_MINOR__ < 3 ) ) || ( ( __GNUC__ == 16 ) && ( __GNUC_MINOR__ < 2 ) ) + + #if !defined( __cpp_rtti ) +-#error "RTTI support required for GCC 9.1/9.2" ++#error "RTTI support required for GCC 9.1/9.2/16.1" + #else + + #include + +-// GCC 9.1 and 9.2 have a bug that leads to truncated __PRETTY_FUNCTION__ names, ++// GCC 9.1/9.2/16.1 have a bug that leads to truncated __PRETTY_FUNCTION__ names, + // see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91155 + template< typename T > + [[nodiscard]] constexpr std::string_view TAO_PEGTL_NAMESPACE::demangle() noexcept +-- +2.55.0 + diff --git a/dev-libs/pegtl/pegtl-3.2.8-r2.ebuild b/dev-libs/pegtl/pegtl-3.2.8-r2.ebuild new file mode 100644 index 0000000000000..75bf4159e6468 --- /dev/null +++ b/dev-libs/pegtl/pegtl-3.2.8-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Header-only library for creating parsers according to Parsing Expression Grammar" +HOMEPAGE="https://github.com/taocpp/PEGTL" +SRC_URI="https://github.com/taocpp/PEGTL/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P^^}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}"/${PN}-3.2.1-werror.patch + "${FILESDIR}"/${P}-gcc-16-1.patch +) + +src_configure() { + local mycmakeargs=( + -DPEGTL_BUILD_EXAMPLES=$(usex examples) + -DPEGTL_BUILD_TESTS=$(usex test) + -DPEGTL_INSTALL_CMAKE_DIR="$(get_libdir)/cmake/${PN}" + -DPEGTL_INSTALL_DOC_DIR="share/doc/${PF}" + ) + cmake_src_configure +} From d3a33375a48430766ce2b381484f0cd2056c4dce Mon Sep 17 00:00:00 2001 From: orbea Date: Tue, 7 Jul 2026 15:19:18 -0700 Subject: [PATCH 02/30] media-libs/jg: update EAPI 8 -> 9 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- media-libs/jg/{jg-1.0.0.ebuild => jg-1.0.0-r1.ebuild} | 4 ++-- media-libs/jg/jg-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename media-libs/jg/{jg-1.0.0.ebuild => jg-1.0.0-r1.ebuild} (92%) diff --git a/media-libs/jg/jg-1.0.0.ebuild b/media-libs/jg/jg-1.0.0-r1.ebuild similarity index 92% rename from media-libs/jg/jg-1.0.0.ebuild rename to media-libs/jg/jg-1.0.0-r1.ebuild index 78671a37c8979..1a0a8a380cf73 100644 --- a/media-libs/jg/jg-1.0.0.ebuild +++ b/media-libs/jg/jg-1.0.0-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=8 +EAPI=9 DESCRIPTION="Reference Implementation of The Jolly Good API" HOMEPAGE="https://jgemu.gitlab.io/" diff --git a/media-libs/jg/jg-9999.ebuild b/media-libs/jg/jg-9999.ebuild index 78671a37c8979..1a0a8a380cf73 100644 --- a/media-libs/jg/jg-9999.ebuild +++ b/media-libs/jg/jg-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=8 +EAPI=9 DESCRIPTION="Reference Implementation of The Jolly Good API" HOMEPAGE="https://jgemu.gitlab.io/" From 9a95810af03f1cff58155bed05a479714b2096ed Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 5 Jul 2026 13:03:44 -0700 Subject: [PATCH 03/30] media-libs/jg: add 2.0.0 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- media-libs/jg/Manifest | 1 + media-libs/jg/jg-2.0.0.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 media-libs/jg/jg-2.0.0.ebuild diff --git a/media-libs/jg/Manifest b/media-libs/jg/Manifest index 1fcede48ee291..5fa32e7e14217 100644 --- a/media-libs/jg/Manifest +++ b/media-libs/jg/Manifest @@ -1 +1,2 @@ DIST jg-1.0.0.tar.bz2 12540 BLAKE2B 0f50221737a3bf294731e593988f9e6314291b3ab8389610ce0a0b6d8bf870dc49312b3129ff1479fde518ab35aeb47b172022c0630b09903a384a6d95c5ba0c SHA512 183766714279fe9fc30887d92ca533931a9906f53b4b8c2c8032914fa375e5f40f540ba4c2c32569f5ed956f108eb1e483227e42b59fb08fea6872fe9526b4fb +DIST jg-2.0.0.tar.bz2 14522 BLAKE2B 9e4a668ac9a219efd2dca45d0934575f026dba1fc637e4b29b43711d450afa0482a82c6e8093fc878e3bfacade3d56940ac10894c944452e502cffb42b74640b SHA512 f2829254ab75b4e703f8fca15d67e23d6a7da593bde18f84704ab18c488e6034d9b31ab41da253fe55496c0d482099e0ab7d842b5f1588c6b964abf9e3d4fc5c diff --git a/media-libs/jg/jg-2.0.0.ebuild b/media-libs/jg/jg-2.0.0.ebuild new file mode 100644 index 0000000000000..1a0a8a380cf73 --- /dev/null +++ b/media-libs/jg/jg-2.0.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +DESCRIPTION="Reference Implementation of The Jolly Good API" +HOMEPAGE="https://jgemu.gitlab.io/" +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 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="ZLIB" +SLOT="1" + +src_compile() { + : # Nothing to do +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} +} From 5a65580842fc5463abe19130c9fd2aef1c53c02f Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 5 Jul 2026 13:04:26 -0700 Subject: [PATCH 04/30] games-emulation/jgrf: add 2.0.1 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- games-emulation/jgrf/Manifest | 1 + games-emulation/jgrf/jgrf-2.0.1.ebuild | 68 ++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 games-emulation/jgrf/jgrf-2.0.1.ebuild diff --git a/games-emulation/jgrf/Manifest b/games-emulation/jgrf/Manifest index a1b1bc704b8fc..42f49ef53f221 100644 --- a/games-emulation/jgrf/Manifest +++ b/games-emulation/jgrf/Manifest @@ -1 +1,2 @@ DIST jgrf-1.4.0.tar.bz2 325205 BLAKE2B 33b5a39c5538fcfe16b07c70e452741c78d4c32dfa64b7effcd7420511e152db15e0f81db314254201cbd46a510d863ab9a00b5fb1dfdf1ccab69512a432787d SHA512 7bd51affea19b7ce085997e3d7af49b584a694edb712d21b8a6cb85b24146911cc5de694fc7e81834cad39fd8c21584c1c694b24a3a0b14c4b5139b89df10ebf +DIST jgrf-2.0.1.tar.bz2 350244 BLAKE2B 14210617dbdd3b827eb04598548d230f24b85d91674265ece7d9dd3ac87ccd394d1519041888cb198bebbf5b021a6314e6570a7098b46979f61d9e3e74a0b352 SHA512 5f707a323b28cc3df74ea91cc9fc52f694b1ba242afc4b261f5028a56e7e9be5bccc7db460620d142bf4509e3fb6d98376e8034ff183000444bb57dfacba5842 diff --git a/games-emulation/jgrf/jgrf-2.0.1.ebuild b/games-emulation/jgrf/jgrf-2.0.1.ebuild new file mode 100644 index 0000000000000..85a14dc2d872f --- /dev/null +++ b/games-emulation/jgrf/jgrf-2.0.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 2022-2026 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 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="BSD CC0-1.0 MIT ZLIB" +SLOT="1" +IUSE="vulkan" + +DEPEND=" + dev-libs/miniz + dev-libs/openssl:0= + >=media-libs/jg-2.0.0 + media-libs/libepoxy[egl(+)] + media-libs/libsdl3[opengl,udev] + media-libs/speexdsp + vulkan? ( + dev-util/vulkan-headers + media-libs/libsdl3[vulkan] + media-libs/vulkan-loader + ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + vulkan? ( dev-util/glslang ) +" + +src_configure() { + local makeopts=( + PREFIX="${EPREFIX}"/usr + USE_EXTERNAL_MD5=1 + USE_EXTERNAL_MINIZ=1 + ENABLE_VULKAN=$(usex vulkan 1 0) + ) + export MY_MAKEOPTS="${makeopts[@]}" +} + +src_compile() { + local mymakeargs=( + CC="$(tc-getCC)" + PKG_CONFIG="$(tc-getPKG_CONFIG)" + LIBDIR="${EPREFIX}/usr/$(get_libdir)" + ${MY_MAKEOPTS} + ) + emake "${mymakeargs[@]}" +} + +src_install() { + local mymakeargs=( + DESTDIR="${D}" \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} + ${MY_MAKEOPTS} + ) + emake install "${mymakeargs[@]}" +} From a7eaa03da515746cb02e7a43aae9e8378b387442 Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 5 Jul 2026 13:09:08 -0700 Subject: [PATCH 05/30] games-emulation/bsnes-jg: add 2.1.1 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- games-emulation/bsnes-jg/Manifest | 1 + .../bsnes-jg/bsnes-jg-2.1.1.ebuild | 79 +++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 games-emulation/bsnes-jg/bsnes-jg-2.1.1.ebuild diff --git a/games-emulation/bsnes-jg/Manifest b/games-emulation/bsnes-jg/Manifest index 6e3778f74d1ee..e648f95a48311 100644 --- a/games-emulation/bsnes-jg/Manifest +++ b/games-emulation/bsnes-jg/Manifest @@ -1 +1,2 @@ DIST bsnes-2.1.0.tar.bz2 4327819 BLAKE2B 509ef2ed265eaf026a06511652297e690d51c12938d389c79989539f95cc6dc3c8fc5eea0d1a857067b73b079c20fa5a119262aba84f450e9733af14e454807c SHA512 3c7b0c8f8a7bcb121afcae5af45cf3e89cfd2bfa67583cd682682464784015ca10c41df7587a0c0e69bf0edc5f85df7cdb7793d10968da588b230f5ff3f08fb8 +DIST bsnes-2.1.1.tar.bz2 4335904 BLAKE2B ef05888ad19aafcd1440af4c1c7fb1723bff61f24dc3c62a551831a4899f3105c9a49642366d6f174d53a50688ff90a7e19317b80598433f41ae8dcff6468211 SHA512 f707326aab8c8fe6a648e669963475b54fbcc760fc8fb36c190451cf0ad9ce28557ce92995f90b4610ebca7435cce06482d284980d0c851284d5b89bc97897dd diff --git a/games-emulation/bsnes-jg/bsnes-jg-2.1.1.ebuild b/games-emulation/bsnes-jg/bsnes-jg-2.1.1.ebuild new file mode 100644 index 0000000000000..0d4b428b76dd8 --- /dev/null +++ b/games-emulation/bsnes-jg/bsnes-jg-2.1.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="doxygen" +DOCS_DIR="objs/doc" + +inherit docs 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 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE=" + ISC GPL-3+ LGPL-2.1+ MIT ZLIB + examples? ( 0BSD ) +" +SLOT="1" +IUSE="examples +jgmodule shared" +REQUIRED_USE=" + || ( examples jgmodule shared ) + doc? ( shared ) +" + +DEPEND=" + media-libs/libsamplerate + examples? ( media-libs/libsdl3 ) + jgmodule? ( >=media-libs/jg-2.0.0 ) +" +RDEPEND=" + ${DEPEND} + jgmodule? ( games-emulation/jgrf ) +" +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + local makeopts=( + PREFIX="${EPREFIX}"/usr + DISABLE_MODULE=$(usex jgmodule 0 1) + ENABLE_EXAMPLE=$(usex examples 1 0) + ENABLE_SHARED=$(usex shared 1 0) + ) + export MY_MAKEOPTS="${makeopts[@]}" +} + +src_compile() { + local mymakeargs=( + CC="$(tc-getCC)" + CXX="$(tc-getCXX)" + PKG_CONFIG="$(tc-getPKG_CONFIG)" + ${MY_MAKEOPTS} + ) + emake "${mymakeargs[@]}" + use doc && emake doxyfile + docs_compile +} + +src_install() { + local mymakeargs=( + DESTDIR="${D}" + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} + LIBDIR="${EPREFIX}/usr/$(get_libdir)" + ${MY_MAKEOPTS} + ) + emake install "${mymakeargs[@]}" + use doc && einstalldocs +} From f5ebd3d5dfdb03a2ef4dd0437e0e2c08e52ce87f Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 5 Jul 2026 13:08:08 -0700 Subject: [PATCH 06/30] games-emulation/cega-jg: add 0.6.2 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- games-emulation/cega-jg/Manifest | 1 + games-emulation/cega-jg/cega-jg-0.6.2.ebuild | 46 ++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 games-emulation/cega-jg/cega-jg-0.6.2.ebuild diff --git a/games-emulation/cega-jg/Manifest b/games-emulation/cega-jg/Manifest index bf0b0382a0b31..f9b1a1de4cbce 100644 --- a/games-emulation/cega-jg/Manifest +++ b/games-emulation/cega-jg/Manifest @@ -1 +1,2 @@ DIST cega-0.6.1.tar.bz2 375688 BLAKE2B 287d7afa6ef28a6a3ee2467300cfe8c86534156269a3060bd31a28b85400fcfbb9ef9c42f82c809353321bece205753c53bc1f01fed48df6d35755d450f638e7 SHA512 8d9b1fa92abea3e99833832078780e50a3d9d9f984501a776f7cd182f15d32cc6c3df4fe7c898bf30ce7b562d6b8adc1603cf7e24d676866a14964ddc0f25c06 +DIST cega-0.6.2.tar.bz2 377336 BLAKE2B d49b3635ae5197e93e95ae041a8960db4e7b6ed1a93ae6cfddb6749cda7fc2ba5ee1ec117407372aa8b40dbeabc12c20afe161c21b4c9c08a3730b0c2fd691b9 SHA512 ee25d000db78a8b431db31347f3e078a10ecb54f80748dcb6ffa368ed3eb98f2e5f9055ce9f87d74116d46c5bb0ced3e06aa5ee4bfdefb1ede0c5c8cf04c07c9 diff --git a/games-emulation/cega-jg/cega-jg-0.6.2.ebuild b/games-emulation/cega-jg/cega-jg-0.6.2.ebuild new file mode 100644 index 0000000000000..68aa215ebec9a --- /dev/null +++ b/games-emulation/cega-jg/cega-jg-0.6.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2026 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 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="BSD MIT MPL-2.0 ZLIB" +SLOT="1" + +DEPEND=" + >=media-libs/jg-2.0.0 + 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)" +} From c27a9b4198e046c634222dbc1eac6f88c3c5dc87 Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 5 Jul 2026 13:08:57 -0700 Subject: [PATCH 07/30] games-emulation/gambatte-jg: add 0.6.1 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- games-emulation/gambatte-jg/Manifest | 1 + .../gambatte-jg/gambatte-jg-0.6.1.ebuild | 84 +++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 games-emulation/gambatte-jg/gambatte-jg-0.6.1.ebuild diff --git a/games-emulation/gambatte-jg/Manifest b/games-emulation/gambatte-jg/Manifest index 12614b9240a2a..f1893755ad22f 100644 --- a/games-emulation/gambatte-jg/Manifest +++ b/games-emulation/gambatte-jg/Manifest @@ -1 +1,2 @@ DIST gambatte-0.6.0.tar.bz2 384803 BLAKE2B 8d203385704fc212c84835ec1446dac9b7e64b59dc04ffc72533fe309716ea78a58d5b61707214b2b66dd9af5e5f9d52e0e46973673ab50b04dbd3b2075de51f SHA512 538a52d91b554c9a01c8e4ffbb96aa81638344687d0dee593f8950c10a93d732f44442ada4809cb36be5311df2bdce65b1d5f71db97579bcf8cb9516dddc30a3 +DIST gambatte-0.6.1.tar.bz2 383052 BLAKE2B dc6ac9fb0f509e934d00eff45cf2436d5465b21e34b9c28329d7deb824f55b7e3d6e8f6e92c86a27a0c38cde22c8eeeb0cedd5a0462ee671dae04ced5386b01f SHA512 7fc0a1013a06c60adb9619e44e6479c15b587ef9df9b4252158382989d55a4e05729ffd826a103cb43aa034a1b6e1e48c9978d52044344e39a8b0869b5c76fc4 diff --git a/games-emulation/gambatte-jg/gambatte-jg-0.6.1.ebuild b/games-emulation/gambatte-jg/gambatte-jg-0.6.1.ebuild new file mode 100644 index 0000000000000..1d535f7731a0e --- /dev/null +++ b/games-emulation/gambatte-jg/gambatte-jg-0.6.1.ebuild @@ -0,0 +1,84 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="doxygen" +DOCS_DIR="objs/doc" + +inherit docs 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 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE=" + GPL-2 + examples? ( 0BSD ) + jgmodule? ( BSD ) +" +SLOT="1" +IUSE="examples +jgmodule shared" +REQUIRED_USE=" + || ( examples jgmodule shared ) + doc? ( shared ) +" + +DEPEND=" + examples? ( + media-libs/libsdl3 + media-libs/speexdsp + ) + jgmodule? ( + >=media-libs/jg-2.0.0 + media-libs/speexdsp + ) +" +RDEPEND=" + ${DEPEND} + jgmodule? ( games-emulation/jgrf ) +" +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + local makeopts=( + DISABLE_MODULE=$(usex jgmodule 0 1) + ENABLE_EXAMPLE=$(usex examples 1 0) + ENABLE_SHARED=$(usex shared 1 0) + ) + export MY_MAKEOPTS="${makeopts[@]}" +} + +src_compile() { + local mymakeargs=( + CXX="$(tc-getCXX)" + PKG_CONFIG="$(tc-getPKG_CONFIG)" + ${MY_MAKEOPTS} + ) + emake "${mymakeargs[@]}" + use doc && emake doxyfile + docs_compile +} + +src_install() { + local mymakeargs=( + DESTDIR="${D}" + PREFIX="${EPREFIX}"/usr + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} + LIBDIR="${EPREFIX}/usr/$(get_libdir)" + ${MY_MAKEOPTS} + ) + emake install "${mymakeargs[@]}" + use doc && einstalldocs +} From 8a9e27a85b9de97b5b1cbf4026a0c11672bdf324 Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 5 Jul 2026 13:09:57 -0700 Subject: [PATCH 08/30] games-emulation/geolith-jg: add 0.4.2 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- games-emulation/geolith-jg/Manifest | 1 + .../geolith-jg/geolith-jg-0.4.2.ebuild | 65 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 games-emulation/geolith-jg/geolith-jg-0.4.2.ebuild diff --git a/games-emulation/geolith-jg/Manifest b/games-emulation/geolith-jg/Manifest index be480a514c3c6..15f7830a9c1bb 100644 --- a/games-emulation/geolith-jg/Manifest +++ b/games-emulation/geolith-jg/Manifest @@ -1,2 +1,3 @@ DIST geolith-0.3.0.tar.bz2 341957 BLAKE2B 6a6910aeab0c810dbecdf9726b52fea87734c68acbd16188990b513825ff1f195f4180cb40d67543d4262c76fc04f96f5056f4beeda203466a4597bb1ccfca33 SHA512 e982c9be3da64b44d7b4cc53773036eb160da4c5963ef0ccbcd7ece678464071b6e2268ab970509acfe5e318c472405596e2a2b0ffaa281b403afcb6cde46856 DIST geolith-0.4.1.tar.bz2 431606 BLAKE2B b0333e334c04f1052b933bee64f43cde16c963541beda784c23a5badb49dc7d2bf757432c78f69a590ef60d8d8f9a3786c574c8be594a4f2578e1393c0ba8dac SHA512 6114be899bf86e0ad8190b7602ba1321c5bb597346741548566f48b820eb81d8ebc51db877a2b38a27d048e50890f1278a555c611d862cfb33bb779dcde680a3 +DIST geolith-0.4.2.tar.bz2 432412 BLAKE2B 066afc450e45d295300c00787f740e6ba11e9fddd9a72dbd16df6bee847f1f9116967b813d4ef9a67b4527560784faeb772382c8ae511eadcbebad9e0c03abb9 SHA512 9d604da6fcf937060c7dd27616e30b60e43239a874f7e6621cee6bf57f5b05b56e935acf80a7765c784510d9afce8d048394204da406d9567ad8eb58fefa9c52 diff --git a/games-emulation/geolith-jg/geolith-jg-0.4.2.ebuild b/games-emulation/geolith-jg/geolith-jg-0.4.2.ebuild new file mode 100644 index 0000000000000..18d631724daef --- /dev/null +++ b/games-emulation/geolith-jg/geolith-jg-0.4.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 2022-2026 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 Neo Geo AES/MVS/CD/CDZ Emulator" +HOMEPAGE="https://gitlab.com/jgemu/geolith" +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 ~x86" +fi + +LICENSE="BSD MIT MIT-0" +SLOT="1" +IUSE="chdr" + +DEPEND=" + dev-libs/miniz:= + >=media-libs/jg-2.0.0 + media-libs/speexdsp + chdr? ( media-libs/libchdr:= ) +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + local makeopts=( + PREFIX="${EPREFIX}"/usr + ENABLE_CHDR=$(usex chdr 1 0) + USE_EXTERNAL_MINIZ=1 + ) + export MY_MAKEOPTS="${makeopts[@]}" +} + +src_compile() { + local mymakeargs=( + CC="$(tc-getCC)" + PKG_CONFIG="$(tc-getPKG_CONFIG)" + ${MY_MAKEOPTS} + ) + emake "${mymakeargs[@]}" +} + +src_install() { + local mymakeargs=( + DESTDIR="${D}" + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} + LIBDIR="${EPREFIX}/usr/$(get_libdir)" + ${MY_MAKEOPTS} + ) + emake install "${mymakeargs[@]}" +} From e16a54ed947cceb5c5f865c861bb62666cde1885 Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 5 Jul 2026 13:10:24 -0700 Subject: [PATCH 09/30] games-emulation/jollycv-jg: add 2.0.1 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- games-emulation/jollycv-jg/Manifest | 1 + .../jollycv-jg/jollycv-jg-2.0.1.ebuild | 78 +++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 games-emulation/jollycv-jg/jollycv-jg-2.0.1.ebuild diff --git a/games-emulation/jollycv-jg/Manifest b/games-emulation/jollycv-jg/Manifest index 90be9001755fa..1e9065b3055f3 100644 --- a/games-emulation/jollycv-jg/Manifest +++ b/games-emulation/jollycv-jg/Manifest @@ -1 +1,2 @@ DIST jollycv-2.0.0.tar.bz2 240838 BLAKE2B 6abf2410626f73c3a3f8eb350246d02bd86b61aaa8dd2a1a87003b48e7c67858ce07a6339e34052de1896f69509a9865145d30305352191d76523af8af5fe358 SHA512 1157014ad1156f29242dfd4796635771753316a23ddec340fecc809533f3b0212216bb706ba6ddd5b1398740215cdcc7d4c5f377c34ed75445f0b617f0485b40 +DIST jollycv-2.0.1.tar.bz2 242220 BLAKE2B e850ab4b08e3296513684d56a7345d6ae8a6e043b49404fc4533cf024b2ec385124bc346d7e86455e493c43cde801b0203fef40b1152b58c16649ae692c5d141 SHA512 0a60b95daa1499ec14cb0541d7225ef1efa024bca99545fd0e51317a71a1396a92300b5d3efc50aa4f2c669974889b30996a97a3a3a93ad9366f95b1a3158b1e diff --git a/games-emulation/jollycv-jg/jollycv-jg-2.0.1.ebuild b/games-emulation/jollycv-jg/jollycv-jg-2.0.1.ebuild new file mode 100644 index 0000000000000..0b2d4788636ad --- /dev/null +++ b/games-emulation/jollycv-jg/jollycv-jg-2.0.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="doxygen" +DOCS_DIR="objs/doc" + +inherit docs toolchain-funcs + +MY_PN=${PN%-*} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Jolly Good ColecoVision, CreatiVision and My Vision 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 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE=" + BSD MIT + examples? ( 0BSD ) +" +SLOT="1" +IUSE="examples +jgmodule shared" +REQUIRED_USE=" + || ( examples jgmodule shared ) + doc? ( shared ) +" + +DEPEND=" + media-libs/speexdsp + examples? ( media-libs/libsdl3 ) + jgmodule? ( >=media-libs/jg-2.0.0 ) +" +RDEPEND=" + ${DEPEND} + jgmodule? ( games-emulation/jgrf ) +" +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + local makeopts=( + PREFIX="${EPREFIX}"/usr + DISABLE_MODULE=$(usex jgmodule 0 1) + ENABLE_EXAMPLE=$(usex examples 1 0) + ENABLE_SHARED=$(usex shared 1 0) + ) + export MY_MAKEOPTS="${makeopts[@]}" +} + +src_compile() { + local mymakeargs=( + CC="$(tc-getCC)" + PKG_CONFIG="$(tc-getPKG_CONFIG)" + ${MY_MAKEOPTS} + ) + emake "${mymakeargs[@]}" + use doc && emake doxyfile + docs_compile +} + +src_install() { + local mymakeargs=( + DESTDIR="${D}" + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} + LIBDIR="${EPREFIX}/usr/$(get_libdir)" + ${MY_MAKEOPTS} + ) + emake install "${mymakeargs[@]}" + use doc && einstalldocs +} From a6dc72df81047e7e59424bc1004eecb85c8a3d7b Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 5 Jul 2026 13:12:15 -0700 Subject: [PATCH 10/30] games-emulation/mednafen-jg: add 1.32.1.2 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- games-emulation/mednafen-jg/Manifest | 1 + .../mednafen-jg/mednafen-jg-1.32.1.2.ebuild | 69 +++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 games-emulation/mednafen-jg/mednafen-jg-1.32.1.2.ebuild diff --git a/games-emulation/mednafen-jg/Manifest b/games-emulation/mednafen-jg/Manifest index 7e3b37353f787..8e1dc907b3ddd 100644 --- a/games-emulation/mednafen-jg/Manifest +++ b/games-emulation/mednafen-jg/Manifest @@ -1 +1,2 @@ DIST mednafen-1.32.1.1.tar.bz2 4430513 BLAKE2B 6cfecf12b962e46696b352c37fb1c3476e4a9a175ee65cf3f332f1f983bbec3ae0096fbbb27c3cf222a50bdb1e595f62debaf0117b10ac10c9d8b06613e55d47 SHA512 81b42120319c452347f03928aa5c7957d0906de5e413149c9f7403a6776f537ed2eadd0b41cdc45a608c246d9ceade5090755f790255017bd2223115655b20a9 +DIST mednafen-1.32.1.2.tar.bz2 4415120 BLAKE2B ebd4f94527de2b7e14a7b6541b772b21c3338bda2100d979fcfde8828a46b37c8d819f1a0c0bf2f2100144cf1a3fa70fe104c93738e346fc86c2dc48bec37ff1 SHA512 32796de3a61212e0391764e1f4931948fffa13c4aa25c96984f1f44e903e3ca7c611f24a0232866c8e0a1370ad7bb0aa6b7eeda93d3316ba70163c59a77d9ada diff --git a/games-emulation/mednafen-jg/mednafen-jg-1.32.1.2.ebuild b/games-emulation/mednafen-jg/mednafen-jg-1.32.1.2.ebuild new file mode 100644 index 0000000000000..20b0caee1653f --- /dev/null +++ b/games-emulation/mednafen-jg/mednafen-jg-1.32.1.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022-2026 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 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="BSD GPL-2 GPL-2+ LGPL-2.1+ ZLIB" +SLOT="1" +IUSE="cpu_flags_x86_avx" + +DEPEND=" + app-arch/zstd + dev-libs/lzo:2 + >=dev-libs/trio-1.17 + media-libs/flac + >=media-libs/jg-2.0.0 + virtual/minizip:= + virtual/libiconv +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_prepare() { + default + + cd jollygood/conf || die + eautoreconf +} + +src_configure() { + cd jollygood/conf || die + econf $(use_enable cpu_flags_x86_avx avx) +} + +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 +} From 938bf0480fb34ff8be617af70d2ed4eb1b520aef Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 5 Jul 2026 13:12:49 -0700 Subject: [PATCH 11/30] games-emulation/melonds-jg: add 1.1.0.1 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- games-emulation/melonds-jg/Manifest | 1 + .../melonds-jg/melonds-jg-1.1.0.1.ebuild | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 games-emulation/melonds-jg/melonds-jg-1.1.0.1.ebuild diff --git a/games-emulation/melonds-jg/Manifest b/games-emulation/melonds-jg/Manifest index 1c2160fdfad74..94893c595a957 100644 --- a/games-emulation/melonds-jg/Manifest +++ b/games-emulation/melonds-jg/Manifest @@ -1 +1,2 @@ +DIST melonds-1.1.0.1.tar.bz2 3299307 BLAKE2B a8674f86fa4e7a24698f91d1a8cd7767444ece14636e99e5e6cb53603ee615dc4218254da892af5f6dbf8421cacc6ef17cec779b0ee1c63aee5abd21fae8988d SHA512 684157732ecc016d5b3ea9e396986dd34d6e0a9a87d2ba874fe20ff733e21de14b4d3a2ecce660f8b41667647b6f61e09d5b4090ae61ac95cb79ce482ed7c608 DIST melonds-1.1.0.tar.bz2 3299172 BLAKE2B 8caae92b44e8896cde95df85e9a07e1b11126976995f298c9173effdfb60211372d9fb82520fc3469a2c3ce6469bf554ac666f97ea70515b0d0441ff41c281e9 SHA512 69747f051449739935d2a00c603b0c76b8b3135c867cfdebf0f73ae0578718bd4fc308a959ba2d130d1e217b6f193ab635eccdd2ec88d44b55689e20af96e42b diff --git a/games-emulation/melonds-jg/melonds-jg-1.1.0.1.ebuild b/games-emulation/melonds-jg/melonds-jg-1.1.0.1.ebuild new file mode 100644 index 0000000000000..211d53f957cf8 --- /dev/null +++ b/games-emulation/melonds-jg/melonds-jg-1.1.0.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs flag-o-matic + +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 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="BSD-2 FatFs GPL-3+ LGPL-2.1+ MIT Unlicense public-domain" +SLOT="1" + +DEPEND=" + >=media-libs/jg-2.0.0 +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + # https://bugs.gentoo.org/931907 + # https://github.com/melonDS-emu/melonDS/issues/2349 + append-flags -fno-strict-aliasing + filter-lto + + 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)" +} From 2915a7ee5325a06a9db65ebf40b2038af343c532 Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 5 Jul 2026 13:13:24 -0700 Subject: [PATCH 12/30] games-emulation/mgba-jg: add 0.10.5.1 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- games-emulation/mgba-jg/Manifest | 1 + .../mgba-jg/mgba-jg-0.10.5.1.ebuild | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 games-emulation/mgba-jg/mgba-jg-0.10.5.1.ebuild diff --git a/games-emulation/mgba-jg/Manifest b/games-emulation/mgba-jg/Manifest index 6a45150ac72bd..6ae1963188e2e 100644 --- a/games-emulation/mgba-jg/Manifest +++ b/games-emulation/mgba-jg/Manifest @@ -1 +1,2 @@ +DIST mgba-0.10.5.1.tar.bz2 12958317 BLAKE2B b32fc263a40ce669a01b69dc8962b679cd52f4b5783df2bfaf57092174506e82bdaca87d09d4530dc236b6ba48c4bb3ce2c5a161413b5322b2f1ee4534351903 SHA512 4e903a049c925d781ab96b5ffec37368cbf09039164d9f84fdf155e7fd07cc93461bca5912628431dd13323be8ccd784019c5c8a443fd675649beae75f4d3cd7 DIST mgba-0.10.5.tar.bz2 12953030 BLAKE2B 15e2eeb7f084b18483514c44ecbd6792af51d8997ac6ed839d01fbea8ce61abeeb721e782e540491b9ad8598e7c9f523e2dcb38af6d1dce525b89e663ad6e9ca SHA512 649e8876c7e2f88bab73f2522a7fceff0bf70557c5e363cb6fff7f666dc0d962c62f24599e146a762af6ccb8af60d66bfc15927ad0a077022faf75b7c35257e2 diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.5.1.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.5.1.ebuild new file mode 100644 index 0000000000000..d255446554d28 --- /dev/null +++ b/games-emulation/mgba-jg/mgba-jg-0.10.5.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022-2026 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 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="BSD-2 MPL-2.0" +SLOT="1" + +DEPEND=" + >=media-libs/jg-2.0.0 +" +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)" +} From 5ff33341c2005eb3198676686cc73c6830075af3 Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 5 Jul 2026 13:13:45 -0700 Subject: [PATCH 13/30] games-emulation/nestopia-jg: add 1.54.0 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- games-emulation/nestopia-jg/Manifest | 1 + .../nestopia-jg/nestopia-jg-1.54.0.ebuild | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 games-emulation/nestopia-jg/nestopia-jg-1.54.0.ebuild diff --git a/games-emulation/nestopia-jg/Manifest b/games-emulation/nestopia-jg/Manifest index 772d1db39b411..0ef5ac86e20b2 100644 --- a/games-emulation/nestopia-jg/Manifest +++ b/games-emulation/nestopia-jg/Manifest @@ -1 +1,2 @@ DIST nestopia-1.53.2.tar.bz2 670857 BLAKE2B 80fb95ff813d2664380378c79b86221f0d3f2238777705c6d53f868b3c2c27559f5c8a424a2750b838a4c1e339043e028aedceb6aa65bc827cd6de2f7d77687a SHA512 a76c5332c26b359af92e0b9528b74293b1a4db4d726d3d07a7c8082ceeffb52083df6c7f7ea69c0c3b2864bd71ee8d61434f42398ec3cd43c4a37c3dc5531524 +DIST nestopia-1.54.0.tar.bz2 673716 BLAKE2B f9a091ad493a69071e4cebb4cd027180bf189b098c73b8fd5d5417378b02fedf7953287a02fd360aef53afdd85bf0bebe9325f2d4bb46f681ab8dee507a2b787 SHA512 7119a5dcb45b54057c7a535973aa4ad58634541bccedd85ecc7b0a15787654aac7629ad67033e701de507bbfaac6597d99e4d850f3636a973e2952987efd13ac diff --git a/games-emulation/nestopia-jg/nestopia-jg-1.54.0.ebuild b/games-emulation/nestopia-jg/nestopia-jg-1.54.0.ebuild new file mode 100644 index 0000000000000..a22d48c90c5b2 --- /dev/null +++ b/games-emulation/nestopia-jg/nestopia-jg-1.54.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022-2026 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-2.0.0 +" +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)" +} From 72f4267d2d8bf1f3e42ba1f0f14e9aadaf6ce9d8 Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 5 Jul 2026 13:15:12 -0700 Subject: [PATCH 14/30] games-emulation/prosystem-jg: add 1.5.4 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- games-emulation/prosystem-jg/Manifest | 1 + .../prosystem-jg/prosystem-jg-1.5.4.ebuild | 45 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 games-emulation/prosystem-jg/prosystem-jg-1.5.4.ebuild diff --git a/games-emulation/prosystem-jg/Manifest b/games-emulation/prosystem-jg/Manifest index f3e12a318bb81..5a0e22a297bc9 100644 --- a/games-emulation/prosystem-jg/Manifest +++ b/games-emulation/prosystem-jg/Manifest @@ -1 +1,2 @@ DIST prosystem-1.5.3.tar.bz2 128312 BLAKE2B c410dcdfbd2a2537d5f4cc36e285e3bd39f2c4239eeb6888431bcf85853a9056b03be5e0ae772c3475d544f74715fae48d6bbd0ae56e6b60e0608d8c8fcadf79 SHA512 33a0598a4abe7a07d925d7d6564c85538873643ebb0211c14f83661b702fd6b271f76f3730d555c38b7246a1c6c2ed0dce2cbfe41b4e8efde467c1541ee69585 +DIST prosystem-1.5.4.tar.bz2 129130 BLAKE2B 4485a293bf5572af8a47a5f552eae6f1bf2bdca3bc7475d4ada269d760af76db5a1ccb10d54a3bd2dfcac23aae446cb538d85885bc4b2792b6b9e14cf3c14f08 SHA512 02124b5938a705082501a13a0bc99eab3b4f0abc26ea6f54420173860b4bf931d5519839edae4cf036bc5a4ea9b116e74e915954ce5ebd11694bf0ea452b7899 diff --git a/games-emulation/prosystem-jg/prosystem-jg-1.5.4.ebuild b/games-emulation/prosystem-jg/prosystem-jg-1.5.4.ebuild new file mode 100644 index 0000000000000..51b5e33e4d172 --- /dev/null +++ b/games-emulation/prosystem-jg/prosystem-jg-1.5.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022-2026 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 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="BSD GPL-2+" +SLOT="1" + +DEPEND=" + >=media-libs/jg-2.0.0 +" +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)" +} From 97f2eaadffe54f21c8c54025439a51c44313b8f5 Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 5 Jul 2026 13:15:19 -0700 Subject: [PATCH 15/30] games-emulation/sameboy-jg: add 1.0.3.1 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- games-emulation/sameboy-jg/Manifest | 1 + .../sameboy-jg/sameboy-jg-1.0.3.1.ebuild | 49 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 games-emulation/sameboy-jg/sameboy-jg-1.0.3.1.ebuild diff --git a/games-emulation/sameboy-jg/Manifest b/games-emulation/sameboy-jg/Manifest index 0a645b2c64b56..826d05c7f049c 100644 --- a/games-emulation/sameboy-jg/Manifest +++ b/games-emulation/sameboy-jg/Manifest @@ -1 +1,2 @@ +DIST sameboy-1.0.3.1.tar.bz2 7676299 BLAKE2B bacd8fb5d2986edd97c927a241c4dda40477cb9869799f5893cd3f862dcf3c0336d706adafc54ce9a295b1823277a6cee93ccd9e1987acc9d496d7a22bad1b5b SHA512 e58066ed237e1a08d10f6c161bfa4cfaf789e9ed49f4ade0d484ca9959bd1fecdf611daa1a57a3f15b35f5e6b870acc4db2827b907905966a98076db783f6873 DIST sameboy-1.0.3.tar.bz2 7674019 BLAKE2B ae33a24fe7b8c11764caa7285770de69d357a07fd02c90ecb1997ee842f0234396857d5d813a813f7c59c6c8697dac2711bfff705d9f44c2cc6a01af584e6a0b SHA512 359fe3a7d74b87a6b8df1c9e8b757fb9a02d7938de6eead1359355fd342990c80da5400bb460178921d9e8607a9f0e4f42739892ffa3ad729a32e0ce011709b0 diff --git a/games-emulation/sameboy-jg/sameboy-jg-1.0.3.1.ebuild b/games-emulation/sameboy-jg/sameboy-jg-1.0.3.1.ebuild new file mode 100644 index 0000000000000..dd8e3922e1d87 --- /dev/null +++ b/games-emulation/sameboy-jg/sameboy-jg-1.0.3.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022-2026 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 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="MIT" +SLOT="1" + +DEPEND=" + >=media-libs/jg-2.0.0 +" +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)" +} From 43191159586bcf73d9a4d038c23b0a1003554e47 Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 5 Jul 2026 13:15:35 -0700 Subject: [PATCH 16/30] games-emulation/vecx-jg: add 1.2.4 Signed-off-by: orbea Signed-off-by: Michael Orlitzky --- games-emulation/vecx-jg/Manifest | 1 + games-emulation/vecx-jg/vecx-jg-1.2.4.ebuild | 46 ++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 games-emulation/vecx-jg/vecx-jg-1.2.4.ebuild diff --git a/games-emulation/vecx-jg/Manifest b/games-emulation/vecx-jg/Manifest index 19e5a35fb3b0f..7f1916b758cb6 100644 --- a/games-emulation/vecx-jg/Manifest +++ b/games-emulation/vecx-jg/Manifest @@ -1 +1,2 @@ DIST vecx-1.2.3.tar.bz2 207777 BLAKE2B 0a5da4b19ebbde6b76072fcfcc838e1efca053424f3279ad00f60192c892a85636ee3d5dbc05d71a403d0014ec924fec841ca77dffae5a29c89635a13492df72 SHA512 c064755f423bec8499def91eae257521f590ae22a19d125e26c4111cf970ed3ac884b60a04917c8e8ce290a71955675759b220a5b0e493ca6631b1436a32d223 +DIST vecx-1.2.4.tar.bz2 208889 BLAKE2B 0904925325fb8a2272981a124b46da209b6faaeb41ac52d0bd84e24242655de6fb39e7d927d6284f01dbdce3a42ac825bc3029c7069747ced81178096e67a4b6 SHA512 b0995e18de54f07ede2b597ef23c01e4da5dcffde33da3361f1c881ac425b0a68204703995f98c95f3200e30fc601c20eeefb22591d4007f0e1e14b8642fc18f diff --git a/games-emulation/vecx-jg/vecx-jg-1.2.4.ebuild b/games-emulation/vecx-jg/vecx-jg-1.2.4.ebuild new file mode 100644 index 0000000000000..206d8d3730790 --- /dev/null +++ b/games-emulation/vecx-jg/vecx-jg-1.2.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2026 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 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="MIT" +SLOT="1" + +DEPEND=" + >=media-libs/jg-2.0.0 + 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)" +} From 03a2693ebc66879ce9ba24fce28ec52d748fa45d Mon Sep 17 00:00:00 2001 From: orbea Date: Mon, 6 Jul 2026 21:26:56 -0700 Subject: [PATCH 17/30] games-emulation/jgrf: require Signed-off-by: Michael Orlitzky --- .../jgrf/{jgrf-1.4.0-r1.ebuild => jgrf-1.4.0-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename games-emulation/jgrf/{jgrf-1.4.0-r1.ebuild => jgrf-1.4.0-r2.ebuild} (97%) diff --git a/games-emulation/jgrf/jgrf-1.4.0-r1.ebuild b/games-emulation/jgrf/jgrf-1.4.0-r2.ebuild similarity index 97% rename from games-emulation/jgrf/jgrf-1.4.0-r1.ebuild rename to games-emulation/jgrf/jgrf-1.4.0-r2.ebuild index e6173015c69d6..da638820d3174 100644 --- a/games-emulation/jgrf/jgrf-1.4.0-r1.ebuild +++ b/games-emulation/jgrf/jgrf-1.4.0-r2.ebuild @@ -21,7 +21,7 @@ SLOT="1" DEPEND=" dev-libs/miniz dev-libs/openssl:0= - media-libs/jg:1= + Date: Mon, 6 Jul 2026 21:28:13 -0700 Subject: [PATCH 18/30] games-emulation/bsnes-jg: require Signed-off-by: Michael Orlitzky --- .../{bsnes-jg-2.1.0.ebuild => bsnes-jg-2.1.0-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename games-emulation/bsnes-jg/{bsnes-jg-2.1.0.ebuild => bsnes-jg-2.1.0-r1.ebuild} (97%) diff --git a/games-emulation/bsnes-jg/bsnes-jg-2.1.0.ebuild b/games-emulation/bsnes-jg/bsnes-jg-2.1.0-r1.ebuild similarity index 97% rename from games-emulation/bsnes-jg/bsnes-jg-2.1.0.ebuild rename to games-emulation/bsnes-jg/bsnes-jg-2.1.0-r1.ebuild index c614eebb313e6..4390eedf3b61b 100644 --- a/games-emulation/bsnes-jg/bsnes-jg-2.1.0.ebuild +++ b/games-emulation/bsnes-jg/bsnes-jg-2.1.0-r1.ebuild @@ -35,7 +35,7 @@ REQUIRED_USE=" DEPEND=" media-libs/libsamplerate examples? ( media-libs/libsdl2[sound,video] ) - jgmodule? ( media-libs/jg:1= ) + jgmodule? ( Date: Mon, 6 Jul 2026 21:32:51 -0700 Subject: [PATCH 21/30] games-emulation/geolith-jg: require Signed-off-by: Michael Orlitzky --- .../{geolith-jg-0.3.0.ebuild => geolith-jg-0.3.0-r1.ebuild} | 4 ++-- ...{geolith-jg-0.4.1-r1.ebuild => geolith-jg-0.4.1-r2.ebuild} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename games-emulation/geolith-jg/{geolith-jg-0.3.0.ebuild => geolith-jg-0.3.0-r1.ebuild} (94%) rename games-emulation/geolith-jg/{geolith-jg-0.4.1-r1.ebuild => geolith-jg-0.4.1-r2.ebuild} (98%) diff --git a/games-emulation/geolith-jg/geolith-jg-0.3.0.ebuild b/games-emulation/geolith-jg/geolith-jg-0.3.0-r1.ebuild similarity index 94% rename from games-emulation/geolith-jg/geolith-jg-0.3.0.ebuild rename to games-emulation/geolith-jg/geolith-jg-0.3.0-r1.ebuild index c3947a2161f08..95a7afcab7809 100644 --- a/games-emulation/geolith-jg/geolith-jg-0.3.0.ebuild +++ b/games-emulation/geolith-jg/geolith-jg-0.3.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2025 Gentoo Authors +# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,7 @@ SLOT="1" DEPEND=" dev-libs/miniz:= - media-libs/jg:1= + Date: Mon, 6 Jul 2026 21:34:01 -0700 Subject: [PATCH 22/30] games-emulation/jollycv-jg: require Signed-off-by: Michael Orlitzky --- .../{jollycv-jg-2.0.0.ebuild => jollycv-jg-2.0.0-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename games-emulation/jollycv-jg/{jollycv-jg-2.0.0.ebuild => jollycv-jg-2.0.0-r1.ebuild} (95%) diff --git a/games-emulation/jollycv-jg/jollycv-jg-2.0.0.ebuild b/games-emulation/jollycv-jg/jollycv-jg-2.0.0-r1.ebuild similarity index 95% rename from games-emulation/jollycv-jg/jollycv-jg-2.0.0.ebuild rename to games-emulation/jollycv-jg/jollycv-jg-2.0.0-r1.ebuild index b9097c6669800..37534169a5a46 100644 --- a/games-emulation/jollycv-jg/jollycv-jg-2.0.0.ebuild +++ b/games-emulation/jollycv-jg/jollycv-jg-2.0.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2025 Gentoo Authors +# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -35,7 +35,7 @@ REQUIRED_USE=" DEPEND=" media-libs/speexdsp examples? ( media-libs/libsdl2[sound,video] ) - jgmodule? ( media-libs/jg:1= ) + jgmodule? ( =dev-libs/trio-1.17 media-libs/flac - media-libs/jg:1= + Date: Mon, 6 Jul 2026 21:36:10 -0700 Subject: [PATCH 24/30] games-emulation/melonds-jg: require Signed-off-by: Michael Orlitzky --- .../{melonds-jg-1.1.0.ebuild => melonds-jg-1.1.0-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename games-emulation/melonds-jg/{melonds-jg-1.1.0.ebuild => melonds-jg-1.1.0-r1.ebuild} (98%) diff --git a/games-emulation/melonds-jg/melonds-jg-1.1.0.ebuild b/games-emulation/melonds-jg/melonds-jg-1.1.0-r1.ebuild similarity index 98% rename from games-emulation/melonds-jg/melonds-jg-1.1.0.ebuild rename to games-emulation/melonds-jg/melonds-jg-1.1.0-r1.ebuild index 2d1f982282b2f..7740e5ca9a170 100644 --- a/games-emulation/melonds-jg/melonds-jg-1.1.0.ebuild +++ b/games-emulation/melonds-jg/melonds-jg-1.1.0-r1.ebuild @@ -22,7 +22,7 @@ LICENSE="BSD-2 FatFs GPL-3+ LGPL-2.1+ MIT Unlicense public-domain" SLOT="1" DEPEND=" - media-libs/jg:1= +