Users of GStreamer are not generally expected to use the GModule API
directly. so don't force them all to link against it.
While we're at it, no need to define this via configure.ac really, just
put the dependencies directly into the .pc.in file.
dnl set location of plugin directory
AG_GST_SET_PLUGINDIR
-GST_PKG_DEPS="glib-2.0, gobject-2.0, gmodule-no-export-2.0, gthread-2.0"
-AC_SUBST(GST_PKG_DEPS)
-
dnl make sure it doesn't complain about unused variables if debugging is disabled
NO_WARNINGS=""
if test "x${GST_DISABLE_GST_DEBUG}" = "xyes"; then
Name: GStreamer Uninstalled
Description: Streaming media framework, Not Installed
Version: @VERSION@
-Requires: @GST_PKG_DEPS@
+Requires: glib-2.0, gobject-2.0, gthread-2.0
+Requires.private: gmodule-no-export-2.0
Libs: @abs_top_builddir@/gst/libgstreamer-@GST_API_VERSION@.la
# FIXME: the libs dir doesn't really belong here
Cflags: -I@abs_top_srcdir@ -I@abs_top_srcdir@/libs -I@abs_top_builddir@ -I@abs_top_builddir@/libs
Name: GStreamer
Description: Streaming media framework
-Requires: @GST_PKG_DEPS@
Version: @VERSION@
+Requires: glib-2.0, gobject-2.0, gthread-2.0
+Requires.private: gmodule-no-export-2.0
Libs: -L${libdir} -lgstreamer-@GST_API_VERSION@
Cflags: -I${includedir}