# enables VK_KHR_wayland_surface in Vulkan drivers
.if ${PORT_OPTIONS:MWAYLAND} && !empty(VULKAN_DRIVERS)
MESON_ARGS+= -Dplatforms=x11,surfaceless,drm,wayland
.else
MESON_ARGS+= -Dplatforms=x11,surfaceless,drm
.endif
MESON_ARGS+= -Ddri-drivers="${DRI_DRIVERS:ts,:tl}" \
.if ${PORT_OPTIONS:MWAYLAND}
.if ${ARCH} == "i386"