git: b9175e759d16 - main - emulators/pcsx2: Update to 2.8.2

From: Ganael LAPLANCHE <martymac_at_FreeBSD.org>
Date: Wed, 30 Sep 2026 10:37:56 UTC
The branch main has been updated by martymac:

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

commit b9175e759d16eda54a145cee75e0ff38111ac7f1
Author:     Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2026-09-30 10:37:09 +0000
Commit:     Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2026-09-30 10:37:34 +0000

    emulators/pcsx2: Update to 2.8.2
---
 emulators/pcsx2/Makefile                                      |  8 +++++---
 emulators/pcsx2/distinfo                                      |  6 +++---
 .../files/patch-3rdparty_rapidyaml_include_c4_yml_common.hpp  | 11 -----------
 emulators/pcsx2/files/patch-pcsx2-GS-GSCapture.cpp            |  4 ++--
 emulators/pcsx2/pkg-plist                                     |  5 +++--
 5 files changed, 13 insertions(+), 21 deletions(-)

diff --git a/emulators/pcsx2/Makefile b/emulators/pcsx2/Makefile
index 71347c0d893d..e160f2e57203 100644
--- a/emulators/pcsx2/Makefile
+++ b/emulators/pcsx2/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	pcsx2
-PORTVERSION=	2.6.3
+PORTVERSION=	2.8.2
 DISTVERSIONPREFIX=	v
-PORTREVISION=	3
 CATEGORIES=	emulators
 
 MAINTAINER=	martymac@FreeBSD.org
@@ -16,14 +15,16 @@ ONLY_FOR_ARCHS=	amd64
 BUILD_DEPENDS=	vulkan-headers>0:graphics/vulkan-headers
 # Notes on dependencies (see cmake/SearchForStuff.cmake):
 # - glad comes from 3rdparty/ (conflicts with libglvnd)
-# - fmt, rapidyaml, soundtouch, zydis, libzip
+# - fmt, soundtouch, zydis, libzip
 #   are always included from 3rdparty/
 LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
 		libavformat.so:multimedia/ffmpeg \
 		libavutil.so:multimedia/ffmpeg \
 		libbacktrace.so:devel/libbacktrace \
+		libc4core.so:devel/c4core \
 		libcurl.so:ftp/curl \
 		libdbus-1.so:devel/dbus \
+		libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2 \
 		libjack.so:audio/jack \
 		libkddockwidgets-qt6.so:x11-toolkits/kddockwidgets \
@@ -32,6 +33,7 @@ LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
 		libplutovg.so:graphics/plutovg \
 		libpng.so:graphics/png \
 		libpulse.so:audio/pulseaudio \
+		libryml.so:devel/rapidyaml \
 		libshaderc_shared.so:graphics/shaderc \
 		libsndio.so:audio/sndio \
 		libswresample.so:multimedia/ffmpeg \
diff --git a/emulators/pcsx2/distinfo b/emulators/pcsx2/distinfo
index 6e94e3a9959e..e6551e794b22 100644
--- a/emulators/pcsx2/distinfo
+++ b/emulators/pcsx2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1779664132
-SHA256 (pcsx2-pcsx2-v2.6.3_GH0.tar.gz) = f77f999d57229720486d12fce98a4cb957cec8a2cabce79f4f936bdae11d24e7
-SIZE (pcsx2-pcsx2-v2.6.3_GH0.tar.gz) = 29166310
+TIMESTAMP = 1790266481
+SHA256 (pcsx2-pcsx2-v2.8.2_GH0.tar.gz) = 8d1762d568c92198e61a284064d0e5c0d2c6ab1c5bac60ef1330dd0fe44d10a7
+SIZE (pcsx2-pcsx2-v2.8.2_GH0.tar.gz) = 23260938
diff --git a/emulators/pcsx2/files/patch-3rdparty_rapidyaml_include_c4_yml_common.hpp b/emulators/pcsx2/files/patch-3rdparty_rapidyaml_include_c4_yml_common.hpp
deleted file mode 100644
index 6fd0c31051ae..000000000000
--- a/emulators/pcsx2/files/patch-3rdparty_rapidyaml_include_c4_yml_common.hpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- 3rdparty/rapidyaml/include/c4/yml/common.hpp.orig	2026-01-28 16:36:27 UTC
-+++ 3rdparty/rapidyaml/include/c4/yml/common.hpp
-@@ -11,6 +11,8 @@
- 
- #if defined(C4_MSVC) || defined(C4_MINGW) || defined(_WIN32) || defined(C4_WIN)
- #include <malloc.h>
-+#elif defined(__FreeBSD__)
-+#include <stdlib.h>
- #else
- #include <alloca.h>
- #endif
diff --git a/emulators/pcsx2/files/patch-pcsx2-GS-GSCapture.cpp b/emulators/pcsx2/files/patch-pcsx2-GS-GSCapture.cpp
index 064024f863e6..b9d0ad0e8116 100644
--- a/emulators/pcsx2/files/patch-pcsx2-GS-GSCapture.cpp
+++ b/emulators/pcsx2/files/patch-pcsx2-GS-GSCapture.cpp
@@ -6,7 +6,7 @@ Date: Sat, 8 Aug 2026 18:52:32 +0700
 Subject: [PATCH] GSCapture: Switch the use of `pix_fmts` with
  `avcodec_get_supported_config()`
 
---- pcsx2/GS/GSCapture.cpp.orig	2026-01-28 16:36:27 UTC
+--- pcsx2/GS/GSCapture.cpp.orig	2026-09-25 08:15:35 UTC
 +++ pcsx2/GS/GSCapture.cpp
 @@ -67,6 +67,7 @@ extern "C" {
  	X(avcodec_receive_packet) \
@@ -66,7 +66,7 @@ Subject: [PATCH] GSCapture: Switch the use of `pix_fmts` with
 +
  		if (!supports_format)
  		{
- 			Console.WriteLn(fmt::format("Audio codec '{}' does not support S16 samples, using default.", acodec->name));
+ 			Console.WriteLn(fmt::format("Audio codec '{}' does not support float samples, using default.", acodec->name));
 -			s_audio_codec_context->sample_fmt = acodec->sample_fmts[0];
 +			s_audio_codec_context->sample_fmt = supported_sample_fmts[0];
  			s_swr_context = wrap_swr_alloc();
diff --git a/emulators/pcsx2/pkg-plist b/emulators/pcsx2/pkg-plist
index ee31cb37ce35..bb464676f5e4 100644
--- a/emulators/pcsx2/pkg-plist
+++ b/emulators/pcsx2/pkg-plist
@@ -3,11 +3,11 @@ share/applications/PCSX2.desktop
 %%DATADIR%%/resources/GameIndex.yaml
 %%DATADIR%%/resources/RedumpDatabase.yaml
 %%DATADIR%%/resources/cover-placeholder.png
-%%DATADIR%%/resources/fonts/NotoColorEmoji-Regular-license
-%%DATADIR%%/resources/fonts/NotoColorEmoji-Regular.ttf
 %%DATADIR%%/resources/fonts/Roboto-Regular-copyright
 %%DATADIR%%/resources/fonts/Roboto-Regular.ttf
 %%DATADIR%%/resources/fonts/RobotoMono-Medium.ttf
+%%DATADIR%%/resources/fonts/Twemoji.Mozilla-license
+%%DATADIR%%/resources/fonts/Twemoji.Mozilla.ttf
 %%DATADIR%%/resources/fonts/fa-solid-900.ttf
 %%DATADIR%%/resources/fonts/promptfont-license
 %%DATADIR%%/resources/fonts/promptfont.otf
@@ -31,6 +31,7 @@ share/applications/PCSX2.desktop
 %%DATADIR%%/resources/icons/flags/Other.svg
 %%DATADIR%%/resources/icons/flags/at.svg
 %%DATADIR%%/resources/icons/flags/au.svg
+%%DATADIR%%/resources/icons/flags/az.svg
 %%DATADIR%%/resources/icons/flags/be.svg
 %%DATADIR%%/resources/icons/flags/br.svg
 %%DATADIR%%/resources/icons/flags/ch.svg