Index: x11-wm/plasma5-kwin/Makefile =================================================================== --- x11-wm/plasma5-kwin/Makefile (revision 558389) +++ x11-wm/plasma5-kwin/Makefile (working copy) @@ -23,9 +23,7 @@ libxcb-image.so:x11/xcb-util-image \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxkbcommon.so:x11/libxkbcommon -BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ - Xwayland:x11-servers/xwayland -RUN_DEPENDS= Xwayland:x11-servers/xwayland +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto USES= cmake compiler:c++11-lib cpe gettext gl gnome kde:5 pkgconfig python:3.5+,run \ qt:5 shebangfix tar:xz xorg @@ -46,6 +44,18 @@ SHEBANG_FILES= kconf_update/kwin-5.18-move-animspeed.py \ kconf_update/kwinrules-5.19-placement.pl +OPTIONS_SINGLE= XWAYLAND +OPTIONS_SINGLE_XWAYLAND= NORMAL DEVEL +OPTIONS_DEFAULT= NORMAL + +NORMAL_DESC= Use the stable version of xwayland +NORMAL_BUILD_DEPENDS= Xwayland:x11-servers/xwayland +NORMAL_RUN_DEPENDS= Xwayland:x11-servers/xwayland + +DEVEL_DESC= Use the development version of xwayland +DEVEL_BUILD_DEPENDS= xwayland-devel>0:x11-servers/xwayland-devel +DEVEL_RUN_REPENDS= xwayland-devel>0:x11-servers/xwayland-devel + post-patch: ${REINPLACE_CMD} '/sysmacros.h/d' \ ${PATCH_WRKSRC}/logind.cpp