From 7f16fd77361f52224f06038ac2344e5dd71baff9 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 6 Jun 2024 16:35:18 +0530 Subject: [PATCH] meson: Fix gtk4 plugin build on linux dmabuf feature needs the wayland feature too. Part-of: --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index c6599a64..a6c1000f 100644 --- a/meson.build +++ b/meson.build @@ -283,7 +283,8 @@ if get_option('gtk4').allowed() gst_allocators_dep = dependency('gstreamer-allocators-1.0', version: '>=1.24', required: false) gtk_dep = dependency('gtk4', version: '>=4.6', required: get_option('gtk4')) if gtk_dep.found() - if host_system == 'linux' and gtk_dep.version().version_compare('>=4.14') and gst_allocators_dep.found() + if host_system == 'linux' and gtk_dep.version().version_compare('>=4.14') and \ + gst_allocators_dep.found() and 'wayland' in gtk4_features gtk4_features += 'dmabuf' endif