From 21d34edb1ec211964739b080bfea5620fca84117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 14 Jan 2019 10:29:54 +0200 Subject: [PATCH] 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 --- pkgconfig/gstreamer-pbutils-uninstalled.pc.in | 3 ++- pkgconfig/gstreamer-pbutils.pc.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgconfig/gstreamer-pbutils-uninstalled.pc.in b/pkgconfig/gstreamer-pbutils-uninstalled.pc.in index df85b1f440..b18804e518 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 31369e5247..02cea73fcb 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}