From 2575b61cd01d5c579bae117c1b789f3b1787de75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Tue, 15 Feb 2022 11:09:57 +0100 Subject: [PATCH] Require GTK 4.6.0 for new plugin --- lib/gst/plugin/meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/gst/plugin/meson.build b/lib/gst/plugin/meson.build index 4fa0b566..94259c93 100644 --- a/lib/gst/plugin/meson.build +++ b/lib/gst/plugin/meson.build @@ -38,6 +38,14 @@ if not have_gtk_gl_windowing endif endif +if not gtk4_dep.version().version_compare('>=4.6.0') + if gst_clapper_plugin_option.enabled() + error('GTK4 version on this system is too old, plugin needs 4.6.0+') + else + subdir_done() + endif +endif + gst_clapper_plugin_sources = [ 'gstclappersink.c', 'gtkclapperobject.c',