Package Details: rpcs3-git 0.0.40.r19204.4ffeee0344-1

Git Clone URL: https://aur.archlinux.org/rpcs3-git.git (read-only, click to copy)
Package Base: rpcs3-git
Description: A Sony PlayStation 3 emulator
Upstream URL: https://github.com/RPCS3/rpcs3
Licenses: GPL-2.0-only
Conflicts: rpcs3
Provides: rpcs3
Submitter: alucryd
Maintainer: hcorion
Last Packager: hcorion
Votes: 93
Popularity: 1.38
First Submitted: 2014-08-14 11:04 (UTC)
Last Updated: 2026-04-15 07:21 (UTC)

Latest Comments

1 2 3 4 5 6 .. 38 Next › Last »

hcorion commented on 2026-07-07 05:36 (UTC)

@rubin55 I upstreamed your patch to the main repo: https://github.com/RPCS3/rpcs3/pull/18998

rubin55 commented on 2026-07-05 19:35 (UTC) (edited on 2026-07-05 19:36 (UTC) by rubin55)

Arch upgraded to OpenCV 5.x and the locations of certain functions changed. Patched PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 5bfe72a..c267ad3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Submitter: Maxime Gauduin <alucryd@archlinux.org>

 pkgname=rpcs3-git
-pkgver=0.0.40.r19204.4ffeee0344
+pkgver=0.0.41.r19559.d87cf99b65
 pkgrel=1
 pkgdesc='A Sony PlayStation 3 emulator'
 arch=(x86_64 aarch64)
@@ -54,10 +54,12 @@ options=(!emptydirs !lto !strip)
 source=(
   git+https://github.com/RPCS3/rpcs3.git
   git+https://github.com/KhronosGroup/glslang.git
+  opencv5-geometry.patch
 )
 sha256sums=(
   SKIP
   SKIP
+  db3e576c0c88387ca7115f1de1261a96db580a35ae594f6fb1ff847e1ee8fedb
 )

 pkgver() {
@@ -72,6 +74,7 @@ pkgver() {
 prepare() {
   cd rpcs3

+  git apply "${srcdir}/opencv5-geometry.patch"
   git submodule init 3rdparty/glslang/glslang
   git config submodule.3rdparty/glslang.url ../glslang

And opencv5-geometry.patch:

--- a/rpcs3/Input/ps_move_tracker.cpp
+++ b/rpcs3/Input/ps_move_tracker.cpp
@@ -6,6 +6,9 @@
 #include <cmath>

 #ifdef HAVE_OPENCV
 #include <opencv2/photo.hpp>
+#if __has_include(<opencv2/geometry.hpp>)
+#include <opencv2/geometry.hpp>
+#endif
 #endif

 LOG_CHANNEL(ps_move);

Engdyn commented on 2026-01-13 10:14 (UTC) (edited on 2026-01-13 10:18 (UTC) by Engdyn)

@jedcooper This is a problem related to the recent glew update. We need to wait until glew 2.3.1 gets released and packaged. Theoretically you could install glew-git since a fix is already implemented or downgrade to 2.2.0-7 but I'd just wait since both options can introduce problems. See https://github.com/RPCS3/rpcs3/issues/18024

jedcooper commented on 2026-01-13 09:24 (UTC) (edited on 2026-01-13 09:25 (UTC) by jedcooper)

Trying to run the recent updates (about ~3-4 days) the build process stops at 75%. Setting new LDFLAGS or CXXFLAGS temporarily doesn't help.

/home/marquisor/.cache/paru/clone/rpcs3-git/src/rpcs3/rpcs3/Emu/RSX/RSXZCULL.cpp:109:19: warning: explicitly assigning value of variable of type
      'bool' to itself; did you mean to assign to member 'surface_active'? [-Wself-assign]
  109 |                         surface_active = surface_active;
      |                         ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
      |                         this->
[ 74%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/RSX/GL/GLPresent.cpp.o
[ 74%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/RSX/GL/GLRenderTargets.cpp.o
[ 74%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/RSX/GL/GLResolveHelper.cpp.o
[ 74%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/RSX/GL/GLShaderInterpreter.cpp.o
[ 74%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/RSX/GL/GLTexture.cpp.o
1 warning generated.
[ 75%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/RSX/GL/GLTextureCache.cpp.o
[ 75%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/RSX/GL/glutils/blitter.cpp.o
[ 75%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/RSX/GL/glutils/buffer_object.cpp.o
[ 75%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/RSX/GL/glutils/capabilities.cpp.o
[ 75%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/RSX/GL/glutils/common.cpp.o
[ 75%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/RSX/GL/glutils/fbo.cpp.o
[ 75%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/RSX/GL/glutils/image.cpp.o
/home/marquisor/.cache/paru/clone/rpcs3-git/src/rpcs3/rpcs3/Emu/RSX/GL/glutils/buffer_object.cpp:47:4: error: use of undeclared identifier
      'glNamedBufferStorageEXT'; did you mean '__glewBufferStorageEXT'?
   47 |                         DSA_CALL2(NamedBufferStorage, m_id, size, data_, flags);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/marquisor/.cache/paru/clone/rpcs3-git/src/rpcs3/rpcs3/Emu/RSX/GL/glutils/common.h:39:3: note: expanded from macro 'DSA_CALL2'
   39 |                 gl##func##EXT(__VA_ARGS__);
      |                 ^~~~~~~~~~~~~
<scratch space>:760:1: note: expanded from here
  760 | glNamedBufferStorageEXT
      | ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/GL/glew.h:24223:43: note: '__glewBufferStorageEXT' declared here
 24223 | GLEW_FUN_EXPORT PFNGLBUFFERSTORAGEEXTPROC __glewBufferStorageEXT;
       |                                           ^
1 error generated.
make[2]: *** [rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/build.make:6225: rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/RSX/GL/glutils/buffer_object.cpp.o] Fehler 1
make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet …
make[1]: *** [CMakeFiles/Makefile2:3142: rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/all] Fehler 2
make: *** [Makefile:136: all] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...
Fehler: ‚rpcs3-git-0.0.37.r17986.68d2573344-1‘ konnte nicht erstellt werden: 
Fehler: Pakete konnten nicht erstellt werden: rpcs3-git-0.0.37.r17986.68d2573344-1

Engdyn commented on 2025-10-21 13:11 (UTC)

My upstream PR got merged a few minutes ago. Building works now again without needing patches

agapito commented on 2025-10-16 08:24 (UTC)

It compiles fine here after applying this patch: https://github.com/RPCS3/rpcs3/commit/8636a5c80c3966b13c8a05e27051855400a33ebb.patch

It also compiles with llvm 21 from testing and you can use ffmpeg system libraries: -DUSE_SYSTEM_FFMPEG=ON \

jorgicio commented on 2025-10-11 22:27 (UTC) (edited on 2025-10-11 22:29 (UTC) by jorgicio)

I found this issue in Github (https://github.com/rpcs3/rpcs3/issues/17570), so I created a patch to fix this issue when building with Qt 6.10.

diff --color -Naur rpcs3/3rdparty/qt6.cmake rpcs3b/3rdparty/qt6.cmake
--- rpcs3/3rdparty/qt6.cmake    2025-10-11 19:10:12.690342483 -0300
+++ rpcs3b/3rdparty/qt6.cmake   2025-10-11 19:12:49.731064692 -0300
@@ -2,16 +2,16 @@

 set(QT_MIN_VER 6.7.0)

-find_package(Qt6 ${QT_MIN_VER} CONFIG COMPONENTS Widgets Concurrent Multimedia MultimediaWidgets Svg SvgWidgets)
+find_package(Qt6 ${QT_MIN_VER} CONFIG COMPONENTS Widgets Concurrent Multimedia MultimediaWidgets Svg SvgWidgets GuiPrivate)
 if(WIN32)
-   target_link_libraries(3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets)
+   target_link_libraries(3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets Qt6::GuiPrivate)
 else()
    find_package(Qt6 ${QT_MIN_VER} COMPONENTS DBus Gui)
if(Qt6DBus_FOUND)
-       target_link_libraries(3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::DBus Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets)
+       target_link_libraries(3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::DBus Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets Qt6::GuiPrivate)
        target_compile_definitions(3rdparty_qt6 INTERFACE -DHAVE_QTDBUS)
    else()
-       target_link_libraries(3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets)
+       target_link_libraries(3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets Qt6::GuiPrivate)
    endif()
    target_include_directories(3rdparty_qt6 INTERFACE ${Qt6Gui_PRIVATE_INCLUDE_DIRS})
endif()

(If I could attach the patch, I'd do it)

rubin55 commented on 2025-10-11 15:27 (UTC)

[ 90%] Building CXX object rpcs3/rpcs3qt/CMakeFiles/rpcs3_ui.dir/permissions.cpp.o
/tmp/makepkg.builddir/rpcs3-git/src/rpcs3/rpcs3/rpcs3qt/gs_frame.cpp:42:10: fatal error: 'qpa/qplatformnativeinterface.h' file not found
   42 | #include <qpa/qplatformnativeinterface.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [rpcs3/rpcs3qt/CMakeFiles/rpcs3_ui.dir/build.make:663: rpcs3/rpcs3qt/CMakeFiles/rpcs3_ui.dir/gs_frame.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:3292: rpcs3/rpcs3qt/CMakeFiles/rpcs3_ui.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

hcorion commented on 2025-05-14 06:42 (UTC)

Good catch, fixed @HurricanePootis

HurricanePootis commented on 2025-05-13 06:11 (UTC)

Please do not override the current $LDFLAGS

diff --git a/PKGBUILD b/PKGBUILD
index 47ad929..7033003 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -123,8 +123,8 @@ build() {
     -DBUILD_LLVM=OFF \
     -DUSE_SYSTEM_WOLFSSL=OFF \
     -DCMAKE_LINKER=lld \
-    -DCMAKE_SHARED_LINKER_FLAGS="-fuse-ld=lld" \
-    -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld" \
+    -DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -fuse-ld=lld" \
+    -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -fuse-ld=lld" \
     -DCMAKE_POLICY_VERSION_MINIMUM=3.5

   cmake --build build