meson: Don't unconditionally invoke the libsoup subproject
authorNirbheek Chauhan <nirbheek@centricular.com>
Tue, 26 Nov 2024 11:22:05 +0000 (16:52 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 27 Nov 2024 14:32:18 +0000 (14:32 +0000)
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/7982>

subprojects/gst-plugins-bad/tests/check/meson.build

index 40006d09bde66effb48f490e7d768ad933384fdf..1e73b73dab02b0699f8c4575d6102e75de942b15 100644 (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)
 
 enable_gst_play_tests = get_option('gst_play_tests')
-libsoup_dep = dependency('libsoup-2.4', version : '>=2.48', required : enable_gst_play_tests,
-  fallback : ['libsoup', 'libsoup_dep'])
+libsoup_dep = dependency('libsoup-2.4', version: '>=2.48', required: enable_gst_play_tests)
 
 # name, condition when to skip the test and extra dependencies
 base_tests = [