[snappy] snappy: link against gst-interfaces-0.10



commit 166ae625f1cc21587b7ad474a2b65ebbe0e99fc2
Author: Luis de Bethencourt <luis debethencourt com>
Date:   Tue May 22 15:04:58 2012 +0100

    snappy: link against gst-interfaces-0.10

 configure.ac    |    6 ++++++
 src/Makefile.am |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2546ffc..5776741 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,6 +34,7 @@ AC_CANONICAL_HOST
 
 GST_0_10_REQS=0.10.20
 GST_PBUTILS=0.10.30
+GST_INTERFACES=0.10.30
 CLUTTER_REQS=1.6.0
 CLUTTER_GST_1_0_REQS=1.4.0
 CLUTTER_GST_0_10_REQS=0.10.0
@@ -52,6 +53,11 @@ PKG_CHECK_MODULES([GST_PBUTILS],
 AC_SUBST(GST_PBUTILS_CFLAGS)
 AC_SUBST(GST_PBUTILS_LIBS)
 
+PKG_CHECK_MODULES([GST_INTERFACES],
+    [gstreamer-interfaces-0.10 >= $GST_INTERFACES])
+AC_SUBST(GST_INTERFACES_CFLAGS)
+AC_SUBST(GST_INTERFACES_LIBS)
+
 PKG_CHECK_MODULES([CLUTTER],
     [clutter-1.0 >= $CLUTTER_REQS])
 AC_SUBST(CLUTTER_CFLAGS)
diff --git a/src/Makefile.am b/src/Makefile.am
index 93216e2..f8dc27a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -20,7 +20,7 @@ CLEANFILES =
 bin_PROGRAMS = snappy
 
 snappy_SOURCES = $(c_sources)
-snappy_CFLAGS = $(CLUTTER_CFLAGS) $(GSTREAMER_0_10_CFLAGS) $(GST_PBUTILS_CFLAGS) $(CLUTTER_GST_CFLAGS) $(GIO_CFLAGS) $(XTEST_CFLAGS) -DSNAPPY_DATA_DIR="\"$(pkgdatadir)\""
-snappy_LDADD = $(CLUTTER_LIBS) $(GSTREAMER_0_10_LIBS) $(GST_PBUTILS_LIBS) $(CLUTTER_GST_LIBS) $(GIO_LIBS) $(XTEST_LIBS)
+snappy_CFLAGS = $(CLUTTER_CFLAGS) $(GSTREAMER_0_10_CFLAGS) $(GST_PBUTILS_CFLAGS) $(GST_INTERFACES_CFLAGS) $(CLUTTER_GST_CFLAGS) $(GIO_CFLAGS) $(XTEST_CFLAGS) -DSNAPPY_DATA_DIR="\"$(pkgdatadir)\""
+snappy_LDADD = $(CLUTTER_LIBS) $(GSTREAMER_0_10_LIBS) $(GST_PBUTILS_LIBS) $(GST_INTERFACES_CFLAGS) $(CLUTTER_GST_LIBS) $(GIO_LIBS) $(XTEST_LIBS)
 
 noinst_HEADERS = $(public_headers)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]