git: 3826e8624f2f - main - emulators/pcsx2: Remove WAYLAND option

From: Ganael LAPLANCHE <martymac_at_FreeBSD.org>
Date: Fri, 04 Sep 2026 15:41:43 UTC
The branch main has been updated by martymac:

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

commit 3826e8624f2ff17491f0b9ffc41298904fdd145d
Author:     Hywel Andrews <owlandrews@protonmail.com>
AuthorDate: 2026-09-04 15:37:11 +0000
Commit:     Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2026-09-04 15:37:11 +0000

    emulators/pcsx2: Remove WAYLAND option
    
    Enable WAYLAND unconditionally as it does not need any additional
    dependency.
    
    PR:     298078
    Reported by:    arrowd
---
 emulators/pcsx2/Makefile | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/emulators/pcsx2/Makefile b/emulators/pcsx2/Makefile
index 47c6351d60f5..71347c0d893d 100644
--- a/emulators/pcsx2/Makefile
+++ b/emulators/pcsx2/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	pcsx2
 PORTVERSION=	2.6.3
 DISTVERSIONPREFIX=	v
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	emulators
 
 MAINTAINER=	martymac@FreeBSD.org
@@ -42,7 +42,7 @@ LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
 		libzstd.so:archivers/zstd
 
 USES=		cmake compiler:c++20-lang desktop-file-utils elfctl gl jpeg \
-		pkgconfig qt:6 sdl xorg
+		kde:6 pkgconfig qt:6 sdl xorg
 
 USE_GITHUB=	yes
 GH_PROJECT=	pcsx2
@@ -51,6 +51,7 @@ USE_GL=		egl
 USE_SDL=	sdl3 ttf3
 USE_XORG=	ice x11 xcb xext xi xpm xrandr xrender
 USE_QT=		base declarative tools
+USE_KDE=	ecm:build
 ELF_FEATURES=	+wxneeded:bin/pcsx2-qt
 
 # SSE 4.1 instructions are a hard requirement, if CPUTYPE is defined
@@ -69,14 +70,10 @@ CMAKE_ARGS+=	-DCMAKE_LOCALBASE:STRING=${LOCALBASE} \
 		-DCMAKE_REQUIRED_INCLUDES:STRING=${LOCALBASE}/include/ \
 		-DENABLE_TESTS:BOOL=OFF \
 		-DPCSX2_RESOURCES_PATH:STRING=${DATADIR}/resources \
-		-DUSE_VTUNE:BOOL=OFF
-
-OPTIONS_DEFINE=	DOCS WAYLAND
-
-WAYLAND_USES=		kde:6
-WAYLAND_USE=		KDE=ecm:build
-WAYLAND_CMAKE_BOOL=	WAYLAND_API
+		-DUSE_VTUNE:BOOL=OFF \
+		-DWAYLAND_API=ON
 
+OPTIONS_DEFINE=	DOCS
 PORTDOCS=	GameIndex.pdf
 
 # Stable releases use an even minor number