Package Details: rpcs3-git 0.0.31.r16375.90b6912daa-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: GPL2
Conflicts: rpcs3
Provides: rpcs3
Submitter: alucryd
Maintainer: hcorion
Last Packager: hcorion
Votes: 73
Popularity: 2.00
First Submitted: 2014-08-14 11:04 (UTC)
Last Updated: 2024-04-24 06:18 (UTC)

Dependencies (31)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 33 Next › Last »

kasugano commented on 2023-06-06 22:58 (UTC)

How about changing PKGBUILD "-DUSE_NATIVE_INSTRUCTIONS=OFF" to "ON"?

glledo commented on 2023-05-21 11:25 (UTC)

It is worth mentioning that (even after 0c96e8e898cb) if you have wolfssl installed via pacman, the build is still picking it up. This breaks at link time due to a missing symbol.

Adding -DUSE_SYSTEM_WOLFSSL=OFF to the cmake commandline fixed this for me.

loathingkernel commented on 2023-04-19 17:24 (UTC) (edited on 2023-04-19 17:25 (UTC) by loathingkernel)

@hcorion, while you look into the submodule script, also consider the pkgver guidelines please on how to make the version string monotonically correct and something pacman can resolve.

hcorion commented on 2023-04-18 06:25 (UTC)

Apologize about the slow update, I was away on vacation. Thanks for the diff G4E and the tips loathingkernel. I'll look further into cleaning up my submodule script, but for now it builds again.

loathingkernel commented on 2023-04-15 12:15 (UTC) (edited on 2023-04-15 12:17 (UTC) by loathingkernel)

@patlefort While it is suggested in the Wiki, the problem is more nuanced than this. discussion on the wiki.

Using --filter=tree:0 until GITFLAGS gets included in the release version of pacman should be good enough.

patlefort commented on 2023-04-15 11:27 (UTC)

All submodules should be added to the source array like in https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules. That way they can be properly cached in a source directory of the user's choosing as configured in their makepkg.conf.

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.