ekiga r7057 - in trunk: . lib/engine/components lib/engine/components/gstreamer



Author: jpuydt
Date: Tue Sep 23 05:51:35 2008
New Revision: 7057
URL: http://svn.gnome.org/viewvc/ekiga?rev=7057&view=rev

Log:
Preliminary support for compiling gstreamer code (configure&Makefile work)

Added:
   trunk/lib/engine/components/gstreamer/
   trunk/lib/engine/components/gstreamer/Makefile.am
Modified:
   trunk/configure.ac
   trunk/lib/engine/components/Makefile.am

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Tue Sep 23 05:51:35 2008
@@ -503,6 +503,23 @@
 
 
 dnl ###############################
+dnl    GStreamer Support
+dnl ###############################
+GSTREAMER="disabled"
+
+AC_ARG_ENABLE(gstreamer, [  --enable-gstreamer            Enable GStreamer support],enable_gstreamer=yes,)
+
+if test "x$enable_gstreamer" = "xyes"; then
+  PKG_CHECK_MODULES([GSTREAMER], [gstreamer-plugins-base-0.10 gstreamer-interfaces-0.10], [found_gstreamer=yes])
+  AC_SUBST(GSTREAMER_CFLAGS)
+  AC_SUBST(GSTREAMER_LIBS)
+  GSTREAMER="enabled"
+  AC_DEFINE(HAVE_GSTREAMER,1,[GStreamer support])
+fi
+
+AM_CONDITIONAL(HAVE_GSTREAMER, test "x$found_gstreamer" = "xyes")
+
+dnl ###############################
 dnl   Gnome-Doc-Utils
 dnl ###############################
 GDU="disabled"
@@ -690,6 +707,7 @@
 lib/engine/components/Makefile
 lib/engine/components/gmconf-personal-details/Makefile
 lib/engine/components/avahi-publisher/Makefile
+lib/engine/components/gstreamer/Makefile
 )
 
 
@@ -722,6 +740,7 @@
 echo "            DBUS service support  :  $DBUS_SERVICE"
 echo "             mDNS/DNS-SD support  :  $AVAHI"
 fi
+echo "               GStreamer support  :  $GSTREAMER"
 echo ""
 echo "                         OS Type  :  $target_os"
 echo "                    Machine Type  :  $target_cpu"

Modified: trunk/lib/engine/components/Makefile.am
==============================================================================
--- trunk/lib/engine/components/Makefile.am	(original)
+++ trunk/lib/engine/components/Makefile.am	Tue Sep 23 05:51:35 2008
@@ -2,4 +2,8 @@
 AVAHI_DIR = avahi-publisher
 endif
 
-SUBDIRS = gmconf-personal-details $(AVAHI_DIR)
+if HAVE_GSTREAMER
+GSTREAMER_DIR = gstreamer
+endif
+
+SUBDIRS = gmconf-personal-details $(AVAHI_DIR) $(GSTREAMER_DIR)

Added: trunk/lib/engine/components/gstreamer/Makefile.am
==============================================================================



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