-# Mandatory GST deps
-gst_dep = dependency('gstreamer-1.0', version : gst_req,
- fallback : ['gstreamer', 'gst_dep'])
-gstbase_dep = dependency('gstreamer-base-1.0', version : gst_req,
- fallback : ['gstreamer', 'gst_base_dep'])
-gstcontroller_dep = dependency('gstreamer-controller-1.0', version : gst_req,
- fallback : ['gstreamer', 'gst_controller_dep'])
-gstallocators_dep = dependency('gstreamer-allocators-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'allocators_dep'])
-
-gstpbutils_dep = dependency('gstreamer-pbutils-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'pbutils_dep'])
-gstaudio_dep = dependency('gstreamer-audio-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'audio_dep'])
-gstfft_dep = dependency('gstreamer-fft-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'fft_dep'])
-gsttag_dep = dependency('gstreamer-tag-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'tag_dep'])
-gstvideo_dep = dependency('gstreamer-video-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'video_dep'])
-
-gstgl_dep = dependency('gstreamer-gl-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'gstgl_dep'], required : false)
-
-x11_dep = dependency('x11', required : false)
-
-gstcheck_dep = dependency('gstreamer-check-1.0', version : gst_req,
- required : get_option('tests'),
- fallback : ['gstreamer', 'gst_check_dep'])
-
-libm = cc.find_library('m', required : false)
-glib_dep = dependency('glib-2.0', version : glib_req, fallback: ['glib', 'libglib_dep'])
-gio_dep = dependency('gio-2.0', version : glib_req, fallback: ['glib', 'libgio_dep'] )
-gmodule_dep = dependency('gmodule-2.0', version : glib_req, fallback: ['glib', 'libgmodule_dep'])
-
-gst_omx_args = ['-DHAVE_CONFIG_H']
-configinc = include_directories('.')
-omx_header_path = get_option('header_path')
-if omx_header_path != ''
- omx_inc = []
- gst_omx_args += ['-I' + omx_header_path]
-else
- omx_inc = include_directories (join_paths ('omx', 'openmax'))