git: 1d87036e2c9d - main - emulators/pcsx2: Update to 2.3.212

From: Ganael LAPLANCHE <martymac_at_FreeBSD.org>
Date: Mon, 16 Jun 2025 10:52:37 UTC
The branch main has been updated by martymac:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1d87036e2c9d4e0aa29b7f007c4b55cc13e8902f

commit 1d87036e2c9d4e0aa29b7f007c4b55cc13e8902f
Author:     Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2025-06-16 10:50:59 +0000
Commit:     Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2025-06-16 10:50:59 +0000

    emulators/pcsx2: Update to 2.3.212
    
    Also, re-enable Vulkan support
---
 emulators/pcsx2/Makefile                                   | 13 ++++---------
 emulators/pcsx2/distinfo                                   |  6 +++---
 emulators/pcsx2/files/patch-pcsx2-qt-AutoUpdaterDialog.cpp | 11 +++++++++++
 3 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/emulators/pcsx2/Makefile b/emulators/pcsx2/Makefile
index ac607abce08e..886ef0e69fed 100644
--- a/emulators/pcsx2/Makefile
+++ b/emulators/pcsx2/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	pcsx2
-PORTVERSION=	2.3.9
-PORTREVISION=	2
+PORTVERSION=	2.3.212
 DISTVERSIONPREFIX=	v
 CATEGORIES=	emulators
 
@@ -42,7 +41,7 @@ USE_GITHUB=	yes
 GH_PROJECT=	pcsx2
 
 USE_GL=		egl
-USE_SDL=	sdl2
+USE_SDL=	sdl3
 USE_XORG=	ice x11 xcb xext xpm xrandr xrender
 USE_QT=		base tools
 ELF_FEATURES=	+wxneeded:bin/pcsx2-qt
@@ -58,17 +57,13 @@ EXTRA_PATCHES=	${PATCHDIR}/extra-patch-no-march-minimum-req
 .endif
 
 # See: cmake/BuildParameters.cmake
-# XXX Vulkan support needs libshaderc_shared.so:graphics/shaderc but
-# Pcsx2 embeds its own -patched/incompatible- version
-# (see: .github/workflows/scripts/common/shaderc-changes.patch) so we just
-# disable it for now.
+# XXX Vulkan comes from 3rdparty/
 CMAKE_ARGS+=	\
 		-DCMAKE_REQUIRED_INCLUDES:STRING=${LOCALBASE}/include/ \
 		-DPCSX2_RESOURCES_PATH:STRING=${DATADIR}/resources \
 		-DUSE_VTUNE:BOOL=OFF \
 		-DWAYLAND_API=OFF \
-		-DENABLE_TESTS:BOOL=OFF \
-		-DUSE_VULKAN:BOOL=OFF
+		-DENABLE_TESTS:BOOL=OFF
 
 OPTIONS_DEFINE=	DOCS
 PORTDOCS=	Debugger.pdf GameIndex.pdf
diff --git a/emulators/pcsx2/distinfo b/emulators/pcsx2/distinfo
index 44d930ca0c86..7ad172abe331 100644
--- a/emulators/pcsx2/distinfo
+++ b/emulators/pcsx2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1731685315
-SHA256 (pcsx2-pcsx2-v2.3.9_GH0.tar.gz) = e5daaa396b02f0617c8f65eb12d7f2084ba60d995694759611769d293785ac08
-SIZE (pcsx2-pcsx2-v2.3.9_GH0.tar.gz) = 17112802
+TIMESTAMP = 1749583437
+SHA256 (pcsx2-pcsx2-v2.3.212_GH0.tar.gz) = 4f4de87d324501818af0805f54f3fafe3be036badcdec86b93ac7895a2155fdb
+SIZE (pcsx2-pcsx2-v2.3.212_GH0.tar.gz) = 20115629
diff --git a/emulators/pcsx2/files/patch-pcsx2-qt-AutoUpdaterDialog.cpp b/emulators/pcsx2/files/patch-pcsx2-qt-AutoUpdaterDialog.cpp
new file mode 100644
index 000000000000..65743dc02ce9
--- /dev/null
+++ b/emulators/pcsx2/files/patch-pcsx2-qt-AutoUpdaterDialog.cpp
@@ -0,0 +1,11 @@
+--- pcsx2-qt/AutoUpdaterDialog.cpp.orig	2025-06-11 12:23:15 UTC
++++ pcsx2-qt/AutoUpdaterDialog.cpp
+@@ -53,6 +53,8 @@ static constexpr u32 HTTP_POLL_INTERVAL = 10;
+ #define UPDATE_PLATFORM_STR "Linux"
+ #elif defined(__APPLE__)
+ #define UPDATE_PLATFORM_STR "MacOS"
++#elif defined(__FreeBSD__)
++#define UPDATE_PLATFORM_STR "FreeBSD"
+ #endif
+ 
+ #ifdef MULTI_ISA_SHARED_COMPILATION