Commit 03a109f5 authored by Antonio Ospite's avatar Antonio Ospite

meson: actually check glib dependency version

Actually check the version constraint when looking for the glib

The version check will make meson use the fallback dependency when the
one from the system is not recent enough, and eventually make the build
succeed even on some older systems like Ubuntu 16.04.

Part-of: <!212>
parent 4f0bb60c
Pipeline #215267 waiting for manual action with stages
in 32 seconds
......@@ -101,7 +101,7 @@ gstcontroller_dep = dependency('gstreamer-controller-1.0', version : gst_req,
gstvalidate_dep = dependency('gst-validate-1.0', version : gst_req, required : get_option('validate'),
fallback : ['gst-devtools', 'validate_dep'])
gio_dep = dependency('gio-2.0', fallback: ['glib', 'libgio_dep'])
gio_dep = dependency('gio-2.0', version: glib_req, fallback: ['glib', 'libgio_dep'])
libxml_dep = dependency('libxml-2.0', required: get_option('xptv'))
cdata.set('DISABLE_XPTV', not libxml_dep.found())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment