meson: fail build if gbm/mesa < 17.1.0
We need mesa 17.1.0 for gbm_bo_get_offset and gbm_bo_get_stride_for_plane
We need mesa 17.0.0 for EGL_TEXTURE_EXTERNAL_WL
@@ -44,7 +44,7 @@ wayland_protos = dependency('wayland-protocols')
egl = dependency('egl')
glesv2 = dependency('glesv2')
drm = dependency('libdrm')
-gbm = dependency('gbm')
+gbm = dependency('gbm', version: '>=17.1.0')
libinput = dependency('libinput')
xkbcommon = dependency('xkbcommon')
udev = dependency('libudev')
