Fix gstreamer-validate-1.0 dependency name

The gst-devtools project generates gstreamer-validate-1.0.pc, this
must match the dependency in gst-editing-services for detection
to work properly.

Fixes:
Run-time dependency gst-validate-1.0 found: NO (tried pkgconfig and cmake)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3872>
This commit is contained in:
James Hilliard 2023-01-31 21:38:09 -07:00 committed by GStreamer Marge Bot
parent 26978734fe
commit 30c2036acb

View file

@ -110,7 +110,7 @@ if host_machine.system() != 'windows'
endif
gstcontroller_dep = dependency('gstreamer-controller-1.0', version : gst_req,
fallback : ['gstreamer', 'gst_controller_dep'])
gstvalidate_dep = dependency('gst-validate-1.0', version : gst_req, required : get_option('validate'),
gstvalidate_dep = dependency('gstreamer-validate-1.0', version : gst_req, required : get_option('validate'),
fallback : ['gst-devtools', 'validate_dep'])
gio_dep = dependency('gio-2.0', version: glib_req)