diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2018-03-13 23:09:58 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2018-03-14 09:34:39 +0200 |
commit | f6520ee9dbd4746f9b22e17900f927ac5f7dc3be (patch) | |
tree | a58cce9e19b57461e22dd9bd5529cf3a645fb689 | |
parent | abcb96b6984337fc28bd5ca5e8d8e5d370004bbb (diff) |
pkg-config: Add orc-0.4 to Requires.private of gstreamer-audio and gstreamer-video
https://bugzilla.gnome.org/show_bug.cgi?id=794307
-rw-r--r-- | configure.ac | 7 | ||||
-rw-r--r-- | pkgconfig/gstreamer-audio-uninstalled.pc.in | 1 | ||||
-rw-r--r-- | pkgconfig/gstreamer-audio.pc.in | 1 | ||||
-rw-r--r-- | pkgconfig/gstreamer-video-uninstalled.pc.in | 1 | ||||
-rw-r--r-- | pkgconfig/gstreamer-video.pc.in | 1 | ||||
-rw-r--r-- | pkgconfig/meson.build | 1 |
6 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 452c6cfc5..39ea1dae1 100644 --- a/configure.ac +++ b/configure.ac @@ -280,6 +280,13 @@ AG_GST_GLIB_CHECK([$GLIB_REQ]) ORC_CHECK([0.4.24]) +dnl For Requires.private in pkg-config files +ORC_PC= +if test x"$HAVE_ORC" = "xyes"; then + ORC_PC="orc-0.4" +fi +AC_SUBST(ORC_PC) + dnl checks for gstreamer dnl uninstalled is selected preferentially -- see pkg-config(1) AG_GST_CHECK_GST($GST_API_VERSION, [$GST_REQ], yes) diff --git a/pkgconfig/gstreamer-audio-uninstalled.pc.in b/pkgconfig/gstreamer-audio-uninstalled.pc.in index b6528bb7e..badcc070d 100644 --- a/pkgconfig/gstreamer-audio-uninstalled.pc.in +++ b/pkgconfig/gstreamer-audio-uninstalled.pc.in @@ -11,6 +11,7 @@ Name: GStreamer Audio Library, Uninstalled Description: Audio helper functions and base classes, uninstalled Version: @VERSION@ Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ +Requires.private: @ORC_PC@ Libs: -L${libdir} -lgstaudio-@GST_API_VERSION@ Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs diff --git a/pkgconfig/gstreamer-audio.pc.in b/pkgconfig/gstreamer-audio.pc.in index 28b0662b3..efb83725d 100644 --- a/pkgconfig/gstreamer-audio.pc.in +++ b/pkgconfig/gstreamer-audio.pc.in @@ -10,6 +10,7 @@ typelibdir=${libdir}/girepository-1.0 Name: GStreamer Audio library Description: Audio helper functions and base classes Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ +Requires.private: @ORC_PC@ Version: @VERSION@ Libs: -L${libdir} -lgstaudio-@GST_API_VERSION@ Cflags: -I${includedir} diff --git a/pkgconfig/gstreamer-video-uninstalled.pc.in b/pkgconfig/gstreamer-video-uninstalled.pc.in index 59140a1e5..4dd1d09cd 100644 --- a/pkgconfig/gstreamer-video-uninstalled.pc.in +++ b/pkgconfig/gstreamer-video-uninstalled.pc.in @@ -11,6 +11,7 @@ Name: GStreamer Video Library, Uninstalled Description: Video base classes and helper functions, uninstalled Version: @VERSION@ Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ +Requires.private: @ORC_PC@ Libs: -L${libdir} -lgstvideo-@GST_API_VERSION@ Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs diff --git a/pkgconfig/gstreamer-video.pc.in b/pkgconfig/gstreamer-video.pc.in index 84e748436..af96773ed 100644 --- a/pkgconfig/gstreamer-video.pc.in +++ b/pkgconfig/gstreamer-video.pc.in @@ -10,6 +10,7 @@ typelibdir=${libdir}/girepository-1.0 Name: GStreamer Video Library Description: Video base classes and helper functions Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ +Requires.private: @ORC_PC@ Version: @VERSION@ Libs: -L${libdir} -lgstvideo-@GST_API_VERSION@ Cflags: -I${includedir} diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build index f167729bc..04abfbee5 100644 --- a/pkgconfig/meson.build +++ b/pkgconfig/meson.build @@ -7,6 +7,7 @@ pkgconf.set('includedir', '${prefix}/@0@'.format(get_option('includedir'))) pkgconf.set('GST_API_VERSION', api_version) pkgconf.set('VERSION', gst_version) pkgconf.set('LIBM', libm.found() ? '-lm' : '') +pkgconf.set('ORC_PC', have_orcc ? 'orc-0.4' : '') # needed for generating -uninstalled.pc files pkgconf.set('abs_top_builddir', join_paths(meson.current_build_dir(), '..')) |