diff options
author | Edward Hervey <edward@collabora.com> | 2011-12-05 17:53:35 +0100 |
---|---|---|
committer | Edward Hervey <edward@collabora.com> | 2011-12-05 17:53:35 +0100 |
commit | 966626f5fe32a186886a3565055e7d97f99cb0a2 (patch) | |
tree | 555f4d012e5216b67cbc7a143657e712c170c7f3 | |
parent | 92dbbd1e336fe47a4cc831292ccb89fd59f85bbd (diff) |
configure: Use GST_MAJORMINOR and depend on basevideo library
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index b284563..72a996b 100644 --- a/configure.ac +++ b/configure.ac @@ -7,6 +7,7 @@ AC_INIT([gst-ducati],[0.11.0]) dnl required versions of gstreamer and plugins-base GST_MAJORMINOR=0.11 GST_REQUIRED=0.11.0 +AC_SUBST(GST_MAJORMINOR) AC_CONFIG_SRCDIR([src/gstducati.c]) AC_CONFIG_HEADERS([config.h]) @@ -86,6 +87,7 @@ PKG_CHECK_MODULES(GST, [ gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED gstreamer-plugins-bad-$GST_MAJORMINOR + gstreamer-basevideo ], [ AC_SUBST(GST_CFLAGS) AC_SUBST(GST_LIBS) diff --git a/src/Makefile.am b/src/Makefile.am index ab60933..ee27442 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -36,6 +36,6 @@ libgstducati_la_SOURCES = \ # compiler and linker flags used to compile this plugin, set in configure.ac libgstducati_la_CFLAGS = $(GST_CFLAGS) $(MEMMGR_CFLAGS) $(LIBDCE_CFLAGS) -DGST_USE_UNSTABLE_API -libgstducati_la_LIBADD = $(GST_LIBS) $(MEMMGR_LIBS) $(LIBDCE_LIBS) -lgstvideo-0.10 -lgstbasevideo-0.10 +libgstducati_la_LIBADD = $(GST_LIBS) $(MEMMGR_LIBS) $(LIBDCE_LIBS) -lgstvideo-$(GST_MAJORMINOR) -lgstbasevideo-$(GST_MAJORMINOR) libgstducati_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_ALL_LDFLAGS) --no-undefined libgstducati_la_LIBTOOLFLAGS = --tag=disable-static |