From 9daf41e18f2f9ad0ed8beb1838133a4f4724a48b Mon Sep 17 00:00:00 2001 From: The412Banner Date: Sat, 26 Sep 2026 06:11:16 -0400 Subject: [PATCH] shadPS4 build: pkg-config for the arm64 target so SDL3 has PulseAudio --- tools/shadps4/build-in-debian.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/shadps4/build-in-debian.sh b/tools/shadps4/build-in-debian.sh index b65f5be77..d324c9764 100755 --- a/tools/shadps4/build-in-debian.sh +++ b/tools/shadps4/build-in-debian.sh @@ -39,6 +39,10 @@ for p in $(ls tools/shadps4/patches/*.patch | sort); do git -C "$SRC" apply --whitespace=nowarn "$WORK/$p" done +# pkg-config answers for the arm64 target, not the x86-64 host: SDL3 finds PulseAudio (libpulse) +# only through it, and without it builds ALSA alone. +export PKG_CONFIG_LIBDIR=/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig +pkg-config --modversion libpulse bash "$SRC/runtime/scripts/build-shadps4-arm64.sh" BIN=$SRC/runtime/build/shadps4-arm64-stage/bin/shadps4-arm64 test -x "$BIN"