Add gstvideo in build dependencies
authorEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 28 Sep 2010 14:30:30 +0000 (16:30 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 28 Sep 2010 14:34:53 +0000 (16:34 +0200)
configure.ac
ges/Makefile.am

index 1c3a82ad505ad9acd47a4596b3afb93f6b78208e..4cc64410e2aa448ead5d1043812fbd28f73d849d 100644 (file)
@@ -180,6 +180,14 @@ fi
 AC_SUBST(GST_CONTROLLER_LIBS)
 AC_SUBST(GST_CONTROLLER_CFLAGS)
 
+dnl check for gstvideo
+PKG_CHECK_MODULES(GST_VIDEO, gstreamer-video-$GST_MAJORMINOR, HAVE_GST_VIDEO="yes", HAVE_GST_CONROLLER="no")
+if test "x$HAVE_GST_VIDEO" != "xyes"; then
+  AC_ERROR([gst-video is required for transition support])
+fi
+AC_SUBST(GST_VIDEO_LIBS)
+AC_SUBST(GST_VIDEO_CFLAGS)
+
 dnl Check for documentation xrefs
 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
 GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
index da24307911e26582d8b937449cca57dc242f9a97..c3da751defd2642c94cb55c3a11bc273735131f2 100644 (file)
@@ -76,8 +76,8 @@ libges_@GST_MAJORMINOR@include_HEADERS =      \
        ges-screenshot.h                        \
        ges-utils.h
 
-libges_@GST_MAJORMINOR@_la_CFLAGS = -I$(top_srcdir) $(GST_PROFILE_CFLAGS) $(GST_PBUTILS_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
-libges_@GST_MAJORMINOR@_la_LIBADD = $(GST_PROFILE_LIBS) $(GST_PBUTILS_LIBS) $(GST_CONTROLLER_LIBS) $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) 
+libges_@GST_MAJORMINOR@_la_CFLAGS = -I$(top_srcdir) $(GST_PROFILE_CFLAGS) $(GST_PBUTILS_CFLAGS) $(GST_VIDEO_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
+libges_@GST_MAJORMINOR@_la_LIBADD = $(GST_PROFILE_LIBS) $(GST_PBUTILS_LIBS) $(GST_VIDEO_LIBS) $(GST_CONTROLLER_LIBS) $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) 
 libges_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
 
 DISTCLEANFILE = $(CLEANFILES)