meson: require orc 0.4.24 here too
authorTim-Philipp Müller <tim@centricular.com>
Mon, 3 Oct 2016 07:56:55 +0000 (08:56 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 3 Oct 2016 07:56:55 +0000 (08:56 +0100)
Needed for some video stuff. Same requirement as in
the autotools build.

meson.build

index 75de4a3..93a1a42 100644 (file)
@@ -17,6 +17,7 @@ else
 endif
 
 glib_req = '>= 2.40.0'
+orc_req = '>= 0.4.24'
 gst_req = '>= @0@.@1@.0'.format(gst_version_major, gst_version_minor)
 
 api_version = '1.0'
@@ -162,7 +163,7 @@ orcc_args = []
 if get_option('use_orc') != 'no'
   need_orc = get_option('use_orc') == 'yes'
   # Used by various libraries/elements that use Orc code
-  orc_dep = dependency('orc-0.4', version : '>= 0.4.17', required : need_orc)
+  orc_dep = dependency('orc-0.4', version : orc_req, required : need_orc)
   orcc = find_program('orcc', required : need_orc)
   if orc_dep.found() and orcc.found()
     have_orcc = true