summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2019-01-14 10:29:54 +0200
committerTim-Philipp Müller <tim@centricular.com>2019-05-01 17:37:05 +0100
commit50a22896364e085c69147dc280842044a4d9a4f6 (patch)
tree15fd60f1a2e05b09c3a06588d01dab2c952ec141
parentb408ac7862b435314489c6e6db9c529e0f2ff946 (diff)
downloadgstreamer-plugins-base-50a22896364e085c69147dc280842044a4d9a4f6.tar.gz
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
-rw-r--r--pkgconfig/gstreamer-pbutils-uninstalled.pc.in3
-rw-r--r--pkgconfig/gstreamer-pbutils.pc.in3
2 files changed, 4 insertions, 2 deletions
diff --git a/pkgconfig/gstreamer-pbutils-uninstalled.pc.in b/pkgconfig/gstreamer-pbutils-uninstalled.pc.in
index df85b1f44..b18804e51 100644
--- a/pkgconfig/gstreamer-pbutils-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-pbutils-uninstalled.pc.in
@@ -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
diff --git a/pkgconfig/gstreamer-pbutils.pc.in b/pkgconfig/gstreamer-pbutils.pc.in
index 31369e524..02cea73fc 100644
--- a/pkgconfig/gstreamer-pbutils.pc.in
+++ b/pkgconfig/gstreamer-pbutils.pc.in
@@ -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}