build: Fix building ges with tools disabled
authorPatrick Griffis <pgriffis@igalia.com>
Mon, 24 Oct 2022 19:40:55 +0000 (14:40 -0500)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 25 Oct 2022 08:53:19 +0000 (08:53 +0000)
If you configure with `tools=disabled` then ges_launch is undefined.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3259>

subprojects/gst-editing-services/tests/check/meson.build

index 34c1344..267a84b 100644 (file)
@@ -75,7 +75,7 @@ foreach t : ges_tests
   endif
 endforeach
 
-if gstvalidate_dep.found()
+if gstvalidate_dep.found() and not get_option('tools').disabled()
   # filename: is .validatetest
   scenarios = {
     'check_video_track_restriction_scale': false,