git: 11923b719e13 - main - x11/plasma6-plasma-desktop: Add X11 option and remove unused dependency

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Tue, 23 Dec 2025 08:39:56 UTC
The branch main has been updated by makc:

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

commit 11923b719e13d223cab5484cdf9629aee15e37da
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2025-12-23 08:39:49 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2025-12-23 08:39:49 +0000

    x11/plasma6-plasma-desktop: Add X11 option and remove unused dependency
    
    PR: 291594, 291602
---
 x11/plasma6-plasma-desktop/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/x11/plasma6-plasma-desktop/Makefile b/x11/plasma6-plasma-desktop/Makefile
index c73d347f819e..a2069448ae1f 100644
--- a/x11/plasma6-plasma-desktop/Makefile
+++ b/x11/plasma6-plasma-desktop/Makefile
@@ -6,7 +6,6 @@ MAINTAINER=	kde@FreeBSD.org
 COMMENT=	KDE Plasma Desktop
 
 BUILD_DEPENDS=	wayland-protocols>=0:graphics/wayland-protocols \
-		xf86-input-evdev>0:x11-drivers/xf86-input-evdev \
 		xf86-input-libinput>0:x11-drivers/xf86-input-libinput \
 		libinput>0:x11/libinput
 LIB_DEPENDS=	libcanberra.so:audio/libcanberra \
@@ -19,9 +18,7 @@ LIB_DEPENDS=	libcanberra.so:audio/libcanberra \
 		libxkbcommon.so:x11/libxkbcommon \
 		libxkbfile.so:x11/libxkbfile
 RUN_DEPENDS=	noto-emoji>0:x11-fonts/noto-emoji \
-		xdg-user-dir:devel/xdg-user-dirs \
-		xf86-input-evdev>0:x11-drivers/xf86-input-evdev \
-		xf86-input-libinput>0:x11-drivers/xf86-input-libinput
+		xdg-user-dir:devel/xdg-user-dirs
 
 USES=		cmake gettext gl gnome kde:6 pkgconfig python qt:6 tar:xz xorg
 USE_GL=		gl opengl
@@ -39,7 +36,8 @@ USE_KDE=	activities activities-stats attica auth baloo bookmarks \
 USE_QT=		5compat base declarative svg wayland
 USE_XORG=	x11 xcb xcursor xext xfixes xi xrender
 
-OPTIONS_DEFINE=		SDL
+OPTIONS_DEFINE=		SDL X11
+OPTIONS_DEFAULT=	X11
 OPTIONS_GROUP=		IM
 IM_DESC=		Input Method Support
 OPTIONS_GROUP_IM=	IBUS SCIM
@@ -58,4 +56,6 @@ SDL_USES=		sdl
 SDL_USE=		sdl=sdl2
 SDL_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_SDL2
 
+X11_RUN_DEPENDS=	xf86-input-libinput>0:x11-drivers/xf86-input-libinput
+
 .include <bsd.port.mk>