Package Details: shadps4-git 0.16.0.r113.g474fbe7-1

Git Clone URL: https://aur.archlinux.org/shadps4-git.git (read-only, click to copy)
Package Base: shadps4-git
Description: Sony PlayStation 4 emulator (CLI)
Upstream URL: https://shadps4.net/
Keywords: console emulation emulator game playstation sony
Licenses: GPL-2.0-or-later
Conflicts: shadps4
Provides: shadps4
Submitter: abouvier
Maintainer: abouvier
Last Packager: abouvier
Votes: 15
Popularity: 0.49
First Submitted: 2024-06-27 16:10 (UTC)
Last Updated: 2026-07-07 04:43 (UTC)

Dependencies (57)

Required by (1)

Sources (15)

Latest Comments

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

patlefort commented on 2026-07-07 03:28 (UTC)

Needs cpp-httplib submodule:

/pkgbuild/out/shadps4-git/src/shadps4/src/core/libraries/np/np_handler.cpp:8:10: fatal error: httplib.h: No such file or directory
    8 | #include <httplib.h>

I tested with cpp-httplib package but it wouldn't link.

abouvier commented on 2026-06-28 14:45 (UTC)

@RaidonChrome What PKGBUILD are you using? Your patch applies to a different one.

RaidonChrome commented on 2026-06-28 08:00 (UTC)

It fails to build since 0.16.0 - upstream added a new SSL option, so it has to be added to the PKGBUILD: -DCMAKE_DISABLE_FIND_PACKAGE_LibreSSL=ON

diff --git a/PKGBUILD b/PKGBUILD
index ea34399..10d70a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -119,6 +119,7 @@ build() {
     -DENABLE_UPDATER=OFF
     -DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON
     -DTRACY_ENABLE=OFF
+    -DCMAKE_DISABLE_FIND_PACKAGE_LibreSSL=ON
   )

   cmake "${_cmake_options[@]}"

yasumi2136 commented on 2026-06-12 08:43 (UTC)

Support for miniupnp, need to add into source() function:
"miniupnp::git+https://github.com/miniupnp/miniupnp.git"
and into build() function :
git config submodule.externals/miniupnp.url ../miniupnp

don't forget to add a comma in :
b2sums=('SKIP'{,,,,,,,,,,,,})

yasumi2136 commented on 2026-06-10 14:05 (UTC) (edited on 2026-06-10 16:53 (UTC) by yasumi2136)

for people who get problems with ft2build.h (error: file not found) at compile time, just follow these steps :

1- install "freetype2" package
2- copy in PKGBUILD, section "build()" before "cmake" command:

export CFLAGS="$(pkg-config --cflags freetype2) $CFLAGS"
export CXXFLAGS="$(pkg-config --cflags freetype2) $CXXFLAGS"
export LDFLAGS="$(pkg-config --libs freetype2) $LDFLAGS"


What is exactly the problem even with the freetype2 packages installed?

On ArchLinux, it installs the header files in its own folder (freetype2/ft2build.h) in source code, we can see "#include <ft2build.h>" so compilation fails.

abouvier commented on 2026-03-10 03:59 (UTC)

What is your CPU and/or what CXXFLAGS do you have in your makepkg.conf?

chandlerkc commented on 2026-03-10 03:36 (UTC)

For those who got issues with SDL SIMD intrinsics while compiling:

[ 57%] Building CXX object CMakeFiles/shadps4.dir/src/core/libraries/audio/sdl_audio_out.cpp.o
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/immintrin.h:39,
                 from /home/chandler/.cache/yay/shadps4-git/src/shadps4/src/core/libraries/audio/sdl_audio_out.cpp:20:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/smmintrin.h: In function ‘Libraries::AudioOut::SDLPortBackend::ConvertS16_8CH_SIMD(void const*, void*, unsigned int, float const*)’:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/smmintrin.h:489:1: error: inlining failed in call to ‘always_inline’ ‘_mm_cvtepi16_epi32(long long __vector(2))’: target specific option mismatch
  489 | _mm_cvtepi16_epi32 (__m128i __X)
      | ^~~~~~~~~~~~~~~~~~

add -DCMAKE_CXX_FLAGS="-msse4.1" option in cmake configuring and compile again.

rharish commented on 2026-02-07 12:00 (UTC)

Needs to vendor in CLI11 as a submodule now. Here's the diff:

diff --git a/.SRCINFO b/.SRCINFO
index b00ee9e..3fe0ca3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = shadps4-git
    pkgdesc = Sony PlayStation 4 emulator (CLI)
-   pkgver = 0.13.0.r2.g9a3e4ea
+   pkgver = 0.14.0.r1.ge39529c
    pkgrel = 1
    url = https://shadps4.net/
    arch = aarch64
@@ -37,9 +37,10 @@ pkgbase = shadps4-git
    optdepends = renderdoc: for graphics debugging
    optdepends = shadps4-qtlauncher: for official Qt GUI
    optdepends = vulkan-validation-layers: for vulkan debugging
-   provides = shadps4=0.13.0.r2.g9a3e4ea
+   provides = shadps4=0.14.0.r1.ge39529c
    conflicts = shadps4
    source = shadps4::git+https://github.com/shadps4-emu/shadPS4.git
+   source = shadps4-CLI11::git+https://github.com/shadexternals/CLI11.git
    source = shadps4-discord-rpc::git+https://github.com/shadps4-emu/ext-discord-rpc.git
    source = shadps4-hwinfo::git+https://github.com/shadps4-emu/ext-hwinfo.git
    source = shadps4-imgui::git+https://github.com/shadps4-emu/ext-imgui.git
diff --git a/PKGBUILD b/PKGBUILD
index c72cd89..e3cc51d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Alexandre Bouvier <contact@amb.tf>
 _pkgname=shadps4
 pkgname=$_pkgname-git
-pkgver=0.13.0.r2.g9a3e4ea
+pkgver=0.14.0.r1.ge39529c
 pkgrel=1
 pkgdesc="Sony PlayStation 4 emulator (CLI)"
 arch=('aarch64' 'x86_64')
@@ -48,6 +48,7 @@ provides=("$_pkgname=$pkgver")
 conflicts=("$_pkgname")
 source=(
    "$_pkgname::git+https://github.com/shadps4-emu/shadPS4.git"
+   "$_pkgname-CLI11::git+https://github.com/shadexternals/CLI11.git"
    "$_pkgname-discord-rpc::git+https://github.com/shadps4-emu/ext-discord-rpc.git"
    "$_pkgname-hwinfo::git+https://github.com/shadps4-emu/ext-hwinfo.git"
    "$_pkgname-imgui::git+https://github.com/shadps4-emu/ext-imgui.git"
@@ -82,6 +83,7 @@ pkgver() {

 prepare() {
    cd $_pkgname
+   git config submodule.externals/CLI11.url ../$_pkgname-CLI11
    git config submodule.externals/aacdec/fdk-aac.url ../aac
    git config submodule.externals/dear_imgui.url ../$_pkgname-imgui
    git config submodule.externals/discord-rpc.url ../$_pkgname-discord-rpc

abouvier commented on 2026-01-16 22:35 (UTC)

sdl3 is not currently usable, because sdl3-git is forced by sdl3_mixer-git.

But sdl3-git doesn't have version information in the provides array. So a fix is needed in this package instead ;)

patlefort commented on 2026-01-16 22:04 (UTC)

sdl3>=3.1.8 fails with both sdl3 and sdl3-git. Is the version really needed?