gir-repository r130 - in trunk: . gir



Author: rburton
Date: Wed Oct 15 13:58:28 2008
New Revision: 130
URL: http://svn.gnome.org/viewvc/gir-repository?rev=130&view=rev

Log:
2008-10-15  Ross Burton  <ross linux intel com>

	* gir/Makefile.am:
	* configure.ac:
	Add GSSDP bindings.


Modified:
   trunk/ChangeLog
   trunk/configure.ac
   trunk/gir/Makefile.am

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Wed Oct 15 13:58:28 2008
@@ -125,6 +125,11 @@
 have_missioncontrol=false
 AM_CONDITIONAL(BUILD_MISSIONCONTROL, $have_missioncontrol)
 
+dnl gssdp
+PKG_CHECK_MODULES(GSSDP, gssdp-1.0,
+                  have_gssdp=true, have_gssdp=false)
+AM_CONDITIONAL(BUILD_GSSDP, $have_gssdp)
+
 AC_CONFIG_FILES([Makefile
                  gir/Makefile
                  gir-repository-1.0.pc])

Modified: trunk/gir/Makefile.am
==============================================================================
--- trunk/gir/Makefile.am	(original)
+++ trunk/gir/Makefile.am	Wed Oct 15 13:58:28 2008
@@ -529,6 +529,21 @@
 BUILT_GIRSOURCES += MissionControl.gir
 endif BUILD_MISSIONCONTROL
 
+if BUILD_GSSDP
+GSSDP_INCLUDEDIR=`pkg-config --variable=includedir gssdp-1.0`/gssdp-1.0
+GSSDP_LIBDIR=`pkg-config --variable=libdir gssdp-1.0`
+Gssdp-1.0.gir: $(G_IR_SCANNER) 
+	$(G_IR_SCANNER) -v --namespace Gssdp --nsversion=1.0 \
+             --include=GObject-2.0.gir \
+	     --library=gssdp-1.0 \
+	     $(NOCLOSURE) \
+             --output $@ \
+             --pkg gssdp-1.0 \
+	     -I$(GSSDP_INCLUDEDIR) \
+             $(GSSDP_INCLUDEDIR)/libgssdp/*.h
+BUILT_GIRSOURCES += Gssdp-1.0.gir
+endif BUILD_GSSDP
+
 girdir = $(datadir)/gir
 dist_gir_DATA = $(CUSTOM_GIRSOURCES) $(BUILT_GIRSOURCES)
 



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