[banshee] build: default to GstreamerSharp backend



commit 6bad3f59526a519a2243752466b4d9a2ba8abc44
Author: Andrés G. Aragoneses <knocte gmail com>
Date:   Sat Dec 21 19:07:13 2013 +0100

    build: default to GstreamerSharp backend

 build/m4/banshee/gstreamer.m4 |   30 +++++++++++++++---------------
 configure.ac                  |    2 +-
 2 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/build/m4/banshee/gstreamer.m4 b/build/m4/banshee/gstreamer.m4
index 729a69f..db2baf0 100644
--- a/build/m4/banshee/gstreamer.m4
+++ b/build/m4/banshee/gstreamer.m4
@@ -2,21 +2,7 @@ AC_DEFUN([BANSHEE_CHECK_GSTREAMER],
 [
        GSTREAMER_SHARP_REQUIRED_VERSION=0.99.0
 
-       AC_ARG_ENABLE(gst_sharp, AC_HELP_STRING([--enable-gst-sharp], [Enable Gst# backend]), , 
enable_gst_sharp="no")
-
-       if test "x$enable_gst_sharp" = "xyes"; then
-               PKG_CHECK_MODULES(GST_SHARP, gstreamer-sharp-1.0 >= $GSTREAMER_SHARP_REQUIRED_VERSION)
-               AC_SUBST(GST_SHARP_LIBS)
-               AM_CONDITIONAL(ENABLE_GST_SHARP, true)
-
-               AC_ARG_ENABLE(gst_native, AC_HELP_STRING([--enable-gst-native], [Enable GStreamer native 
backend]), , enable_gst_native="no")
-
-       else
-               AM_CONDITIONAL(ENABLE_GST_SHARP, false)
-
-               AC_ARG_ENABLE(gst_native, AC_HELP_STRING([--disable-gst-native], [Disable GStreamer native 
backend]), , enable_gst_native="yes")
-       fi
-
+       AC_ARG_ENABLE(gst_native, AC_HELP_STRING([--enable-gst-native], [Enable GStreamer native backend]), , 
enable_gst_native="no")
 
        if test "x$enable_gst_native" = "xyes"; then
                BANSHEE_CHECK_LIBBANSHEE
@@ -37,7 +23,21 @@ AC_DEFUN([BANSHEE_CHECK_GSTREAMER],
                AC_SUBST(GST_CFLAGS)
                AC_SUBST(GST_LIBS)
                AM_CONDITIONAL(ENABLE_GST_NATIVE, true)
+
+               AC_ARG_ENABLE(gst_sharp, AC_HELP_STRING([--enable-gst-sharp], [Enable Gst# backend]), , 
enable_gst_sharp="no")
        else
                AM_CONDITIONAL(ENABLE_GST_NATIVE, false)
+
+               AC_ARG_ENABLE(gst_sharp, AC_HELP_STRING([--disable-gst-sharp], [Disable Gst# backend]), , 
enable_gst_sharp="yes")
+       fi
+
+
+       if test "x$enable_gst_sharp" = "xyes"; then
+               PKG_CHECK_MODULES(GST_SHARP, gstreamer-sharp-1.0 >= $GSTREAMER_SHARP_REQUIRED_VERSION)
+               AC_SUBST(GST_SHARP_LIBS)
+
+               AM_CONDITIONAL(ENABLE_GST_SHARP, true)
+       else
+               AM_CONDITIONAL(ENABLE_GST_SHARP, false)
        fi
 ])
diff --git a/configure.ac b/configure.ac
index a29c18f..dcfe96b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -338,6 +338,7 @@ ${PACKAGE}-${VERSION}
     Gtk#:                  ${gtk_sharp_version}
 
   Media/Graphics:
+    GStreamer# backend:    ${enable_gst_sharp}
     GStreamer C backend:   ${enable_gst_native}
     Clutter:               ${enable_clutter}
 
@@ -376,7 +377,6 @@ EOF
 if test "x$enable_moonlight" = "xyes";    then br=yes; echo "  Moonlight Effects:   ${enable_moonlight}";    
fi
 if test "x$enable_remote_audio" = "xyes"; then br=yes; echo "  Remote Audio:        ${enable_remote_audio}"; 
fi
 if test "x$enable_torrent" = "xyes";      then br=yes; echo "  Torrent Podcasts:    ${enable_torrent}";      
fi
-if test "x$enable_gst_sharp" = "xyes";    then br=yes; echo "  Gst# Backend:        ${enable_gst_sharp} 
(unfinished, experimental!)";      fi
 
 if test -d ${expanded_libdir}/${PACKAGE}; then
        if test x$br = xyes; then echo; fi


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