meson: add fallbacks for gst modules

For gst-all.
This commit is contained in:
Tim-Philipp Müller 2016-10-20 21:40:18 +01:00
parent ff65732270
commit 34ed1d0bea

View file

@ -44,13 +44,20 @@ rtspserver_args = ['-DHAVE_CONFIG_H']
rtspserver_incs = include_directories('gst/rtsp-server', '.') rtspserver_incs = include_directories('gst/rtsp-server', '.')
glib_dep = dependency('glib-2.0', version : glib_req) glib_dep = dependency('glib-2.0', version : glib_req)
gst_dep = dependency('gstreamer-1.0', version : gst_req) gst_dep = dependency('gstreamer-1.0', version : gst_req,
gstcheck_dep = dependency('gstreamer-check-1.0', version : gst_req) fallback : ['gstreamer', 'gst_dep'])
gstrtsp_dep = dependency('gstreamer-rtsp-1.0', version : gst_req) gstcheck_dep = dependency('gstreamer-check-1.0', version : gst_req,
gstrtp_dep = dependency('gstreamer-rtp-1.0', version : gst_req) fallback : ['gstreamer', 'gst_check_dep'])
gstsdp_dep = dependency('gstreamer-sdp-1.0', version : gst_req) gstrtsp_dep = dependency('gstreamer-rtsp-1.0', version : gst_req,
gstapp_dep = dependency('gstreamer-app-1.0', version : gst_req) fallback : ['gst-plugins-base', 'rtsp_dep'])
gstnet_dep = dependency('gstreamer-net-1.0', version : gst_req) gstrtp_dep = dependency('gstreamer-rtp-1.0', version : gst_req,
fallback : ['gst-plugins-base', 'rtp_dep'])
gstsdp_dep = dependency('gstreamer-sdp-1.0', version : gst_req,
fallback : ['gst-plugins-base', 'sdp_dep'])
gstapp_dep = dependency('gstreamer-app-1.0', version : gst_req,
fallback : ['gst-plugins-base', 'app_dep'])
gstnet_dep = dependency('gstreamer-net-1.0', version : gst_req,
fallback : ['gstreamer', 'gst_net_dep'])
subdir('gst') subdir('gst')
subdir('tests') subdir('tests')