From 98207fda81fc0ead56de966d0b22e2382781cc43 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Sun, 8 Oct 2017 09:55:12 +0900 Subject: [PATCH 1/2] 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 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 3e4cab38..b355dfff 100644 --- a/meson.build +++ b/meson.build @@ -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') From a2f5e60dea9d92d20b773b071992d80de91be674 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Tue, 24 Oct 2017 02:05:36 +0900 Subject: [PATCH 2/2] meson: fail build if libinput < 1.7.0 We need libinput >= 1.7.0 for LIBINPUT_DEVICE_CAP_SWITCH --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index b355dfff..adf3a1fa 100644 --- a/meson.build +++ b/meson.build @@ -45,7 +45,7 @@ egl = dependency('egl') glesv2 = dependency('glesv2') drm = dependency('libdrm') gbm = dependency('gbm', version: '>=17.1.0') -libinput = dependency('libinput') +libinput = dependency('libinput', version: '>=1.7.0') xkbcommon = dependency('xkbcommon') udev = dependency('libudev') pixman = dependency('pixman-1')