pbutils: Add audio, base and video library to Requires line in the pkg-config file

We use all those libraries internally and include headers from them in
the public headers.

And add the tag library to Requires.private as we use it internally and
it would be needed when doing static linking.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/537
This commit is contained in:
Sebastian Dröge 2019-01-14 10:29:54 +02:00
parent e48b8033e3
commit 21d34edb1e
2 changed files with 4 additions and 2 deletions

View file

@ -10,7 +10,8 @@ typelibdir=@abs_top_builddir@/gst-libs/gst/pbutils
Name: GStreamer Base Utils Library, Uninstalled
Description: General utility functions, uninstalled
Version: @VERSION@
Requires: gstreamer-@GST_API_VERSION@
Requires: gstreamer-@GST_API_VERSION@ gstreamer-audio-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@
Requires.private: gstreamer-tag-@GST_API_VERSION@
Libs: -L${libdir} -lgstpbutils-@GST_API_VERSION@
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs

View file

@ -9,7 +9,8 @@ typelibdir=${libdir}/girepository-1.0
Name: GStreamer Base Utils Library
Description: General utility functions
Requires: gstreamer-@GST_API_VERSION@
Requires: gstreamer-@GST_API_VERSION@ gstreamer-audio-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@
Requires.private: gstreamer-tag-@GST_API_VERSION@
Version: @VERSION@
Libs: -L${libdir} -lgstpbutils-@GST_API_VERSION@
Cflags: -I${includedir}