validate: Add gst-video to Requires in pkg-config
`gst/validate/validate.h` includes `gst/validate/gst-validate-media-info.h`, which in turn includes `gst/pbutils/pbutils.h` but `gstreamer-pbutils-1.0` was only listed in `Requires.private` field of `gstreamer-validate-1.0.pc`. This would cause projects linking against `gstreamer-validate-1.0.pc` to fail to find the headers when using alternative interpretation of pkg-config specification that only considers private dependencies for include path during static builds, such as the case e.g. on Nix. https://gitlab.freedesktop.org/pkg-config/pkg-config/-/issues/28 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8661>
This commit is contained in:
parent
bc93bbf5c8
commit
13c0f44dd5
@ -103,7 +103,7 @@ plugin_sources += {
|
|||||||
pkg_name = 'gstreamer-validate-1.0'
|
pkg_name = 'gstreamer-validate-1.0'
|
||||||
library_def = {'lib': gstvalidate}
|
library_def = {'lib': gstvalidate}
|
||||||
pkgconfig.generate(gstvalidate,
|
pkgconfig.generate(gstvalidate,
|
||||||
libraries : [gst_dep],
|
libraries : [gst_dep, gst_pbutils_dep, gst_video_dep],
|
||||||
subdirs : pkgconfig_subdirs,
|
subdirs : pkgconfig_subdirs,
|
||||||
name : pkg_name,
|
name : pkg_name,
|
||||||
description : 'GStreamer Validate',
|
description : 'GStreamer Validate',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user