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)
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
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}
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
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}
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(), '..'))