configure: check for plugins-base and others (bgo#721587)

This would prevent a build failure when trying to 'make' the glue:

generated.c: In function 'gst__tagssharp_gst__tags_tagdemux_get_element_offset':
generated.c:1092:2: error: unknown type name 'GstTagDemux'
  return (guint)G_STRUCT_OFFSET (GstTagDemux, element);
  ^
This commit is contained in:
Andrés G. Aragoneses 2014-01-05 19:29:16 +01:00 committed by Stephan Sundermann
parent 23f69be8fd
commit b47125ea7a

View file

@ -133,8 +133,16 @@ AC_SUBST(MDASSEMBLER)
AC_SUBST(MONODOCER)
AM_CONDITIONAL(ENABLE_MONODOC, test "x$enable_monodoc" = "xyes")
dnl Check for Gst
PKG_CHECK_MODULES(GST, gstreamer-1.0)
GSTREAMER_REQUIRED_VERSION=1.0.0
PKG_CHECK_MODULES(GST,
gstreamer-1.0 >= $GSTREAMER_REQUIRED_VERSION
gstreamer-base-1.0 >= $GSTREAMER_REQUIRED_VERSION
gstreamer-plugins-base-1.0 >= $GSTREAMER_REQUIRED_VERSION
gstreamer-tag-1.0 >= $GSTREAMER_REQUIRED_VERSION
)
gstreamer_prefix=/usr
AC_SUBST(gstreamer_prefix)
AC_SUBST(GST_LIBS)