From fb0f11442fc6f557eaea6cff5043d61a6d395298 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Fri, 17 Apr 2020 19:01:46 +0000 Subject: [PATCH] x11-servers/xwayland: expose x11/nvidia-driver support Disabled for now as runtime wasn't tested. EGLStreams is supported by x11-wm/mutter and x11-wm/plasma5-kwin. PR: 244242 Approved by: zeising (x11) --- x11-servers/xorg-server/Makefile | 2 +- x11-servers/xwayland/Makefile | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile index b1d21c2b368c..b13accdb7a09 100644 --- a/x11-servers/xorg-server/Makefile +++ b/x11-servers/xorg-server/Makefile @@ -19,7 +19,7 @@ RUN_DEPENDS+= xkeyboard-config>=2.5:x11/xkeyboard-config \ SLAVE_PORT?= no OPTIONS_SUB= yes -OPTIONS_DEFINE= SUID +OPTIONS_DEFINE+= SUID OPTIONS_RADIO= CONF OPTIONS_RADIO_CONF= DEVD UDEV OPTIONS_DEFAULT= SUID diff --git a/x11-servers/xwayland/Makefile b/x11-servers/xwayland/Makefile index 6e5a2a090516..531c48dfc8c1 100644 --- a/x11-servers/xwayland/Makefile +++ b/x11-servers/xwayland/Makefile @@ -25,6 +25,12 @@ CONFIGURE_ARGS+=--disable-dmx --disable-xephyr --disable-xnest --disable-xvfb \ PLIST_FILES= bin/Xwayland +OPTIONS_DEFINE= NVIDIA + +NVIDIA_DESC= EGLStream support for glamor on Xwayland +NVIDIA_BUILD_DEPENDS= egl-wayland>0:graphics/egl-wayland +NVIDIA_CONFIGURE_ENABLE=xwayland-eglstream + do-install: cd ${WRKSRC}/hw/xwayland; DESTDIR=${STAGEDIR} ${MAKE_CMD} install