From 1f6148d9f4c2398258661e606a2584fb20f8a010 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 20 Feb 2020 11:42:02 +0000 Subject: [PATCH] x11-servers/xwayland: expose x11/nvidia-driver support --- 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 636e1fc655dc..778ae63b760c 100644 --- a/x11-servers/xorg-server/Makefile +++ b/x11-servers/xorg-server/Makefile @@ -20,7 +20,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