Require GTK 4.6.0 for new plugin

This commit is contained in:
Rafał Dzięgiel
2022-02-15 11:09:57 +01:00
parent 9abf2fb11d
commit 2575b61cd0

View File

@@ -38,6 +38,14 @@ if not have_gtk_gl_windowing
endif endif
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 = [ gst_clapper_plugin_sources = [
'gstclappersink.c', 'gstclappersink.c',
'gtkclapperobject.c', 'gtkclapperobject.c',