mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
configure: Depend on gstreamer-discoverer
This commit is contained in:
parent
14a6a5f31d
commit
6753d176d7
2 changed files with 10 additions and 2 deletions
|
@ -164,6 +164,14 @@ fi
|
|||
AC_SUBST(GST_PROFILE_LIBS)
|
||||
AC_SUBST(GST_PROFILE_CFLAGS)
|
||||
|
||||
dnl check for gstreamer-discoverer
|
||||
PKG_CHECK_MODULES(GST_DISCOVERER, gstreamer-discoverer-$GST_MAJORMINOR, HAVE_GST_DISCOVERER="yes", HAVE_GST_DISCOVERER="no")
|
||||
if test "x$HAVE_GST_DISCOVERER" != "xyes"; then
|
||||
AC_ERROR([gst-discoverer is required for rendering support])
|
||||
fi
|
||||
AC_SUBST(GST_DISCOVERER_LIBS)
|
||||
AC_SUBST(GST_DISCOVERER_CFLAGS)
|
||||
|
||||
dnl Check for documentation xrefs
|
||||
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
|
||||
GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
|
||||
|
|
|
@ -43,8 +43,8 @@ libges_@GST_MAJORMINOR@include_HEADERS = \
|
|||
ges-track-filesource.h
|
||||
|
||||
|
||||
libges_@GST_MAJORMINOR@_la_CFLAGS = -I$(top_srcdir) $(GST_PROFILE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
||||
libges_@GST_MAJORMINOR@_la_LIBADD = $(GST_PROFILE_LIBS) $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS)
|
||||
libges_@GST_MAJORMINOR@_la_CFLAGS = -I$(top_srcdir) $(GST_PROFILE_CFLAGS) $(GST_DISCOVERER_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
||||
libges_@GST_MAJORMINOR@_la_LIBADD = $(GST_PROFILE_LIBS) $(GST_DISCOVERER_LIBS) $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS)
|
||||
libges_@GST_MAJORMINOR@_la_LDFLAGS = -lgstprofile-@GST_MAJORMINOR@ $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
||||
|
||||
DISTCLEANFILE = $(CLEANFILES)
|
||||
|
|
Loading…
Reference in a new issue