diff --git a/meson.build b/meson.build index 19f0d9f3ef..a8d9f9e365 100644 --- a/meson.build +++ b/meson.build @@ -44,13 +44,20 @@ rtspserver_args = ['-DHAVE_CONFIG_H'] rtspserver_incs = include_directories('gst/rtsp-server', '.') glib_dep = dependency('glib-2.0', version : glib_req) -gst_dep = dependency('gstreamer-1.0', version : gst_req) -gstcheck_dep = dependency('gstreamer-check-1.0', version : gst_req) -gstrtsp_dep = dependency('gstreamer-rtsp-1.0', version : gst_req) -gstrtp_dep = dependency('gstreamer-rtp-1.0', version : gst_req) -gstsdp_dep = dependency('gstreamer-sdp-1.0', version : gst_req) -gstapp_dep = dependency('gstreamer-app-1.0', version : gst_req) -gstnet_dep = dependency('gstreamer-net-1.0', version : gst_req) +gst_dep = dependency('gstreamer-1.0', version : gst_req, + fallback : ['gstreamer', 'gst_dep']) +gstcheck_dep = dependency('gstreamer-check-1.0', version : gst_req, + fallback : ['gstreamer', 'gst_check_dep']) +gstrtsp_dep = dependency('gstreamer-rtsp-1.0', version : gst_req, + fallback : ['gst-plugins-base', 'rtsp_dep']) +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('tests')