# HG changeset patch # User leo_sobral # Date 1169244181 0 # Node ID 0923cd303a9a736807fbdd7f060c6e8577b1a279 # Parent 9f0e61bf49ffffc88843ee77f170d6cf38fe0d37 [svn r286] added gstreamer-base linking in the Makefile.am diff -r 9f0e61bf49ff -r 0923cd303a9a gst-plugins-mythtv/configure.ac --- a/gst-plugins-mythtv/configure.ac Fri Jan 19 19:02:02 2007 +0000 +++ b/gst-plugins-mythtv/configure.ac Fri Jan 19 22:03:01 2007 +0000 @@ -158,20 +158,20 @@ AC_SUBST(GST_LIBS) # check for gstreamer-base plugins (xoverlay interface) -GSTBASE_REQUIRED=0.10 -GSTBASE_MAJORMINOR=0.10 -PKG_CHECK_MODULES(GSTBASE, \ - gstreamer-base-$GSTBASE_MAJORMINOR >= $GSTBASE_REQUIRED, - HAVE_GSTBASE=yes, HAVE_GSTBASE=no) +GST_BASE_REQUIRED=0.10 +GST_BASE_MAJORMINOR=0.10 +PKG_CHECK_MODULES(GST_BASE, \ + gstreamer-base-$GST_BASE_MAJORMINOR >= $GST_BASE_REQUIRED, + HAVE_GST_BASE=yes, HAVE_GST_BASE=no) # Give error and exit if we don't have gstreamer base libraries -if test "x$HAVE_GSTBASE" = "xno"; then +if test "x$HAVE_GST_BASE" = "xno"; then AC_MSG_ERROR(you need gstreamer base development packages installed !) fi -# make GSTBASE_CFLAGS and GSTBASE_LIBS available -AC_SUBST(GSTBASE_CFLAGS) -AC_SUBST(GSTBASE_LIBS) +# make GST_BASE_CFLAGS and GST_BASE_LIBS available +AC_SUBST(GST_BASE_CFLAGS) +AC_SUBST(GST_BASE_LIBS) # make GST_MAJORMINOR available in Makefile.am AC_SUBST(GST_MAJORMINOR) diff -r 9f0e61bf49ff -r 0923cd303a9a gst-plugins-mythtv/src/Makefile.am --- a/gst-plugins-mythtv/src/Makefile.am Fri Jan 19 19:02:02 2007 +0000 +++ b/gst-plugins-mythtv/src/Makefile.am Fri Jan 19 22:03:01 2007 +0000 @@ -3,16 +3,18 @@ plugin_LTLIBRARIES = libgstmythtvsrc.la libgstmythtvsrc_la_SOURCES = \ - gstmythtvsrc.c + gstmythtvsrc.c libgstmythtvsrc_la_CFLAGS = \ $(GST_CFLAGS) \ + $(GST_BASE_CFLAGS) \ $(GMYTH_CFLAGS) libgstmythtvsrc_la_LDFLAGS = \ $(GST_PLUGIN_LDFLAGS) libgstmythtvsrc_la_LIBADD = \ + $(GST_LIBS) \ $(GST_BASE_LIBS) \ $(GMYTH_LIBS)