aboutsummaryrefslogtreecommitdiffstats
path: root/pcsx2/README
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-21 17:28:07 +0200
committerDanilo M. <danix@danix.xyz>2026-09-21 17:28:07 +0200
commite01824515806d2943aa9266a9befaf37b740ac2c (patch)
tree5397050cd74aec75c3b76c8c0b7f0f95eea0ee2a /pcsx2/README
parent42fe2e72960409caeb5d59137f17492a4d72335e (diff)
downloadmy-slackbuilds-e01824515806d2943aa9266a9befaf37b740ac2c.tar.gz
my-slackbuilds-e01824515806d2943aa9266a9befaf37b740ac2c.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'pcsx2/README')
-rw-r--r--pcsx2/README22
1 files changed, 22 insertions, 0 deletions
diff --git a/pcsx2/README b/pcsx2/README
new file mode 100644
index 0000000..11198c1
--- /dev/null
+++ b/pcsx2/README
@@ -0,0 +1,22 @@
+pcsx2 (PlayStation 2 emulator)
+
+PCSX2 is a free and open-source PlayStation 2 (PS2) emulator.
+
+Its purpose is to emulate the PS2's hardware, using a combination of
+MIPS CPU Interpreters, Recompilers and a Virtual Machine which manages
+hardware states and PS2 system memory.
+
+PCSX2 requires a CPU that supports the SSE4.1 instruction set.
+
+Check your processor flags with lscpu for sse4_1.
+
+PCSX2 requires a GPU that supports OpenGL 3.3 or Vulkan 1.1.
+
+This build targets Slackware -current, which already provides SDL3, Qt6,
+libpng, libjpeg-turbo, libwebp, lz4, zstd, ffmpeg and the Vulkan
+headers at the versions upstream expects. Only libbacktrace, plutovg,
+plutosvg, rapidyaml and shaderc are built here, statically, into the
+binary.
+
+Upstream only supports clang, so the build uses the clang/lld from
+-current's llvm package.