-cdata.set_quoted('GST_PACKAGE_NAME', gst_package_name)
-cdata.set_quoted('GST_PACKAGE_ORIGIN', get_option('package-origin'))
-
-# Mandatory GST deps
-gst_dep = dependency('gstreamer-1.0', version : gst_req,
- fallback : ['gstreamer', 'gst_dep'])
-gstapp_dep = dependency('gstreamer-app-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'app_dep'])
-gstvideo_dep = dependency('gstreamer-video-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'video_dep'])
-gstpbutils_dep = dependency('gstreamer-pbutils-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'pbutils_dep'])
-gsttag_dep = dependency('gstreamer-tag-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'tag_dep'])
-gstfft_dep = dependency('gstreamer-fft-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'fft_dep'])
-gstaudio_dep = dependency('gstreamer-audio-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'audio_dep'])
-gstbase_dep = dependency('gstreamer-base-1.0', version : gst_req,
- fallback : ['gstreamer', 'gst_base_dep'])
-gstriff_dep = dependency('gstreamer-riff-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'riff_dep'])
-gstrtp_dep = dependency('gstreamer-rtp-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'rtp_dep'])
-gstnet_dep = dependency('gstreamer-net-1.0', version : gst_req,
- fallback : ['gstreamer', 'gst_net_dep'])
-gstsdp_dep = dependency('gstreamer-sdp-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'sdp_dep'])
-gstrtsp_dep = dependency('gstreamer-rtsp-1.0', version : gst_req,
- fallback : ['gst-plugins-base', 'rtsp_dep'])
-gstcheck_dep = dependency('gstreamer-check-1.0', version : gst_req,
- required : get_option('tests'),
- fallback : ['gstreamer', 'gst_check_dep'])
-gstcontroller_dep = dependency('gstreamer-controller-1.0', version : gst_req,
- fallback : ['gstreamer', 'gst_controller_dep'])
-
-orc_dep = dependency('orc-0.4', version : '>= 0.4.16', required : get_option('orc'),
- fallback : ['orc', 'orc_dep'])
-if orc_dep.found()
- cdata.set('HAVE_ORC', 1) # used by a52dec for cpu detection
+
+gst_plugins_doc_dep = custom_target('plugins-doc-cache',
+ command: [python3, '-c', 'print("Built all doc caches")'],
+ input: plugins_doc_caches,
+ output: 'plugins_doc_caches',
+ capture: true,
+)
+
+if meson.is_cross_build() or build_machine.system() == 'windows'
+ if get_option('doc').enabled()
+ error('Documentation enabled but building the doc while cross building or building on windows is not supported yet.')
+ endif
+
+ documented_projects = ''
+ message('Documentation not built as building the documentation while cross building or building on windows is not supported yet.')