pbutils: Add audio, base and video library to Requires line in the pkg-config file
authorSebastian Dröge <sebastian@centricular.com>
Mon, 14 Jan 2019 08:29:54 +0000 (10:29 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 14 Jan 2019 08:31:48 +0000 (10:31 +0200)
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

pkgconfig/gstreamer-pbutils-uninstalled.pc.in
pkgconfig/gstreamer-pbutils.pc.in

index df85b1f..b18804e 100644 (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
 
index 31369e5..02cea73 100644 (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}