tests: gst-plugins-base and -bad plugins are required for the unit tests

Make hard requirement until we have more fine-grained control
in the unit tests. Of course the presence of the .pc file doesn't
imply that the plugins we need are actually there, but it's at
least a step in the right direction.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/126>
This commit is contained in:
Tim-Philipp Müller 2020-05-27 17:32:02 +01:00 committed by GStreamer Merge Bot
parent fe5d29ee3f
commit 92215f2f37

View file

@ -1,7 +1,7 @@
pluginsdirs = []
if gst_dep.type_name() == 'pkgconfig'
pbase = dependency('gstreamer-plugins-base-' + api_version, required : false)
pbad = dependency('gstreamer-plugins-bad-' + api_version, required : false)
pbase = dependency('gstreamer-plugins-base-' + api_version, required: true)
pbad = dependency('gstreamer-plugins-bad-' + api_version, required: true)
pluginsdirs = [gst_dep.get_pkgconfig_variable('pluginsdir'),
pbase.get_pkgconfig_variable('pluginsdir'),