video: Rename video_color_transfer to video_transfer_function
[platform/upstream/gstreamer.git] / meson.build
index 75c5bf8..6de8787 100644 (file)
@@ -1,6 +1,6 @@
 project('gst-plugins-base', 'c',
-  version : '1.17.2.1',
-  meson_version : '>= 0.48',
+  version : '1.19.0.1',
+  meson_version : '>= 0.54',
   default_options : [ 'warning_level=1',
                       'buildtype=debugoptimized' ])
 
@@ -16,8 +16,15 @@ else
 endif
 gst_version_is_dev = gst_version_minor % 2 == 1 and gst_version_micro < 90
 
+host_system = host_machine.system()
+
 have_cxx = add_languages('cpp', native: false, required: false)
-have_objc = add_languages('objc', native: false, required: false)
+
+if host_system in ['ios', 'darwin']
+  have_objc = add_languages('objc', native: false)
+else
+  have_objc = false
+endif
 
 glib_req = '>= 2.44.0'
 orc_req = '>= 0.4.24'
@@ -35,7 +42,6 @@ plugins_install_dir = join_paths(get_option('libdir'), 'gstreamer-1.0')
 plugins = []
 
 cc = meson.get_compiler('c')
-host_system = host_machine.system()
 
 if cc.get_id() == 'msvc'
   # Ignore several spurious warnings for things gstreamer does very commonly
@@ -417,6 +423,7 @@ if find_program('xgettext', required : get_option('nls')).found()
   subdir('po')
 endif
 subdir('docs')
+subdir('scripts')
 
 if have_orcc
   update_orc_dist_files = find_program('scripts/update-orc-dist-files.py')