meson: Don't unconditionally invoke the libsoup subproject

fallback: kwarg will invoke the specified subproject even if required:
false, which is not what we want here.

Reported at https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4045#note_2674340

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7965>
This commit is contained in:
Nirbheek Chauhan 2024-11-26 16:52:05 +05:30 committed by GStreamer Marge Bot
parent fa1ed5d210
commit 23a006c64f

View file

@ -16,8 +16,7 @@ exif_dep = dependency('libexif', version : '>= 0.6.16', required : false)
nalutils_dep = gstcodecparsers_dep.partial_dependency (compile_args: true, includes: true) nalutils_dep = gstcodecparsers_dep.partial_dependency (compile_args: true, includes: true)
enable_gst_play_tests = get_option('gst_play_tests') enable_gst_play_tests = get_option('gst_play_tests')
libsoup_dep = dependency('libsoup-2.4', version : '>=2.48', required : enable_gst_play_tests, libsoup_dep = dependency('libsoup-2.4', version: '>=2.48', required: enable_gst_play_tests)
fallback : ['libsoup', 'libsoup_dep'])
# name, condition when to skip the test and extra dependencies # name, condition when to skip the test and extra dependencies
base_tests = [ base_tests = [