git: fc0866723164 - main - emulators/wine-devel: Enable Wayland support by default

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Fri, 13 Jun 2025 21:37:27 UTC
The branch main has been updated by gerald:

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

commit fc086672316439e97293db8fb82722985e7daa71
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2025-06-13 12:12:35 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2025-06-13 21:36:18 +0000

    emulators/wine-devel: Enable Wayland support by default
    
    On the way move all WAYLAND option helpers together, now aligned with
    the emulators/wine port.
---
 emulators/wine-devel/Makefile | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index 42173a71f552..5195e922d452 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wine
 DISTVERSION=	10.6
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	emulators
 MASTER_SITES=	https://dl.winehq.org/wine/source/10.x/
@@ -72,7 +72,7 @@ PIE_UNSAFE=	yes
 PORTDATA=	wine.inf
 
 OPTIONS_DEFINE=	CUPS DOCS DOSBOX GNUTLS V4L WAYLAND X11 GECKO MONO
-OPTIONS_DEFAULT=ALSA GNUTLS X11
+OPTIONS_DEFAULT=ALSA GNUTLS WAYLAND X11
 OPTIONS_RADIO=	AUDIO
 OPTIONS_RADIO_AUDIO=	ALSA OSS
 OPTIONS_SUB=	yes
@@ -100,10 +100,6 @@ GNUTLS_LIB_DEPENDS=	libgnutls.so:security/gnutls
 
 MONO_RUN_DEPENDS=	wine-mono-devel>0:emulators/wine-mono-devel
 
-WAYLAND_BUILD_DEPENDS=	${LOCALBASE}/include/linux/input.h:devel/evdev-proto
-WAYLAND_LIB_DEPENDS=	libwayland-client.so:graphics/wayland \
-			libxkbcommon.so:x11/libxkbcommon
-
 OSS_CONFIGURE_WITH=	oss
 OSS_USES=		gnome gstreamer
 OSS_USE=		GNOME=glib20
@@ -113,6 +109,9 @@ V4L_BUILD_DEPENDS=	${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
 V4L_LIB_DEPENDS=	libv4l2.so:multimedia/libv4l
 
 WAYLAND_CONFIGURE_WITH=	wayland
+WAYLAND_BUILD_DEPENDS=	${LOCALBASE}/include/linux/input.h:devel/evdev-proto
+WAYLAND_LIB_DEPENDS=	libwayland-client.so:graphics/wayland \
+			libxkbcommon.so:x11/libxkbcommon
 
 X11_CONFIGURE_WITH=	x fontconfig freetype opengl xinerama xinput2 xrandr xrender
 X11_USES=		gl xorg