gir-repository r206 - in trunk: . gir



Author: phsadleder
Date: Mon Nov 10 20:26:17 2008
New Revision: 206
URL: http://svn.gnome.org/viewvc/gir-repository?rev=206&view=rev

Log:
2008-11-10  Philipp Sadleder  <philipp sadleder de>

        * configure.ac:
        * gir/Makefile.am:
        Add nautilus-extension.


Modified:
   trunk/   (props changed)
   trunk/ChangeLog
   trunk/configure.ac
   trunk/gir/Makefile.am

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Mon Nov 10 20:26:17 2008
@@ -108,6 +108,11 @@
 	 	  have_babl=true, have_babl=false)
 AM_CONDITIONAL(BUILD_BABL, $have_babl)
 
+dnl nautilus-extension
+PKG_CHECK_MODULES(NAUTILUSEXTENSION, libnautilus-extension,
+		  have_nautilusextension=true, have_nautilusextension=false)
+AM_CONDITIONAL(BUILD_NAUTILUSEXTENSION, $have_nautilusextension)
+
 dnl gnome-keyring
 PKG_CHECK_MODULES(GNOMEKEYRING, gnome-keyring-1,
                   have_gnomekeyring=true, have_gnomekeyring=false)

Modified: trunk/gir/Makefile.am
==============================================================================
--- trunk/gir/Makefile.am	(original)
+++ trunk/gir/Makefile.am	Mon Nov 10 20:26:17 2008
@@ -693,6 +693,22 @@
 BUILT_GIRSOURCES += Unique-1.0.gir
 endif BUILD_UNIQUE
 
+if BUILD_NAUTILUSEXTENSION
+NAUTILUSEXTENSION_INCLUDEDIR=`pkg-config --variable=includedir libnautilus-extension`/nautilus/libnautilus-extension
+NAUTILUSEXTENSION_LIBDIR=`pkg-config --variable=libdir libnautilus-extension`
+NautilusExtension-1.0.gir: Gtk-2.0.gir $(G_IR_SCANNER)
+	$(G_IR_SCANNER) -v --namespace Nautilus --nsversion=1.0 \
+            --add-include-path=$(srcdir) --add-include-path=\
+            --include=Gtk-2.0 \
+            --library=nautilus-extension \
+            --output $@ \
+            --pkg libnautilus-extension \
+            --pkg gtk+-2.0 \
+            -I$(NAUTILUSEXTENSION_INCLUDEDIR) \
+            $(NAUTILUSEXTENSION_INCLUDEDIR)/*.h \
+BUILT_GIRSOURCES += NautilusExtension-1.0.gir
+endif BUILD_NAUTILUSEXTENSION
+
 girdir = $(GIRDIR)
 dist_gir_DATA = $(CUSTOM_GIRSOURCES)
 gir_DATA = $(BUILT_GIRSOURCES)



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