mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
meson: Add support for fallback subprojects
This commit is contained in:
parent
c8260a1545
commit
2b65075908
1 changed files with 30 additions and 15 deletions
45
meson.build
45
meson.build
|
@ -88,21 +88,36 @@ cdata.set('GST_PACKAGE_ORIGIN', '"Unknown package origin"')
|
||||||
cdata.set('GST_LICENSE', '"LGPL"')
|
cdata.set('GST_LICENSE', '"LGPL"')
|
||||||
|
|
||||||
# Mandatory GST deps
|
# Mandatory GST deps
|
||||||
gst_dep = dependency('gstreamer-1.0', version : gst_req)
|
gst_dep = dependency('gstreamer-1.0', version : gst_req,
|
||||||
gstapp_dep = dependency('gstreamer-app-1.0', version : gst_req)
|
fallback : ['gstreamer', 'gst_dep'])
|
||||||
gstvideo_dep = dependency('gstreamer-video-1.0', version : gst_req)
|
gstapp_dep = dependency('gstreamer-app-1.0', version : gst_req,
|
||||||
gstpbutils_dep = dependency('gstreamer-pbutils-1.0', version : gst_req)
|
fallback : ['gst-plugins-base', 'app_dep'])
|
||||||
gsttag_dep = dependency('gstreamer-tag-1.0', version : gst_req)
|
gstvideo_dep = dependency('gstreamer-video-1.0', version : gst_req,
|
||||||
gstfft_dep = dependency('gstreamer-fft-1.0', version : gst_req)
|
fallback : ['gst-plugins-base', 'video_dep'])
|
||||||
gstaudio_dep = dependency('gstreamer-audio-1.0', version : gst_req)
|
gstpbutils_dep = dependency('gstreamer-pbutils-1.0', version : gst_req,
|
||||||
gstbase_dep = dependency('gstreamer-base-1.0', version : gst_req)
|
fallback : ['gst-plugins-base', 'pbutils_dep'])
|
||||||
gstriff_dep = dependency('gstreamer-riff-1.0', version : gst_req)
|
gsttag_dep = dependency('gstreamer-tag-1.0', version : gst_req,
|
||||||
gstrtp_dep = dependency('gstreamer-rtp-1.0', version : gst_req)
|
fallback : ['gst-plugins-base', 'tag_dep'])
|
||||||
gstnet_dep = dependency('gstreamer-net-1.0', version : gst_req)
|
gstfft_dep = dependency('gstreamer-fft-1.0', version : gst_req,
|
||||||
gstsdp_dep = dependency('gstreamer-sdp-1.0', version : gst_req)
|
fallback : ['gst-plugins-base', 'fft_dep'])
|
||||||
gstrtsp_dep = dependency('gstreamer-rtsp-1.0', version : gst_req)
|
gstaudio_dep = dependency('gstreamer-audio-1.0', version : gst_req,
|
||||||
gstcheck_dep = dependency('gstreamer-check-1.0', version : gst_req)
|
fallback : ['gst-plugins-base', 'audio_dep'])
|
||||||
gstcontroller_dep = dependency('gstreamer-controller-1.0', version : gst_req)
|
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,
|
||||||
|
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 : false)
|
orc_dep = dependency('orc-0.4', version : '>= 0.4.16', required : false)
|
||||||
if orc_dep.found()
|
if orc_dep.found()
|
||||||
|
|
Loading…
Reference in a new issue