From e01824515806d2943aa9266a9befaf37b740ac2c Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 21 Sep 2026 17:28:07 +0200 Subject: pcsx2: add version 2.8.2 Port the 2.4.0 script from Slackware 15.0 to -current. 15.0 shipped none of the libraries pcsx2 needs, so the old script vendored sixteen sources and patched upstream's dependency builder with hardcoded sed line ranges to skip the Qt build. -current already provides SDL3, Qt6, libpng, libjpeg-turbo, libwebp, lz4, zstd, ffmpeg and the Vulkan headers at or above the versions upstream pins, and kddockwidgets 2.4.1 comes from SBo, so both the vendoring and the line-range surgery mostly go away. Five dependencies have no packaged counterpart and are still built here, now directly with upstream's own flags rather than through the patched builder: libbacktrace, plutovg, plutosvg, rapidyaml and shaderc (with its three pinned third-party trees). They are built static into a private prefix that only the build sees, so nothing lands in the package and the old /usr/lib64/pcsx2 libdir and its LD_LIBRARY_PATH desktop wrapper are both gone. Verified: the package ships one binary and no shared objects, no NEEDED entry references the vendored five, and every remaining NEEDED resolves in a clean -current container with only kddockwidgets added. pcsx2 2.8.2 still reads AVCodec::pix_fmts and sample_fmts, removed in ffmpeg 8, so building against -current's ffmpeg 9 fails in GSCapture.cpp. Disable find_package(FFMPEG) to select the bundled headers upstream ships for this case; ffmpeg is dlopen'd at runtime, so capture still uses the system library. Also drop the llvm-opt dependency now that -current's llvm provides clang, restrict ARCH to x86_64 with an explicit error, and remove qt-6.10.patch, which patched the no longer vendored KDDockWidgets 2.2.3. Co-Authored-By: Claude Opus 5 --- README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'README.md') diff --git a/README.md b/README.md index 41dbaa6..d480605 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ Each package lives in its own top-level subfolder: | qtmaildir | ✅ | not tested | ❌ | 0.29.0 | 0.29.0 | | typora-bin | ✅ | not tested | ❌ | 1.14.9 | 1.14.9 | | quickshell | ✅ | ❌ | ❌ | 0.3.1 | 0.3.1 | +| pcsx2 | ✅ | not tested | ❌ | 2.8.2 | 2.8.2 | > **Note on `quickshell`:** Slackware 15.0 ships Qt5 only, so this package is > **Slackware64-current only**. It also relies on private Qt APIs and must be -- cgit v1.2.3