x11-wm/plasma6-kwin: make dependency on libei explicit and optional.

x11/libei is pulled via x11-servers/xwayland.

PR:		286041
Submitted by:	freebsd@chillt.de

(cherry picked from commit 6c13b3efbd)
This commit is contained in:
Max Brazhnikov 2025-04-13 01:05:41 +03:00
parent 1a3b76fb38
commit c7e2d2c930
2 changed files with 9 additions and 1 deletions

View file

@ -49,4 +49,12 @@ USE_XORG= ice sm x11 xcb xext xi
BINARY_ALIAS= python3=${PYTHON_CMD}
SHEBANG_FILES= src/plugins/strip-effect-metadata.py
OPTIONS_DEFINE= EI
OPTIONS_DEFAULT= EI
OPTIONS_SUB= yes
EI_DESC= Emulated input for Wayland
EI_LIB_DEPENDS= libei.so:x11/libei
EI_CMAKE_BOOL= KWIN_BUILD_EIS
.include <bsd.port.mk>

View file

@ -316,7 +316,7 @@ lib/libkwin.so.%%KDE_PLASMA_VERSION%%
%%QT_PLUGINDIR%%/kwin/plugins/KeyNotificationPlugin.so
%%QT_PLUGINDIR%%/kwin/plugins/StickyKeysPlugin.so
%%QT_PLUGINDIR%%/kwin/plugins/buttonsrebind.so
%%QT_PLUGINDIR%%/kwin/plugins/eis.so
%%EI%%%%QT_PLUGINDIR%%/kwin/plugins/eis.so
%%QT_PLUGINDIR%%/kwin/plugins/krunnerintegration.so
%%QT_PLUGINDIR%%/kwin/plugins/nightlight.so
%%QT_PLUGINDIR%%/kwin/plugins/screencast.so