diff options
| author | BaldEagleOS Migration <dev@baldeagleos.com> | 2026-06-03 18:00:25 -0500 |
|---|---|---|
| committer | BaldEagleOS Migration <dev@baldeagleos.com> | 2026-06-03 18:00:25 -0500 |
| commit | df30352066a4373a912bc395b250b0b1fa2cf696 (patch) | |
| tree | 49c2c47431ac4c977b3f5b849123cfd4b767944f /games-emulation | |
| parent | 46b253445e4dc73ee69188755ecbd45f6782960c (diff) | |
| download | baldeagleos-repo-df30352066a4373a912bc395b250b0b1fa2cf696.tar.gz baldeagleos-repo-df30352066a4373a912bc395b250b0b1fa2cf696.tar.xz baldeagleos-repo-df30352066a4373a912bc395b250b0b1fa2cf696.zip | |
Adding metadata
Diffstat (limited to 'games-emulation')
| -rw-r--r-- | games-emulation/azahar/azahar-2125.1.2.ebuild | 2 | ||||
| -rw-r--r-- | games-emulation/eden/eden-0.2.0.ebuild | 11 | ||||
| -rw-r--r-- | games-emulation/eden/eden-9999.ebuild | 10 | ||||
| -rw-r--r-- | games-emulation/shadPS4/Manifest | 1 | ||||
| -rw-r--r-- | games-emulation/shadPS4/files/shadPS4-0.15.0-syscall.patch | 15 | ||||
| -rw-r--r-- | games-emulation/shadPS4/files/shadPS4-0.16.0-cmake-4.patch | 109 | ||||
| -rw-r--r-- | games-emulation/shadPS4/files/shadPS4-0.16.0-executable-stack.patch | 89 | ||||
| -rw-r--r-- | games-emulation/shadPS4/shadPS4-0.15.0.ebuild | 1 | ||||
| -rw-r--r-- | games-emulation/shadPS4/shadPS4-0.16.0.ebuild | 64 |
9 files changed, 283 insertions, 19 deletions
diff --git a/games-emulation/azahar/azahar-2125.1.2.ebuild b/games-emulation/azahar/azahar-2125.1.2.ebuild index b70837d829fe..f9f837232f14 100644 --- a/games-emulation/azahar/azahar-2125.1.2.ebuild +++ b/games-emulation/azahar/azahar-2125.1.2.ebuild @@ -33,7 +33,7 @@ RDEPEND=" dev-libs/sirit dev-libs/teakra dev-libs/xxhash - dev-qt/qtbase:6[concurrent,dbus,widgets] + dev-qt/qtbase:6[concurrent,dbus,opengl,widgets] dev-qt/qtmultimedia:6 dev-util/glslang media-libs/cubeb diff --git a/games-emulation/eden/eden-0.2.0.ebuild b/games-emulation/eden/eden-0.2.0.ebuild index 30b7656d5364..afe73ae60f59 100644 --- a/games-emulation/eden/eden-0.2.0.ebuild +++ b/games-emulation/eden/eden-0.2.0.ebuild @@ -131,17 +131,6 @@ add_bundled_licenses() { } add_bundled_licenses -src_unpack() { - if [[ "${PV}" == 9999 ]]; then - git-r3_src_unpack - - # unpack src files - unpack "${A}" - else - default - fi -} - src_prepare() { local s remove=() for s in externals/*; do diff --git a/games-emulation/eden/eden-9999.ebuild b/games-emulation/eden/eden-9999.ebuild index 0553005de6c9..b15da3791e24 100644 --- a/games-emulation/eden/eden-9999.ebuild +++ b/games-emulation/eden/eden-9999.ebuild @@ -127,14 +127,10 @@ add_bundled_licenses() { add_bundled_licenses src_unpack() { - if [[ "${PV}" == 9999 ]]; then - git-r3_src_unpack + git-r3_src_unpack - # unpack src files - unpack "${A}" - else - default - fi + # unpack src files + unpack "${A}" } src_prepare() { diff --git a/games-emulation/shadPS4/Manifest b/games-emulation/shadPS4/Manifest index 5d35e6a758d7..fedd1e87d528 100644 --- a/games-emulation/shadPS4/Manifest +++ b/games-emulation/shadPS4/Manifest @@ -1 +1,2 @@ DIST shadPS4-0.15.0.tar.xz 28028876 BLAKE2B 5f89f39a9193e6198fcbe457eec15c8e0bd6ad1f70e02a8c74ae363651fcd2dbc7b2166fca77a16068080b8ba6191ea302a38acd81ad731254a8c1b134e28444 SHA512 cdd4dc5185dc2d98778aa7c9fd4af0b794f8270f4a6d53c994d5e1dc6b9453977170cb4360ed28e23f17e34f049bfe4153a4f36e09d285aa3ba75eb80f2d451a +DIST shadPS4-0.16.0.tar.xz 56547168 BLAKE2B 72c5e181bd1fd523b058404a83fac71a72ab062aee315c3149898d51a5fb3bf6bb9d477dd930af8e64ca8a2bb7eaba7518f8158c31d2f2de95684d4cc60c3e77 SHA512 1d6652eb3b22a41f291f2469d47ae4baf50e807e5d38a6b411549637d3279e88d13d3e180b06b562a4a42a142d436539b00b9afc4076070002fc19f4c2d3bc6a diff --git a/games-emulation/shadPS4/files/shadPS4-0.15.0-syscall.patch b/games-emulation/shadPS4/files/shadPS4-0.15.0-syscall.patch new file mode 100644 index 000000000000..1122522020a5 --- /dev/null +++ b/games-emulation/shadPS4/files/shadPS4-0.15.0-syscall.patch @@ -0,0 +1,15 @@ +Add includes for syscall +Closes: https://bugs.gentoo.org/976333 +From: https://github.com/shadps4-emu/shadPS4/commit/c68a8baa947fabfd74efaca1ba027ca15abf73db + +--- a/src/core/tls.cpp ++++ b/src/core/tls.cpp +@@ -21,6 +21,8 @@ + #if defined(__linux__) && defined(ARCH_X86_64) + #include <asm/prctl.h> + #include <sys/prctl.h> ++#include <sys/syscall.h> ++#include <unistd.h> + #endif + + namespace Core { diff --git a/games-emulation/shadPS4/files/shadPS4-0.16.0-cmake-4.patch b/games-emulation/shadPS4/files/shadPS4-0.16.0-cmake-4.patch new file mode 100644 index 000000000000..161853e4b2a2 --- /dev/null +++ b/games-emulation/shadPS4/files/shadPS4-0.16.0-cmake-4.patch @@ -0,0 +1,109 @@ +Fix CMake 4 Compatibility + +--- a/externals/dear_imgui/examples/example_android_opengl3/CMakeLists.txt ++++ b/externals/dear_imgui/examples/example_android_opengl3/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.6) ++cmake_minimum_required(VERSION 3.10) + + project(ImGuiExample) + +--- a/externals/dear_imgui/examples/example_glfw_vulkan/CMakeLists.txt ++++ b/externals/dear_imgui/examples/example_glfw_vulkan/CMakeLists.txt +@@ -3,7 +3,7 @@ + # cd build + # cmake -g "Visual Studio 14 2015" .. + +-cmake_minimum_required(VERSION 2.8) ++cmake_minimum_required(VERSION 3.10) + project(imgui_example_glfw_vulkan C CXX) + + if(NOT CMAKE_BUILD_TYPE) +--- a/externals/discord-rpc/thirdparty/rapidjson/CMakeLists.txt ++++ b/externals/discord-rpc/thirdparty/rapidjson/CMakeLists.txt +@@ -1,4 +1,4 @@ +-CMAKE_MINIMUM_REQUIRED(VERSION 3.5) ++CMAKE_MINIMUM_REQUIRED(VERSION 3.10) + + SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules) + +--- a/externals/discord-rpc/thirdparty/rapidjson/example/CMakeLists.txt ++++ b/externals/discord-rpc/thirdparty/rapidjson/example/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 2.8) ++cmake_minimum_required(VERSION 3.10) + + if(POLICY CMP0054) + cmake_policy(SET CMP0054 NEW) +--- a/externals/discord-rpc/thirdparty/rapidjson/thirdparty/gtest/CMakeLists.txt ++++ b/externals/discord-rpc/thirdparty/rapidjson/thirdparty/gtest/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 2.6.4) ++cmake_minimum_required(VERSION 3.10) + + if (POLICY CMP0048) + cmake_policy(SET CMP0048 NEW) +--- a/externals/discord-rpc/thirdparty/rapidjson/thirdparty/gtest/googlemock/CMakeLists.txt ++++ b/externals/discord-rpc/thirdparty/rapidjson/thirdparty/gtest/googlemock/CMakeLists.txt +@@ -43,7 +43,7 @@ + cmake_policy(SET CMP0048 NEW) + project(gmock VERSION 1.9.0 LANGUAGES CXX C) + endif() +-cmake_minimum_required(VERSION 2.6.4) ++cmake_minimum_required(VERSION 3.10) + + if (COMMAND set_up_hermetic_build) + set_up_hermetic_build() +--- a/externals/discord-rpc/thirdparty/rapidjson/thirdparty/gtest/googletest/CMakeLists.txt ++++ b/externals/discord-rpc/thirdparty/rapidjson/thirdparty/gtest/googletest/CMakeLists.txt +@@ -50,7 +50,7 @@ + cmake_policy(SET CMP0048 NEW) + project(gtest VERSION 1.9.0 LANGUAGES CXX C) + endif() +-cmake_minimum_required(VERSION 2.6.4) ++cmake_minimum_required(VERSION 3.10) + + if (POLICY CMP0063) # Visibility + cmake_policy(SET CMP0063 NEW) +--- a/externals/sirit/externals/SPIRV-Headers/tests/find_package/CMakeLists.txt ++++ b/externals/sirit/externals/SPIRV-Headers/tests/find_package/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.10) + + project(TEST_FIND_PACKAGE LANGUAGES CXX) + +--- a/externals/sirit/externals/SPIRV-Headers/tools/buildHeaders/CMakeLists.txt ++++ b/externals/sirit/externals/SPIRV-Headers/tools/buildHeaders/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.10) + + set(CMAKE_INSTALL_PREFIX "install" CACHE STRING "prefix" FORCE) + +--- a/externals/zydis/CMakeLists.txt ++++ b/externals/zydis/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.9 FATAL_ERROR) ++cmake_minimum_required(VERSION 3.10 FATAL_ERROR) + + if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15") + # Enable runtime library selection via CMAKE_MSVC_RUNTIME_LIBRARY +--- a/externals/zydis/dependencies/zycore/CMakeLists.txt ++++ b/externals/zydis/dependencies/zycore/CMakeLists.txt +@@ -2,7 +2,7 @@ + return() + endif () + +-cmake_minimum_required(VERSION 3.9 FATAL_ERROR) ++cmake_minimum_required(VERSION 3.10 FATAL_ERROR) + + if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15") + # Enable runtime library selection via CMAKE_MSVC_RUNTIME_LIBRARY +--- a/externals/ImGuiFileDialog/CMakeLists.txt ++++ b/externals/ImGuiFileDialog/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.5) ++cmake_minimum_required(VERSION 3.10) + + project(ImGuiFileDialog) diff --git a/games-emulation/shadPS4/files/shadPS4-0.16.0-executable-stack.patch b/games-emulation/shadPS4/files/shadPS4-0.16.0-executable-stack.patch new file mode 100644 index 000000000000..74e306765fff --- /dev/null +++ b/games-emulation/shadPS4/files/shadPS4-0.16.0-executable-stack.patch @@ -0,0 +1,89 @@ +#Fix executable stack QA warning, and patch CMakeLists.txt to still recognise the patched source file +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -567,13 +567,13 @@ + src/core/libraries/usbd/emulated/skylander.h + ) + +-set(FIBER_LIB src/core/libraries/fiber/fiber_context.s ++set(FIBER_LIB src/core/libraries/fiber/fiber_context.S + src/core/libraries/fiber/fiber.cpp + src/core/libraries/fiber/fiber.h + src/core/libraries/fiber/fiber_error.h + ) + +-set_source_files_properties(src/core/libraries/fiber/fiber_context.s PROPERTIES COMPILE_OPTIONS -Wno-unused-command-line-argument) ++set_source_files_properties(src/core/libraries/fiber/fiber_context.S PROPERTIES COMPILE_OPTIONS -Wno-unused-command-line-argument) + + set(VDEC_LIB src/core/libraries/videodec/videodec2_impl.cpp + src/core/libraries/videodec/videodec2_impl.h +--- a/src/core/libraries/fiber/fiber_context.s ++++ b/src/core/libraries/fiber/fiber_context.s +@@ -119,3 +119,7 @@ + movl $1, %edi + call _sceFiberForceQuit + ret ++ ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif +--- a/externals/libressl/crypto/sha/sha1_amd64_generic.S ++++ b/externals/libressl/crypto/sha/sha1_amd64_generic.S +@@ -308,3 +308,7 @@ + popq %rbx + + ret ++ ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif +--- a/externals/libressl/crypto/sha/sha1_amd64_shani.S ++++ b/externals/libressl/crypto/sha/sha1_amd64_shani.S +@@ -164,3 +164,7 @@ + shufmask: + .octa 0x000102030405060708090a0b0c0d0e0f + .size shufmask,.-shufmask ++ ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif +--- a/externals/libressl/crypto/sha/sha256_amd64_generic.S ++++ b/externals/libressl/crypto/sha/sha256_amd64_generic.S +@@ -297,3 +297,7 @@ + .long 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208 + .long 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2 + .size K256,.-K256 ++ ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif +--- a/externals/libressl/crypto/sha/sha256_amd64_shani.S ++++ b/externals/libressl/crypto/sha/sha256_amd64_shani.S +@@ -203,3 +203,7 @@ + .long 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208 + .long 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2 + .size K256,.-K256 ++ ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif +--- a/externals/libressl/crypto/sha/sha512_amd64_generic.S ++++ b/externals/libressl/crypto/sha/sha512_amd64_generic.S +@@ -302,3 +302,7 @@ + .quad 0x28db77f523047d84, 0x32caab7b40c72493, 0x3c9ebe0a15c9bebc, 0x431d67c49c100d4c + .quad 0x4cc5d4becb3e42b6, 0x597f299cfc657e2a, 0x5fcb6fab3ad6faec, 0x6c44198c4a475817 + .size K512,.-K512 ++ ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif +--- a/src/core/libraries/kernel/threads/stack.S ++++ b/src/core/libraries/kernel/threads/stack.S +@@ -35,3 +35,7 @@ + popq %r13 + popq %r12 + ret ++ ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif diff --git a/games-emulation/shadPS4/shadPS4-0.15.0.ebuild b/games-emulation/shadPS4/shadPS4-0.15.0.ebuild index 0f05555974e2..8b9189f8ff8b 100644 --- a/games-emulation/shadPS4/shadPS4-0.15.0.ebuild +++ b/games-emulation/shadPS4/shadPS4-0.15.0.ebuild @@ -50,6 +50,7 @@ src_prepare() { eapply "${FILESDIR}/${P}-cmake-4.patch" eapply "${FILESDIR}/${P}-executable-stack.patch" eapply "${FILESDIR}/${P}-sstream.patch" + eapply "${FILESDIR}/${P}-syscall.patch" mv src/core/libraries/fiber/fiber_context.s src/core/libraries/fiber/fiber_context.S || die cmake_src_prepare } diff --git a/games-emulation/shadPS4/shadPS4-0.16.0.ebuild b/games-emulation/shadPS4/shadPS4-0.16.0.ebuild new file mode 100644 index 000000000000..3a5ad29f8d29 --- /dev/null +++ b/games-emulation/shadPS4/shadPS4-0.16.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +DESCRIPTION="PlayStation 4 emulator written in C++" +HOMEPAGE="https://shadps4.net" +SRC_URI="https://codeberg.org/ceres-sees-all/guru-distfiles/releases/download/${P}-submodules.tar.xz/${P}-submodules.tar.xz -> ${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="discord test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-cpp/cli11 + dev-cpp/magic_enum + dev-cpp/nlohmann_json + dev-cpp/robin-map + dev-cpp/toml11 + dev-libs/boost + dev-libs/libfmt + dev-libs/half + dev-libs/pugixml + dev-libs/stb + dev-libs/xbyak + dev-libs/xxhash + media-libs/imgui + media-libs/libsdl3 + media-libs/libpng + media-libs/openal + media-libs/sdl3-mixer + media-libs/vulkan-layers + media-gfx/renderdoc + media-video/ffmpeg + media-sound/sndio + virtual/jack + virtual/zlib + test? ( dev-cpp/gtest ) +" + +RDEPEND="${DEPEND}" + +src_prepare() { + eapply "${FILESDIR}/${P}-cmake-4.patch" + eapply "${FILESDIR}/${P}-executable-stack.patch" + mv src/core/libraries/fiber/fiber_context.s src/core/libraries/fiber/fiber_context.S || die + cmake_src_prepare +} + +src_configure() { + filter-lto + append-flags -fno-strict-aliasing + + local mycmakeargs=( + -DENABLE_DISCORD_RPC="$(usex discord ON OFF)" + -DENABLE_UPDATER=OFF + -DENABLE_TESTS="$(usex test ON OFF)" + ) + cmake_src_configure +} |
