summaryrefslogtreecommitdiff
path: root/games-emulation
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-16 12:27:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-16 12:27:58 +0100
commitb6fa31c964a602f8461a77d5b83355e8750c12eb (patch)
tree323fa7af31640b3ea8bb57fa7a927713f3d64769 /games-emulation
parent868fd5dc8aab84930cfaa5252b8be06b35552765 (diff)
gentoo auto-resync : 16:07:2024 - 12:27:58
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/Manifest.gzbin11903 -> 11898 bytes
-rw-r--r--games-emulation/mupen64plus-audio-sdl/Manifest2
-rw-r--r--games-emulation/mupen64plus-audio-sdl/mupen64plus-audio-sdl-2.6.0.ebuild94
-rw-r--r--games-emulation/mupen64plus-core/Manifest4
-rw-r--r--games-emulation/mupen64plus-core/metadata.xml1
-rw-r--r--games-emulation/mupen64plus-core/mupen64plus-core-2.6.0.ebuild117
-rw-r--r--games-emulation/mupen64plus-input-sdl/Manifest2
-rw-r--r--games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.6.0.ebuild82
-rw-r--r--games-emulation/mupen64plus-rsp-hle/Manifest2
-rw-r--r--games-emulation/mupen64plus-rsp-hle/mupen64plus-rsp-hle-2.6.0.ebuild75
-rw-r--r--games-emulation/mupen64plus-ui-console/Manifest2
-rw-r--r--games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.6.0.ebuild95
-rw-r--r--games-emulation/mupen64plus-video-glide64mk2/Manifest2
-rw-r--r--games-emulation/mupen64plus-video-glide64mk2/mupen64plus-video-glide64mk2-2.6.0.ebuild95
-rw-r--r--games-emulation/mupen64plus-video-rice/Manifest2
-rw-r--r--games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.6.0.ebuild87
-rw-r--r--games-emulation/mupen64plus/Manifest1
-rw-r--r--games-emulation/mupen64plus/mupen64plus-2.6.0.ebuild23
18 files changed, 685 insertions, 1 deletions
diff --git a/games-emulation/Manifest.gz b/games-emulation/Manifest.gz
index 9ef92fa80f67..2153c49cfee6 100644
--- a/games-emulation/Manifest.gz
+++ b/games-emulation/Manifest.gz
Binary files differ
diff --git a/games-emulation/mupen64plus-audio-sdl/Manifest b/games-emulation/mupen64plus-audio-sdl/Manifest
index 1165cd092f49..f789e6d80c31 100644
--- a/games-emulation/mupen64plus-audio-sdl/Manifest
+++ b/games-emulation/mupen64plus-audio-sdl/Manifest
@@ -1,3 +1,5 @@
DIST mupen64plus-audio-sdl-src-2.5.9.tar.gz 28884 BLAKE2B a32aeff100e86f610e3b514718c6a4a786c6f88911f8782dcbc9b8a2d238c31984e5d119e31533363d8f848bf840ff7350ba41dea70e716d50cce14f2398c836 SHA512 624f7061b4909a5de071fbb8cf6432fd4b6ad390ea3f7dc7ae7a874dc922afee55352e53d48fba43d45a3282e9382e6b5774814c2a7d9724e134a01188596ea9
+DIST mupen64plus-audio-sdl-src-2.6.0.tar.gz 32210 BLAKE2B 285c8b5f04d989bbee69c043458451cf24b6989537dfa0aa755bbfdb399984e8a0a059dc30991926ca383730a75a17401f089de7d18579f6881908d969c3f71d SHA512 5a38150a296b9b493552386ff07c5c0ea6794e7d8e5331b8158d9190d9e95dc3d07f962e6ac57080aa07e00197637a5aa6019d35d0d06dcb141cdfe11500c3a0
EBUILD mupen64plus-audio-sdl-2.5.9.ebuild 1965 BLAKE2B 1ee2d8895b3e271a80897cd495742f01c519c1c3b0d88080b0cfeeb24bb95f51f8ef98517ffdd90a776d6e601dec1b3c23502f80bb8f98cada1173ee13c79e01 SHA512 83fe492a2c15c939c570cbfb12487278fe6bda86e02dc5016ab18f246cdb4a338ef96e4b992de01c4408ee5ba1f70d4a1135ea27fa8d8f14c66bfe6a967e6289
+EBUILD mupen64plus-audio-sdl-2.6.0.ebuild 1975 BLAKE2B 25f1984b9e162cf56506e0342d0ed33b06f7a50f006248ef10c05d78f873e31e75fda95de97b60b19a704a16956937ff1787088798d321a2d103d38b262f866b SHA512 2fb62a87534030ae549093592902af225037160525bdc880a3554a48325de45a46807bcbae1307df03a799e17b22d6026ca86ee0a5bc699b3fe0d43d3288bd57
MISC metadata.xml 346 BLAKE2B 109db98b7bb13606c60d4775651773fc4b006b18b02323a513f4bb2938ee537dfe9b84bc80b20978c733f89cd233d30392351130a983fa40edc66f13552c77b8 SHA512 195f0f7422eac298ded94e5157e1dfe3884de61dd5127ed0fe87b63a4c09739c5b13a7a1437a57f5508ddfa86164bb1b217e5847e6f81645cc6ba3e13de7ca1b
diff --git a/games-emulation/mupen64plus-audio-sdl/mupen64plus-audio-sdl-2.6.0.ebuild b/games-emulation/mupen64plus-audio-sdl/mupen64plus-audio-sdl-2.6.0.ebuild
new file mode 100644
index 000000000000..c93672a67003
--- /dev/null
+++ b/games-emulation/mupen64plus-audio-sdl/mupen64plus-audio-sdl-2.6.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_P=${PN}-src-${PV}
+DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, SDL audio plugin"
+HOMEPAGE="https://www.mupen64plus.org/"
+SRC_URI="
+ https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libsamplerate oss speex"
+
+DEPEND="
+ >=games-emulation/mupen64plus-core-${PV}:=
+ media-libs/libsdl2:0=[sound]
+ libsamplerate? ( media-libs/libsamplerate:= )
+ speex? (
+ media-libs/speex:=
+ media-libs/speexdsp:=
+ )
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ # avoid implicitly appending CPU flags
+ sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
+}
+
+src_compile() {
+ MAKEARGS=(
+ # Note: please keep this in sync in all of mupen64plus-* packages
+
+ -C projects/unix
+
+ # this basically means: GNU userspace
+ UNAME=Linux
+
+ # verbose output
+ V=1
+
+ CROSS_COMPILE="${CHOST}-"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ PKG_CONFIG="$(tc-getPKG_CONFIG)"
+ # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
+ # so we can leave OPTFLAGS empty
+ OPTFLAGS=
+
+ # paths, some of them are used at compile time
+ PREFIX=/usr
+ LIBDIR=/usr/$(get_libdir)
+
+ # disable unwanted magic
+ LDCONFIG=:
+ INSTALL_STRIP_FLAG=
+
+ # Package-specific stuff
+
+ # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
+ SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
+ SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
+
+ NO_SPEEX=$(usex speex 0 1)
+ NO_SRC=$(usex libsamplerate 0 1)
+ NO_OSS=$(usex oss 0 1)
+ # not packaged (https://github.com/nemomobile/libaudioresource)
+ USE_AUDIORESOURCE=0
+ )
+
+ use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
+ use x86 && MAKEARGS+=( HOST_CPU=i386 )
+
+ emake "${MAKEARGS[@]}" all
+}
+
+src_install() {
+ emake "${MAKEARGS[@]}" DESTDIR="${D}" install
+ dodoc RELEASE
+}
diff --git a/games-emulation/mupen64plus-core/Manifest b/games-emulation/mupen64plus-core/Manifest
index b879513154ec..b2cbfc5bd733 100644
--- a/games-emulation/mupen64plus-core/Manifest
+++ b/games-emulation/mupen64plus-core/Manifest
@@ -2,5 +2,7 @@ AUX mupen64plus-core-2.5.9-debugger-fix-binutils-2.39-compat.patch 2335 BLAKE2B
AUX mupen64plus-core-2.5.9-fix-gcc10-fno-common.patch 520 BLAKE2B 1a72237a46105840d90e25a551e5ffab3f35f8df9f975da6f65c135847aac71fbf2e7fb9899c05720cb29b31ea85a15d86167c95993b93d763fea585ae0a4bff SHA512 95860397c764a6a21faaab45e13f68aa6b5da15ff1b96a430a263aaac918495b27a923c639166a9f124c0e3f3d2af6a3947aed34c3a590abc2e3033ef8460bd9
AUX mupen64plus-core-2.5.9-pitch.patch 1257 BLAKE2B bc0852417539f391fa73aff7b63dfee7bfb8f99a7b7e06b90163f39093878f361701354ff5901e8366f8f99236d6a50dde2ddaaf9aec7e48cbc27dc414f8e0af SHA512 e84bce7d9b017eda8818444c99037f6c6ee069329d944658f6f500564e45bf080818f8dd05975f20a0ef835d7934c7ea8c92f4183668fba7120d0343f2cc5678
DIST mupen64plus-core-src-2.5.9.tar.gz 1618486 BLAKE2B 6d43789873c6866dc7d268e4a2cc1febc4a8ce6615a51e4dabfc3d3715aaaa6bf8d7c157ddccd45ae3b57852388c591b86d1cf401c7d78962ec6780272ef912d SHA512 8087211eb3301e356e1529c1702c965aca5e9191a5a3efe604f2e2f7470da44c8c3be506ba1f0aa96b209baa8faf011ca153566540e96c278fe63a330b791f20
+DIST mupen64plus-core-src-2.6.0.tar.gz 1754271 BLAKE2B 69f63a965bf3172c661979022ca8b1c3dddd4d35ca4453233c883e85db9e988c56509fed44221a6ab6f513ac6d8400bd055227e37225a2636f6f3e919075feea SHA512 2e43e4c337199afbc5ba4ae9b0490a133fd09ef1252390858ff9594f512b75a8a6a5b0331dc3eee794f9445484e6046b19a0bf6df17f21243c80960340f80f34
EBUILD mupen64plus-core-2.5.9-r4.ebuild 2831 BLAKE2B 4462626b1e012f9ac7bbaf43fc131ac206ac6a20a430fe8cceaac3b5b63610ff6f737486d726b218b7e48f206c8da59e17a68d09a7a14467ddf21e22c127bd14 SHA512 3eca1827a711b5192cad3ee282fa60b70bb84702b70b6fb1c380c328a747846e42783dcbeac6ef336faea90bf372f39c954b752aabf386fbd96a49df1c263a25
-MISC metadata.xml 987 BLAKE2B d2c505ca12b65934e5debaa4f52876cc4a3903cf3ce084dacaf9be307a41c3ab1f6a1fb165377fe37b31065e6a901fd8432f92814eba4c4bdd43ad30da3a7467 SHA512 e0aa4b6c8f2b60c7c8aac793995b17de3892df48e3b4a8bd3ff8a938fc64a3bc7e4dcd4a659dce94dba1debc2beb71971187fed03ff0c723c4ba7b0a57d34db4
+EBUILD mupen64plus-core-2.6.0.ebuild 2710 BLAKE2B 9f8fab65b35dd6c1584f5f830cd46d869d79b77ae00833c680c3341c4c21ce2d3e94404998d2ab1aa1c91d3c5197f5498cf621feee021d0659dde3ae9e2ce1be SHA512 f132c236c182a4483a3250f08b8cb3b90fcc66e3811437dde03b070d7339a27599375969f5cb675180fc8780f8f0a451620ef0d1f746de795870e325da159509
+MISC metadata.xml 1046 BLAKE2B 1a645fcca1f3795a5cd7c3bf37975cb34c5984f86edb196acad02430b11149adfb4aab445c0ab216539c49821e30a34a8f7a14e492d7d1d09c889f5f4fc3caed SHA512 a6c0427e0fad78e2cef3aa1d104733550d4b917c58b9cec9bac803033ea776955f986adc55114cc01652132f71e1ac0c59141dded8156711d07cd9d6075844b5
diff --git a/games-emulation/mupen64plus-core/metadata.xml b/games-emulation/mupen64plus-core/metadata.xml
index 92b6f728925d..28aedc766663 100644
--- a/games-emulation/mupen64plus-core/metadata.xml
+++ b/games-emulation/mupen64plus-core/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="debugger">Build the debugger</flag>
+ <flag name="netplay">Enable netplay functionality</flag>
<flag name="new-dynarec">Enable new experimental dynamic recompiler implementation (only for x86 and arm)</flag>
<flag name="opencv">Support video capture via <pkg>media-libs/opencv</pkg></flag>
<flag name="osd">Overlay emulator messages using on-screen-display</flag>
diff --git a/games-emulation/mupen64plus-core/mupen64plus-core-2.6.0.ebuild b/games-emulation/mupen64plus-core/mupen64plus-core-2.6.0.ebuild
new file mode 100644
index 000000000000..b5f1e2e7a02f
--- /dev/null
+++ b/games-emulation/mupen64plus-core/mupen64plus-core-2.6.0.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_P=${PN}-src-${PV}
+DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, core library"
+HOMEPAGE="https://www.mupen64plus.org/"
+SRC_URI="
+ https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2+"
+SLOT="0/2-sdl2"
+KEYWORDS="~amd64 ~x86"
+IUSE="
+ debugger gles2-only lirc netplay new-dynarec opencv +osd +vulkan
+ cpu_flags_x86_sse
+"
+REQUIRED_USE="gles2-only? ( !osd )"
+
+DEPEND="
+ media-libs/libpng:=
+ media-libs/libsdl2[joystick,opengl,video]
+ sys-libs/zlib[minizip]
+ gles2-only? ( media-libs/libsdl2[gles2] )
+ lirc? ( app-misc/lirc )
+ netplay? ( media-libs/sdl2-net )
+ opencv? ( media-libs/opencv:= )
+ osd? (
+ media-fonts/dejavu
+ media-libs/freetype:2
+ virtual/opengl
+ virtual/glu
+ )
+ vulkan? ( media-libs/vulkan-loader )
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ cpu_flags_x86_sse? ( dev-lang/nasm )
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ # avoid implicitly appending CPU flags
+ sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
+ # fix building against opencv-4
+ sed -i -e '/PKG_CONFIG/s:opencv:&4:' projects/unix/Makefile || die
+}
+
+src_compile() {
+ MAKEARGS=(
+ # Note: please keep this in sync in all of mupen64plus-* packages
+
+ -C projects/unix
+
+ # this basically means: GNU userspace
+ UNAME=Linux
+
+ # verbose output
+ V=1
+
+ CROSS_COMPILE="${CHOST}-"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ PKG_CONFIG="$(tc-getPKG_CONFIG)"
+ # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
+ # so we can leave OPTFLAGS empty
+ OPTFLAGS=
+
+ # paths, some of them are used at compile time
+ PREFIX=/usr
+ LIBDIR=/usr/$(get_libdir)
+
+ # disable unwanted magic
+ LDCONFIG=:
+ INSTALL_STRIP_FLAG=
+
+ # Package-specific stuff
+
+ # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
+ SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
+ SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
+
+ OSD=$(usex osd 1 0)
+ NO_ASM=$(usex cpu_flags_x86_sse 0 1)
+ LIRC=$(usex lirc 1 0)
+ OPENCV=$(usex opencv 1 0)
+ DEBUGGER=$(usex debugger 1 0)
+ NEW_DYNAREC=$(usex new-dynarec 1 0)
+ USE_GLES=$(usex gles2-only 1 0)
+ )
+
+ use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
+ use x86 && MAKEARGS+=( HOST_CPU=i386 )
+
+ emake "${MAKEARGS[@]}" all
+}
+
+src_install() {
+ emake "${MAKEARGS[@]}" DESTDIR="${D}" install
+ dodoc -r CREDITS README RELEASE doc/{emuwiki-api-doc,new_dynarec.mediawiki}
+
+ # replace bundled font with a symlink
+ # TODO: fix the code to not rely on it
+ rm "${ED}/usr/share/mupen64plus/font.ttf" || die
+ if use osd; then
+ dosym ../fonts/dejavu/DejaVuSans.ttf /usr/share/mupen64plus/font.ttf
+ fi
+}
diff --git a/games-emulation/mupen64plus-input-sdl/Manifest b/games-emulation/mupen64plus-input-sdl/Manifest
index efe62de93b9d..61ca255feb19 100644
--- a/games-emulation/mupen64plus-input-sdl/Manifest
+++ b/games-emulation/mupen64plus-input-sdl/Manifest
@@ -1,3 +1,5 @@
DIST mupen64plus-input-sdl-src-2.5.9.tar.gz 56403 BLAKE2B 56d6c390783aa4a7f25f72a5295eb11f1ca2a69f2ffe4f0232d4a0c329e9c0eba0a2cbf46e66adfdf0462d2ec5337f7c6c4587ae29de346cd4cfe1d240f4d5fd SHA512 b613396ee05e82aaaf15e955f83b5cb4e854df1fdb34d5e1c96cf0fddf0af79aa5af2ceb19cc9cfeaef707c2ecafd25e0814e3d7715a20b740482d0ece273f2f
+DIST mupen64plus-input-sdl-src-2.6.0.tar.gz 61800 BLAKE2B c09ebf5534172e92e7aa8833a9c2cc708406754fa3a133ac55f2c0b1029d6d3a0c801a8f771d00439cc3832c21b4b3053479526b74e86c2769131ef9d36154de SHA512 ad818ad3da3f30fbf30d08bc2a15319b58d65e91d8460b8d13825947a1f688b0d51daaf797992fa9c3683ff8ba9b4314ddccbb577b9d77656107ab7d8716a479
EBUILD mupen64plus-input-sdl-2.5.9.ebuild 1681 BLAKE2B ca42426ec827c7241cbadd9f01df7b3941a81c8043bf69d253c1824bacc62af1105a883204ea0d399965568b2c45fcd7848ee41108fb1e971c06019f232e6377 SHA512 96a56d9d9c8fa848937d306ef8b1dd84ac46771f9e211237e0f98e25b4f74216adc6ea0ee64970eec02dd520005e7abf86345f84cf5a07afd74411ca71f160da
+EBUILD mupen64plus-input-sdl-2.6.0.ebuild 1683 BLAKE2B 729e5e46f0b5707c2e03741515bf333097ac6f964ce22e8f737989d2bd98bdd0e0f67054e594c0b4ca6ac725e27ba174c79702888f16f0b1f58d9ac09da157ee SHA512 0db475372836531240343515319273b517ad4914ee25d443a774995607729ba93fe4fc2fa23573984b4e2e0039b777246322cabccf567bc45836c548aba1a73c
MISC metadata.xml 346 BLAKE2B 34910e5bf2803ebcf178d0999fe90e86b403b0edc5808832d847cf96e26c267586f6fdac3745003b82c72ecca32bcc2d04936dc49e1daf55d732ebe22c9913b3 SHA512 5a7e332d72ed3e08dc5f61ce0f990722a91cfa496a5cc6e5cff952835146e5f444a9c68885d5fb4fe3dc92fe228073f6eb76e5ebf84da484f0e8db7d2d74f177
diff --git a/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.6.0.ebuild b/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.6.0.ebuild
new file mode 100644
index 000000000000..d82694503535
--- /dev/null
+++ b/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.6.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_P=${PN}-src-${PV}
+DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, SDL input plugin"
+HOMEPAGE="https://www.mupen64plus.org/"
+SRC_URI="
+ https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ >=games-emulation/mupen64plus-core-${PV}:0=
+ media-libs/libsdl2:0=[joystick]
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ # avoid implicitly appending CPU flags
+ sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
+}
+
+src_compile() {
+ MAKEARGS=(
+ # Note: please keep this in sync in all of mupen64plus-* packages
+
+ -C projects/unix
+
+ # this basically means: GNU userspace
+ UNAME=Linux
+
+ # verbose output
+ V=1
+
+ CROSS_COMPILE="${CHOST}-"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ PKG_CONFIG="$(tc-getPKG_CONFIG)"
+ # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
+ # so we can leave OPTFLAGS empty
+ OPTFLAGS=
+
+ # paths, some of them are used at compile time
+ PREFIX=/usr
+ LIBDIR=/usr/$(get_libdir)
+
+ # disable unwanted magic
+ LDCONFIG=:
+ INSTALL_STRIP_FLAG=
+
+ # Package-specific stuff
+
+ # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
+ SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
+ SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
+ )
+
+ use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
+ use x86 && MAKEARGS+=( HOST_CPU=i386 )
+
+ emake "${MAKEARGS[@]}" all
+}
+
+src_install() {
+ emake "${MAKEARGS[@]}" DESTDIR="${D}" install
+ dodoc AUTHORS README.md RELEASE
+}
diff --git a/games-emulation/mupen64plus-rsp-hle/Manifest b/games-emulation/mupen64plus-rsp-hle/Manifest
index 2ec67b89f501..2562e35c952c 100644
--- a/games-emulation/mupen64plus-rsp-hle/Manifest
+++ b/games-emulation/mupen64plus-rsp-hle/Manifest
@@ -1,3 +1,5 @@
DIST mupen64plus-rsp-hle-src-2.5.9.tar.gz 53889 BLAKE2B e66996ffbce1d4b2b40f1520f0806692652dbf7baa55a73f632f2dafe75f93093e0575bb1c7e63cc1cd8770c1cc0e6d59db9021fcb0fa2e34d707511dd3a40b0 SHA512 562f3a9d9eff01f11c13aca657fb6471f365fbfbe079ea5e1e6f0ad49b27ba04779bc86233bcacd20c95c79f7fa265f053b3fa4c2b12828c6a8992762c4b6963
+DIST mupen64plus-rsp-hle-src-2.6.0.tar.gz 60324 BLAKE2B 134a597b8f69b6a9adc3048f4f4ca6fc2be779b5bc3fc3a09006e3f28ca1d14a7c58429cdad6ed37493f1ff1b2b2afaa8bf4839cfd514812a4088fe78472ff59 SHA512 d238f3fb8f8e1835828c01d8305167444969e5d58ccad94908aadcdb75039dddbaef9a2bbaaf83396f747e4d60c368bc8e03128f68ce8790127bf5fc0c19c07f
EBUILD mupen64plus-rsp-hle-2.5.9.ebuild 1433 BLAKE2B 5f1bc73654b3c3773b36bea57370ffdbb59f2ee91d700c5655cbef91539ad95836b9cbabbad30f9cfb4122f7e51ef85e00b617bfe4505c5141ce1ad33153144c SHA512 a9b27ad83a144829272dc55d31e5ce9027a922212cfee2165f1c92a42e37a6c0aa51c200ffbbaab88bb175b8d99ce4cddeaadecb178de52bcacaeec46a26d177
+EBUILD mupen64plus-rsp-hle-2.6.0.ebuild 1435 BLAKE2B 3ddc03fe065752644a1620d18bb66d1e5df67fbbbc91652d56e6c860ada926d7b0fd852e75dabff71b0b90c7435717d5c22b783d5f5eea1d5619a4af9ea53baf SHA512 c6917d47a7e2ce06e5a47860688ffa09c0fa4d754dd2e3b4e5add82c2e28427e8d90d50fc2e18f2d2caa65c552743173dcbb31f56cd90fc73c990575d9e10fb5
MISC metadata.xml 344 BLAKE2B c5f2f10dff6f3f65e1c95a6f1795fd541ccc18dc804da234f10cb0f27e34324c9f50098bf80a139e17b32517979d91fa197cf1f1234dfa61a582f58f7ab43e02 SHA512 4cbe655a78684e0eeb63effaf2b2b650782431f03d601ccb86f941e3330cf663ef74b4f2f9f021f230900c07e196cefde5ef8dfd025ca2c36d25695bf3242216
diff --git a/games-emulation/mupen64plus-rsp-hle/mupen64plus-rsp-hle-2.6.0.ebuild b/games-emulation/mupen64plus-rsp-hle/mupen64plus-rsp-hle-2.6.0.ebuild
new file mode 100644
index 000000000000..617af625e124
--- /dev/null
+++ b/games-emulation/mupen64plus-rsp-hle/mupen64plus-rsp-hle-2.6.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_P=${PN}-src-${PV}
+DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, HLE RSP plugin"
+HOMEPAGE="https://www.mupen64plus.org/"
+SRC_URI="
+ https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ >=games-emulation/mupen64plus-core-${PV}:0=
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ # avoid implicitly appending CPU flags
+ sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
+}
+
+src_compile() {
+ MAKEARGS=(
+ # Note: please keep this in sync in all of mupen64plus-* packages
+
+ -C projects/unix
+
+ # this basically means: GNU userspace
+ UNAME=Linux
+
+ # verbose output
+ V=1
+
+ CROSS_COMPILE="${CHOST}-"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ PKG_CONFIG="$(tc-getPKG_CONFIG)"
+ # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
+ # so we can leave OPTFLAGS empty
+ OPTFLAGS=
+
+ # paths, some of them are used at compile time
+ PREFIX=/usr
+ LIBDIR=/usr/$(get_libdir)
+
+ # disable unwanted magic
+ LDCONFIG=:
+ INSTALL_STRIP_FLAG=
+ )
+
+ use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
+ use x86 && MAKEARGS+=( HOST_CPU=i386 )
+
+ emake "${MAKEARGS[@]}" all
+}
+
+src_install() {
+ emake "${MAKEARGS[@]}" DESTDIR="${D}" install
+ dodoc RELEASE
+}
diff --git a/games-emulation/mupen64plus-ui-console/Manifest b/games-emulation/mupen64plus-ui-console/Manifest
index 88869cebddca..252d9fa8161d 100644
--- a/games-emulation/mupen64plus-ui-console/Manifest
+++ b/games-emulation/mupen64plus-ui-console/Manifest
@@ -1,4 +1,6 @@
AUX mupen64plus-ui-console-2.5.9-fix-makefile.patch 986 BLAKE2B d8aa49eab82131df2a05ad5f446c9ba78c5e3102fcb9ef85a7cfd357331e59018afe65628d8f56b501016823496352871b955a2b96350d023c6a5471434de72f SHA512 6361c8edf1ec2dce5d28eefb7890deb7ebf42fc214b16349b83104215c6374cb5d8513998942539ac8c15f35833f51fc8004b815be267aedefe14fb204c32251
DIST mupen64plus-ui-console-src-2.5.9.tar.gz 58934 BLAKE2B 83fb9502ba910af75eff62a45ac490a7281db27cf7df4c666382eb922249e1483cbfcc204e79e3763d047c876558531021360078e81abb7995c855b274e182b9 SHA512 60be63e94c8a2e44a8f4f215f667bc980f62bee3ba629af53d281328f45e016dbadfc6b7596ac657fd434b9df283d43b54a058cba2cdce3fef4b865adbedd8ca
+DIST mupen64plus-ui-console-src-2.6.0.tar.gz 63122 BLAKE2B 108ab9c4f50824e8ca120f5f087413127a21b371768be817f50f2a8dba68997021b3e1394c37f122dc489beba913f81abdd7beb0887f7699bd7fb2bbda34e246 SHA512 62b895063b8d0c1839aca6690e395e05fa130a92d69d4e19c3bb0a71d9e7a0dacbb6208f0664e68bf2e35cd78896c0bb90a124df432db84381b030501db7122d
EBUILD mupen64plus-ui-console-2.5.9.ebuild 1808 BLAKE2B 9de2dce261953a73010dce6b6466fabfc3124902be32dd7ad9af543f0834953c23c575b3785faf032423835c8ab6159662634e83ae5d5473a903ea18e040f54b SHA512 ae334c670112e14541851f0235b5cb6dc9d06d7de10490e3b6e58db7a4015ec2c87c773ff5070d8c829d287ea92585a08160ddf044aca7995eac0a7ee9e29f79
+EBUILD mupen64plus-ui-console-2.6.0.ebuild 1907 BLAKE2B 4f85fc1e6972b5e01e61f90715d8c96f9a181d0a1240f46c3e9fb9a498895639d3ca770db9099fa0242a523972b66e5f7de9aa0923c05dab8f9b4ac499914390 SHA512 a097c71cd1314d95f4b4cabfe6d8274fa9b09b297cdc29d53c379e84c15ea0ef3cb1334abc573c0f62b9e5fbc55b7aab26edbd0cc3a38bf25821911c2c9c5dcc
MISC metadata.xml 347 BLAKE2B 5366bd85a7118855d49a3581c06e817ac18920b8884495255aab1712a5038b0d4e25f61ba9775275dace790d6fcf7f27242384a608d5fe24b80efd0f996dfbf8 SHA512 c70fbd26edb9cd6406144fac31ddc5ab4954df086f3ada0178f95e15d39ff54dcf774df934c3c435ffcb4946df9514f7b594900c3a04ca8378ef85b6af3d0d82
diff --git a/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.6.0.ebuild b/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.6.0.ebuild
new file mode 100644
index 000000000000..5d73623d12cb
--- /dev/null
+++ b/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.6.0.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs xdg-utils
+
+MY_P=${PN}-src-${PV}
+DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, console UI"
+HOMEPAGE="https://www.mupen64plus.org/"
+SRC_URI="
+ https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ >=games-emulation/mupen64plus-core-${PV}:0=
+ media-libs/libsdl2:0=
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ # avoid implicitly appending CPU flags and -fPIE/-fno-PIE
+ sed -e 's:-mmmx::g' -e 's:-msse::g' \
+ -e 's:-fPIE::g' -e 's:-pie::g' \
+ -e 's:-fno-PIE::g' -e 's:-no-pie::g' \
+ -i projects/unix/Makefile || die
+}
+
+src_compile() {
+ MAKEARGS=(
+ # Note: please keep this in sync in all of mupen64plus-* packages
+
+ -C projects/unix
+
+ # this basically means: GNU userspace
+ UNAME=Linux
+
+ # verbose output
+ V=1
+
+ CROSS_COMPILE="${CHOST}-"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ PKG_CONFIG="$(tc-getPKG_CONFIG)"
+ # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
+ # so we can leave OPTFLAGS empty
+ OPTFLAGS=
+
+ # paths, some of them are used at compile time
+ PREFIX=/usr
+ LIBDIR=/usr/$(get_libdir)
+
+ # disable unwanted magic
+ LDCONFIG=:
+ INSTALL_STRIP_FLAG=
+
+ # Package-specific stuff
+
+ # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
+ SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
+ SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
+ )
+
+ use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
+ use x86 && MAKEARGS+=( HOST_CPU=i386 )
+
+ emake "${MAKEARGS[@]}" all
+}
+
+src_install() {
+ emake "${MAKEARGS[@]}" DESTDIR="${D}" install
+ dodoc README RELEASE
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
diff --git a/games-emulation/mupen64plus-video-glide64mk2/Manifest b/games-emulation/mupen64plus-video-glide64mk2/Manifest
index 66327bcd4563..839f01f4d2e6 100644
--- a/games-emulation/mupen64plus-video-glide64mk2/Manifest
+++ b/games-emulation/mupen64plus-video-glide64mk2/Manifest
@@ -1,4 +1,6 @@
DIST mupen64plus-video-glide64mk2-2.5.9-boost-1.85.patch 11979 BLAKE2B 5c8b8c839547f5e141a2a2def5b0afc3c69aba84cc7cf65cb447ccc29f91e6e02aa7fb2d30f635f8f7e36e21e4b8cbeffac2301aceb021b09064631dd42b94bd SHA512 239120ce13343bb4d0fe8031db893b873fccebfe60926a41b2d5af94b376ba4ef79292c645d14eba50ef433e33d4fea538a46ded6ef3c2c2017c4efe83d55fa6
DIST mupen64plus-video-glide64mk2-src-2.5.9.tar.gz 498350 BLAKE2B 8378cfc9fe624b3441e290d44d600e30a85393aca5a5a5867fb778a665ea0718ae15ba67ce5b62930cd4feffb7b1ddce88be6434de9791c82a979aa8f022ecd1 SHA512 cc4cce1a1f036cdda0748cf9eb758f21ba08dbe83a2844cf92d3e781102aaa3556934ca01dbae248a2d93c65209932b858988030beaa29395d79df70bf479bd4
+DIST mupen64plus-video-glide64mk2-src-2.6.0.tar.gz 503590 BLAKE2B ec07c4f699aa09a2b104a8aca169c900dc02ab546353d7f0a69e5b6a5af12999c8fd97fe8f6e1d2376e31402352b209a2da905aa54a635a0c728a025270a9d51 SHA512 40bd28e417f55ceefe370db5bb08d84cd588a955def2522a760545fd7e626e5301115b0072e88e5ad2960ede831ae6cb41ece1a65f86e9ce081e6753e60e161e
EBUILD mupen64plus-video-glide64mk2-2.5.9-r2.ebuild 2358 BLAKE2B eb1a2f7614b92159b4d96bc415d8c46f12a82b38fb5fdf568fd237b41dd0f7dd4464e640f03c0f8654a8523ac9f3118abe66ee563a66b4d46c118a50bc1113c9 SHA512 837df8b2e715ac01bc42801448ab3ba77b47d38ec3e42a8e89f83acfdea92cea4f11b39e3b05e58caabec3fc96255f6a96afb7885f601304f66f77952e7cf8c4
+EBUILD mupen64plus-video-glide64mk2-2.6.0.ebuild 2061 BLAKE2B a5ae7c630e04da2577be39307674285500284db2c5ac7d52b89e35c045bcc2c6426b497b4416d65951476a7e29b8dd6272c7403cda71953349d07cbb130e86b3 SHA512 2ddb1b63957ce8a721bf227d4e5a2a3255cfbf89a4daabf5d7d4f16481acbdee68d1ebad6af736ac3b50496f92de2783dc7aafd62a261754b7da78efba1300f0
MISC metadata.xml 464 BLAKE2B a7d00e92b0189adda8e6099554f6ee905fd8908df934fa6c61d59d32db5a414aa2ab466bfcae36e805e06370c6644a25307ceb154b02c3308e92661abd76c631 SHA512 c9dba0b8a42f245269c2e0dc6ff6c5640e3cee9bba19ffd0f2b949625e668fd77963a91a11765e4dc7fb30ca0b819dcf07cfe3d802444e9b89dbd3d19cd975e8
diff --git a/games-emulation/mupen64plus-video-glide64mk2/mupen64plus-video-glide64mk2-2.6.0.ebuild b/games-emulation/mupen64plus-video-glide64mk2/mupen64plus-video-glide64mk2-2.6.0.ebuild
new file mode 100644
index 000000000000..fb1e335c07ec
--- /dev/null
+++ b/games-emulation/mupen64plus-video-glide64mk2/mupen64plus-video-glide64mk2-2.6.0.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_P=${PN}-src-${PV}
+DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, glide64mk2 video plugin"
+HOMEPAGE="https://www.mupen64plus.org/"
+SRC_URI="
+ https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+# TODO: 3dfx licenses
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gles2-only hires cpu_flags_x86_sse"
+
+DEPEND="
+ >=games-emulation/mupen64plus-core-2.5:0=[gles2-only=]
+ media-libs/libpng:0=
+ media-libs/libsdl2:0=[video]
+ sys-libs/zlib:0=
+ virtual/opengl:0=
+ gles2-only? ( media-libs/libsdl2:0[gles2] )
+ hires? ( dev-libs/boost:= )
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+
+ # avoid implicitly appending CPU flags
+ sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
+}
+
+src_compile() {
+ MAKEARGS=(
+ # Note: please keep this in sync in all of mupen64plus-* packages
+
+ -C projects/unix
+
+ # this basically means: GNU userspace
+ UNAME=Linux
+
+ # verbose output
+ V=1
+
+ CROSS_COMPILE="${CHOST}-"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ PKG_CONFIG="$(tc-getPKG_CONFIG)"
+ # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
+ # so we can leave OPTFLAGS empty
+ OPTFLAGS=
+
+ # paths, some of them are used at compile time
+ PREFIX=/usr
+ LIBDIR=/usr/$(get_libdir)
+
+ # disable unwanted magic
+ LDCONFIG=:
+ INSTALL_STRIP_FLAG=
+
+ # Package-specific stuff
+
+ # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
+ SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
+ SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
+
+ NOSSE=$(usex cpu_flags_x86_sse 0 1)
+ HIRES=$(usex hires 1 0)
+ USE_FRAMESKIPPER=1
+ USE_GLES=$(usex gles2-only 1 0)
+ # use bundled lib
+ # https://bugs.gentoo.org/654470
+ TXCDXTN=0
+ )
+
+ use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
+ use x86 && MAKEARGS+=( HOST_CPU=i386 )
+
+ emake "${MAKEARGS[@]}" all
+}
+
+src_install() {
+ emake "${MAKEARGS[@]}" DESTDIR="${D}" install
+ dodoc RELEASE
+}
diff --git a/games-emulation/mupen64plus-video-rice/Manifest b/games-emulation/mupen64plus-video-rice/Manifest
index 392398a10c1b..b7da3c40dc01 100644
--- a/games-emulation/mupen64plus-video-rice/Manifest
+++ b/games-emulation/mupen64plus-video-rice/Manifest
@@ -1,3 +1,5 @@
DIST mupen64plus-video-rice-src-2.5.9.tar.gz 300964 BLAKE2B 652d6642b743703488465883de2fe1e83e873316f133322fce343a6c8f3be37f351a1a91bad56ee1b4568afcafee55c1cb3cd6679159e24c552df63174751376 SHA512 98be11217024408e7c61120e7eb3cf83d6c9f666a029c7d0e85790c885c99e795336a8fa4f5029e546eba8cc139c6a5e84dd6c2ae5c60784a90c27ce58cd0603
+DIST mupen64plus-video-rice-src-2.6.0.tar.gz 303629 BLAKE2B c418fee926ae38ee6e98eb45a0290f1ed724883327cc15d3b08f1540bfa6ae6e371cd5fd47df8eea4c0c8d0ccb16ba34cd9f240c37dc66899e2d1992114054a8 SHA512 a0a5c37cedbd493ede3bc715fe8251a8055b93119eeae89034c970bbb24e2d175d0bbf9640341ec20cfe9566fd4abd60fae6931a68cce8aa34eb8f9e278c94fb
EBUILD mupen64plus-video-rice-2.5.9-r2.ebuild 1867 BLAKE2B a70eebb487d1e15f88150cda0a779bb5390a94f43ebd6ccaa5ecbad044c0b037f900497a9bc2c879ff382b7d8eec7225cfd69dd1b072fe0b8e7003148c52a922 SHA512 63a0153abf3f07d93d4de07e2ecbeebaa6b4b11141ae608dd7e5ca0e6bd035f5d08950bacf9ade4e28511f6927760bd9cdaef108cbff420d2ac7783f0b50f055
+EBUILD mupen64plus-video-rice-2.6.0.ebuild 1874 BLAKE2B fff2f5106de523a7f12c422777e8f54342f8fc3c7b55605d41ebc354b2a6de42ce3ec2dd3597fe9d8f3f7d4e4ddee6b51f3c76b69de7e0e87ba9b226f8cd6d85 SHA512 6ea72e32733a7fb31cf8014f2b96df490ce51d638f3d87092ce432825c1de41a67e201d1a48e4c0821cac7a7ece8d62dd90855ef63d8a85ac11b384cb33f85fb
MISC metadata.xml 347 BLAKE2B 8c6dea98e0c59caedf807cbc174ad5a97da95f955c6e3c33b5f2de4d5cad3952b1dbc014c6c90a74f64f1474d46f512662580d6fc83d4d2e1ceefc7f7d64affe SHA512 6135ddf80341a59741c2641696639c524305131f46361ffc03cb5080d55658eaa26074702c63c696b3fe4cadb8c8d2fd8ebeac4bf03b0029dc283be579bd4e5a
diff --git a/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.6.0.ebuild b/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.6.0.ebuild
new file mode 100644
index 000000000000..1ed2d4307bdb
--- /dev/null
+++ b/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.6.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_P=${PN}-src-${PV}
+DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, rice video plugin"
+HOMEPAGE="https://www.mupen64plus.org/"
+SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gles2-only cpu_flags_x86_sse"
+
+DEPEND="
+ >=games-emulation/mupen64plus-core-2.5:0=[gles2-only=]
+ media-libs/libpng:0=
+ media-libs/libsdl2:0=[video]
+ virtual/opengl:0=
+ gles2-only? ( media-libs/libsdl2:0[gles2] )
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ # avoid implicitly appending CPU flags
+ sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
+}
+
+src_compile() {
+ MAKEARGS=(
+ # Note: please keep this in sync in all of mupen64plus-* packages
+
+ -C projects/unix
+
+ # this basically means: GNU userspace
+ UNAME=Linux
+
+ # verbose output
+ V=1
+
+ CROSS_COMPILE="${CHOST}-"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ PKG_CONFIG="$(tc-getPKG_CONFIG)"
+ # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
+ # so we can leave OPTFLAGS empty
+ OPTFLAGS=
+
+ # paths, some of them are used at compile time
+ PREFIX=/usr
+ LIBDIR=/usr/$(get_libdir)
+
+ # disable unwanted magic
+ LDCONFIG=:
+ INSTALL_STRIP_FLAG=
+
+ # Package-specific stuff
+
+ # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
+ SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
+ SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
+
+ NO_ASM=$(usex cpu_flags_x86_sse 0 1)
+ USE_GLES=$(usex gles2-only 1 0)
+ )
+
+ use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
+ use x86 && MAKEARGS+=( HOST_CPU=i386 )
+
+ emake "${MAKEARGS[@]}" all
+}
+
+src_install() {
+ emake "${MAKEARGS[@]}" DESTDIR="${D}" install
+ dodoc README RELEASE
+}
diff --git a/games-emulation/mupen64plus/Manifest b/games-emulation/mupen64plus/Manifest
index 8bf2d3655670..611c0228d664 100644
--- a/games-emulation/mupen64plus/Manifest
+++ b/games-emulation/mupen64plus/Manifest
@@ -1,2 +1,3 @@
EBUILD mupen64plus-2.5.9.ebuild 862 BLAKE2B 0ca96bd7ba3097daa1f9e24480d25cd0ea7a16f357e18c34db6c5f50472f1c59c8cd637cf92ce5ce3f57c4d32ea98db0879d097541cd7625ff22131ef431ac40 SHA512 dee43c90e1456a5c445cc4b138a83dfeafc4ccc0e18374c419125d4363217c4e4650d3000698dacea5b3e8094106e09e2e5acf1aa908d328ec6bf64c653fc10a
+EBUILD mupen64plus-2.6.0.ebuild 854 BLAKE2B d22af4e6ac9350604cb93d6ea223c9a97d48e642ac7a66544aaa1e4e1bdc9f2c29225cb2ae79ed2b29e91860809c9f16e193db313cf6213af34e42c58c22af59 SHA512 040dcbd288b46de71311d8da756079c11a03ac4d654055fb4bc8f5b437e98fd3c61486a96b61c24ae374bbfafbb96febeb410aa9b3f9688f9b2f0ffa804404c4
MISC metadata.xml 1215 BLAKE2B 69f0fa47293db7f6baaa25c2c4e1aef4d8d09b48364e3d4c25ee6713574603fc2b674809a587746c8482c3f2bb23549dbbe7348a2f4ebc254a6cbcfd60c47ce0 SHA512 7c59cb0e480437a873773dc5c37ddaa40430da944c3563ad299f25ba512d598d33165f95ab64a9f5a4a1104d8781e5a61e435d4647dd6819db604bbc63ae6096
diff --git a/games-emulation/mupen64plus/mupen64plus-2.6.0.ebuild b/games-emulation/mupen64plus/mupen64plus-2.6.0.ebuild
new file mode 100644
index 000000000000..17240fd12bac
--- /dev/null
+++ b/games-emulation/mupen64plus/mupen64plus-2.6.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, meta-package"
+HOMEPAGE="https://www.mupen64plus.org/"
+
+LICENSE="metapackage"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+audio-sdl +input-sdl +rsp-hle +ui-console +ui-m64py +video-glide64mk2 +video-rice"
+
+RDEPEND="
+ >=games-emulation/mupen64plus-core-${PV}
+ audio-sdl? ( >=games-emulation/mupen64plus-audio-sdl-${PV} )
+ input-sdl? ( >=games-emulation/mupen64plus-input-sdl-${PV} )
+ rsp-hle? ( >=games-emulation/mupen64plus-rsp-hle-${PV} )
+ ui-console? ( >=games-emulation/mupen64plus-ui-console-${PV} )
+ ui-m64py? ( >=games-emulation/m64py-0.2.3-r1 )
+ video-glide64mk2? ( >=games-emulation/mupen64plus-video-glide64mk2-${PV} )
+ video-rice? ( >=games-emulation/mupen64plus-video-rice-${PV} )
+"