From 74b86f7793b52e2a925f283d7e61faf0052de827 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 14 Oct 2013 11:25:39 -0300 Subject: [PATCH] Properly link against gstreamer-video as it is now needed --- validate/configure.ac | 8 ++++++++ validate/tools/Makefile.am | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/validate/configure.ac b/validate/configure.ac index b3209879a6..07eebedf3d 100644 --- a/validate/configure.ac +++ b/validate/configure.ac @@ -140,6 +140,14 @@ fi AC_SUBST(GST_PBUTILS_LIBS) AC_SUBST(GST_PBUTILS_CFLAGS) +dnl check for gstreamer-video +PKG_CHECK_MODULES(GST_VIDEO, gstreamer-video-$GST_API_VERSION, HAVE_GST_VIDEO="yes", HAVE_GST_VIDEO="no") +if test "x$HAVE_GST_VIDEO" != "xyes"; then + AC_ERROR([gst-video is required]) +fi +AC_SUBST(GST_VIDEO_LIBS) +AC_SUBST(GST_VIDEO_CFLAGS) + dnl needed for scenarios definition files GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`" AC_SUBST(GST_PREFIX) diff --git a/validate/tools/Makefile.am b/validate/tools/Makefile.am index 13bbbdb31f..4de7120308 100644 --- a/validate/tools/Makefile.am +++ b/validate/tools/Makefile.am @@ -4,8 +4,8 @@ bin_PROGRAMS = \ gst-validate-transcoding-@GST_API_VERSION@ \ gst-validate-media-check-@GST_API_VERSION@ -AM_CFLAGS = $(GST_ALL_CFLAGS) $(GST_PBUTILS_CFLAGS) -LDADD = $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la $(GST_PBUTILS_LIBS) $(GST_LIBS) +AM_CFLAGS = $(GST_ALL_CFLAGS) $(GST_PBUTILS_CFLAGS) $(GST_VIDEO_CFLAGS) +LDADD = $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la $(GST_PBUTILS_LIBS) $(GST_LIBS) $(GST_VIDEO_LIBS) gst_validate_@GST_API_VERSION@_SOURCES = gst-validate.c gst_validate_transcoding_@GST_API_VERSION@_SOURCES = gst-validate-transcoding.c