惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
Microsoft Azure Blog
Microsoft Azure Blog
L
LangChain Blog
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog
宝玉的分享
宝玉的分享
B
Blog RSS Feed
MongoDB | Blog
MongoDB | Blog
Jina AI
Jina AI
D
Docker
B
Blog
Engineering at Meta
Engineering at Meta
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
I
InfoQ
G
Google Developers Blog
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
T
The Blog of Author Tim Ferriss
大猫的无限游戏
大猫的无限游戏
阮一峰的网络日志
阮一峰的网络日志
U
Unit 42

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - shadps4-git
2026-06-13 · via AUR Newest Packages

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?

abouvier commented on 2025-11-17 16:26 (UTC)

Fixes are needed in both sdl3-git and sdl3_mixer-git.

Joomzie commented on 2025-11-16 12:01 (UTC) (edited on 2025-11-21 01:24 (UTC) by Joomzie)

sdl3_mixer now seems to be a required build dependency, except there is no sdl3_mixer repo package. sdl3_mixer-git is available in the AUR, but it requires sdl3-git to build against since it requires 3.3.0 at minimum. This in turn creates a dependency conflict when building shadps4, as it tries to pull 3.2.26 from the repo.

:: sdl3-3.2.26-1.1 and sdl3-git-3.3.2.r229.g770b38b4f1-1 are in conflict. Remove sdl3-git? [y/N]

Reverting to 3.2.26 after building sdl3_mixer-git does not work, either, and a CMake error regarding sdl3_mixer is produced.

CMake Error at externals/CMakeLists.txt:75 (add_subdirectory):
  The source directory

    /.cache/yay/shadps4-git/src/shadps4/externals/sdl3_mixer

  does not contain a CMakeLists.txt file.

To add, sdl3_mixer-git seems too new, anyway. Having that installed, as well as including sdl3_mixer in the submodules list will kick off the build, but it ultimately fails with this error:

[100%] Linking CXX executable shadps4
...
/usr/bin/ld: /usr/lib/libSDL3_mixer.so.0.1.0: undefined reference to `SDL_PutAudioStreamPlanarData@SDL3_0.0.0'
/usr/bin/ld: /usr/lib/libSDL3_mixer.so.0.1.0: undefined reference to `SDL_PutAudioStreamDataNoCopy@SDL3_0.0.0'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/shadps4.dir/build.make:5222: shadps4] Error 1
make[1]: *** [CMakeFiles/Makefile2:463: CMakeFiles/shadps4.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().