Package Details: rpcs3-git 0.0.33.r16916.53c84577c0-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: 78
Popularity: 0.33
First Submitted: 2014-08-14 11:04 (UTC)
Last Updated: 2024-09-08 18:27 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 35 Next › Last »

agapito commented on 2023-04-15 10:35 (UTC)

Thanks @G4E

It's working again.

G4E commented on 2023-04-14 16:24 (UTC) (edited on 2023-04-14 16:24 (UTC) by G4E)

This fix building with llvm 16 :

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

 pkgname=rpcs3-git
-pkgver=0.0.25.14360.b57ab74ee7
+pkgver=0.0.27.14873.ba29f0ccd1
 pkgrel=1
 pkgdesc='A Sony PlayStation 3 emulator'
 arch=(x86_64)
@@ -49,7 +49,7 @@ conflicts=(rpcs3)
 options=(!emptydirs !lto)
 source=(
   git+https://github.com/RPCS3/rpcs3.git
-  rpcs3-llvm::git+https://github.com/RPCS3/llvm-mirror.git
+  llvm::git+https://github.com/llvm/llvm-project
   git+https://github.com/KhronosGroup/glslang.git
 )
 sha256sums=(
@@ -70,9 +70,9 @@ pkgver() {
 prepare() {
   cd rpcs3

-  git submodule init 3rdparty/glslang/glslang llvm
+  git submodule init 3rdparty/glslang/glslang 3rdparty/llvm/llvm
   git config submodule.3rdparty/glslang.url ../glslang
-  git config submodule.llvm.url ../rpcs3-llvm
+  git config submodule.3rdparty/llvm/llvm.url ../llvm

   SUBMODULES=($(git config --file .gitmodules --get-regexp path | \
     awk '!/ffmpeg/ && !/libpng/ && !/zlib/ && !/curl/ && !/llvm/ && !/glslang/ && !/pugixml/ '))
@@ -93,7 +93,7 @@ prepare() {
     git -c protocol.file.allow=always submodule update --init --depth=1 $path
   done

-  git -c protocol.file.allow=always submodule update 3rdparty/glslang/glslang llvm
+  git -c protocol.file.allow=always submodule update 3rdparty/glslang/glslang 3rdparty/llvm/llvm
 }

 build() {
@@ -112,6 +112,7 @@ build() {
     -DUSE_SYSTEM_CURL=ON \
     -DUSE_SYSTEM_FLATBUFFERS=OFF \
     -DUSE_SYSTEM_PUGIXML=ON \
+    -DBUILD_LLVM=ON \

   make -C build
 }

agapito commented on 2023-04-06 10:15 (UTC)

https://github.com/RPCS3/rpcs3/commit/fb88e1c1c933a792f96600206ed03a07cd7c3661

loathingkernel commented on 2023-03-28 14:13 (UTC) (edited on 2023-03-28 14:29 (UTC) by loathingkernel)

@hcorion, you do not need that, frankly, complicated way of figuring out the submodule urls. You can simply (re)set the remote url to point to the github repo and getting the submodules will work as expected.

  git remote set-url origin https://github.com/RPCS3/rpcs3.git
  git -c protocol.file.allow=always submodule update --init --filter=tree:0 \

Normally I would suggest doing it as per package guidelines and specifying the submodules in the source array, but this package seems like a special case and it think it's fine to just do it in prepare.

Use --filter=tree:0 instead of --depth 1, it allows for the submodules to fetch blobs on demand, for example cherry-picks. Explaination: https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/

EDIT: Ignore the following claim about the CMake options. CMake was lying to me for some of those...

It seems like the only remaining options for USE_SYSTEM_XXX are USE_SYSTEM_LIBUSB USE_SYSTEM_SDL and USE_SYSTEM_ZLIB. I think upstream was advising at some point against using system libusb, sdl is not enabled on Linux for their AppImage (USE_SDL defaults to off, and that ignores USE_SYSTEM_SDL) so it's not useful making USE_SYSTEM_ZLIB the only remaining one. At this point this could even be set to OFF and just use the submodule. System FFMPEG is still detected without the CMake option.

loathingkernel commented on 2023-03-28 14:02 (UTC) (edited on 2023-03-28 14:03 (UTC) by loathingkernel)

@Psithurisma It shouldn't, RPCS3 uses its own internal submodule for cubeb and there is no way to make it use the system one without patching the build system.

Psithurisma commented on 2023-03-23 03:14 (UTC)

The cubeb package should be added as a make dependency.

agapito commented on 2023-03-05 12:44 (UTC)

You should add doxygen and valgrind as makedepends.

InabaBob commented on 2022-12-03 14:27 (UTC)

It seems that this package is building with only one thread, even with GNUMAKEFLAGS=-j8 and MAKEFLAGS=-j8 set in the environment. However PKGBUILD doesn't seem to specify anything about parallel building. I wonder where the problem is.

kode54 commented on 2022-11-23 21:30 (UTC)

AUR helpers have certain criteria for checking Git repositories for updates. Some of them may not know a VCS package has been updated unless the PKGBUILD itself has been updated, whereas some of them also query the sources listed in the package and/or subscribe to them, and check those periodically. They may not check them every time you run -Syu, to lighten the load on all those repository sites.