From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-emulation/rpcs3/
Date: Mon, 16 Dec 2024 23:55:26 +0000 (UTC) [thread overview]
Message-ID: <1734363108.348a0f435e29a8766c4672a442f3e4b1659671a6.julien@gentoo> (raw)
commit: 348a0f435e29a8766c4672a442f3e4b1659671a6
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Mon Dec 16 15:31:48 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Dec 16 15:31:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=348a0f43
games-emulation/rpcs3: update live
- add fusion submodule
- add opencv USE flag
- fix build with GCC 15
Closes: https://bugs.gentoo.org/946346
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
games-emulation/rpcs3/metadata.xml | 1 +
games-emulation/rpcs3/rpcs3-9999.ebuild | 13 +++++++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/games-emulation/rpcs3/metadata.xml b/games-emulation/rpcs3/metadata.xml
index 64cbd48f9..65cadeec8 100644
--- a/games-emulation/rpcs3/metadata.xml
+++ b/games-emulation/rpcs3/metadata.xml
@@ -9,6 +9,7 @@
<flag name="discord">Enables Discord Rich Presence</flag>
<flag name="faudio">Add faudio sound backend support</flag>
<flag name="llvm">Use llvm backend for PPU cache generation</flag>
+ <flag name="opencv">Enable PS Move support</flag>
<flag name="vulkan">Build vulkan renderer</flag>
</use>
</pkgmetadata>
diff --git a/games-emulation/rpcs3/rpcs3-9999.ebuild b/games-emulation/rpcs3/rpcs3-9999.ebuild
index b7d0273b2..3b0817ab4 100644
--- a/games-emulation/rpcs3/rpcs3-9999.ebuild
+++ b/games-emulation/rpcs3/rpcs3-9999.ebuild
@@ -20,6 +20,7 @@ if [[ ${PV} == "9999" ]]; then
EGIT_SUBMODULES=(
'asmjit' '3rdparty/glslang' '3rdparty/miniupnp/miniupnp' '3rdparty/rtmidi/rtmidi' '3rdparty/wolfssl'
'3rdparty/SoundTouch/soundtouch' '3rdparty/zstd/zstd' '3rdparty/stblib/stb' '3rdparty/OpenAL/openal-soft'
+ '3rdparty/fusion/fusion'
)
# Delete sources when ensuring yaml-cpp compiled with fexceptions
EGIT_SUBMODULES+=( '3rdparty/yaml-cpp' )
@@ -40,7 +41,7 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="discord faudio +llvm vulkan wayland"
+IUSE="discord faudio +llvm opencv vulkan wayland"
DEPEND="
app-arch/p7zip
@@ -52,6 +53,7 @@ DEPEND="
dev-qt/qtbase:6[concurrent,dbus,gui,widgets]
dev-qt/qtmultimedia:6
dev-qt/qtsvg:6
+ media-libs/alsa-lib
media-libs/cubeb
media-libs/glew
media-libs/libglvnd
@@ -62,7 +64,9 @@ DEPEND="
llvm-core/llvm:=
sys-libs/zlib
virtual/libusb:1
+ x11-libs/libX11
faudio? ( app-emulation/faudio )
+ opencv? ( media-libs/opencv )
vulkan? ( media-libs/vulkan-loader[wayland?] )
wayland? ( dev-libs/wayland )
"
@@ -124,6 +128,10 @@ src_prepare() {
# sed -i -e 's/3rdparty::yaml-cpp/yaml-cpp/' rpcs3/Emu/CMakeLists.txt \
# rpcs3/rpcs3qt/CMakeLists.txt || die
+ # Fix build with GCC 15
+ # https://github.com/KhronosGroup/glslang/commit/e40c14a3e007fac0e4f2e4164fdf14d1712355bd
+ sed -i '/<algorithm>/a#include <cstdint>' 3rdparty/glslang/glslang/SPIRV/SpvBuilder.h || die
+
cmake_src_prepare
}
@@ -143,12 +151,13 @@ src_configure() {
-DUSE_SYSTEM_ZLIB=ON
-DUSE_DISCORD_RPC=$(usex discord)
-DUSE_FAUDIO=$(usex faudio)
+ -DUSE_SYSTEM_OPENCV=$(usex opencv)
-DUSE_VULKAN=$(usex vulkan)
-DWITH_LLVM=$(usex llvm)
+ $(cmake_use_find_package wayland Wayland)
)
# These options are defined conditionally to suppress QA notice
use faudio && mycmakeargs+=( -DUSE_SYSTEM_FAUDIO=$(usex faudio) )
- use vulkan && mycmakeargs+=( $(cmake_use_find_package wayland Wayland) )
cmake_src_configure
next reply other threads:[~2024-12-16 23:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-16 23:55 Julien Roy [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-27 8:41 [gentoo-commits] repo/proj/guru:master commit in: games-emulation/rpcs3/ David Roman
2024-01-20 22:13 David Roman
2024-01-11 11:57 David Roman
2022-10-29 5:54 Arthur Zamarin
2022-02-20 8:46 Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1734363108.348a0f435e29a8766c4672a442f3e4b1659671a6.julien@gentoo \
--to=julien@jroy.ca \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox