gir-repository r77 - in trunk: . gir
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gir-repository r77 - in trunk: . gir
- Date: Tue, 2 Sep 2008 00:22:52 +0000 (UTC)
Author: walters
Date: Tue Sep 2 00:22:52 2008
New Revision: 77
URL: http://svn.gnome.org/viewvc/gir-repository?rev=77&view=rev
Log:
libnotify bindings
Modified:
trunk/configure.ac
trunk/gir/Makefile.am
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Tue Sep 2 00:22:52 2008
@@ -51,6 +51,11 @@
have_webkit=true, have_webkit=false)
AM_CONDITIONAL(BUILD_WEBKIT, $have_webkit)
+dnl notify
+PKG_CHECK_MODULES(NOTIFY, libnotify,
+ have_notify=true, have_notify=false)
+AM_CONDITIONAL(BUILD_NOTIFY, $have_notify)
+
dnl clutter
PKG_CHECK_MODULES(CLUTTER, clutter-0.6 >= 0.6,
have_clutter=true, have_clutter=false)
Modified: trunk/gir/Makefile.am
==============================================================================
--- trunk/gir/Makefile.am (original)
+++ trunk/gir/Makefile.am Tue Sep 2 00:22:52 2008
@@ -206,6 +206,22 @@
CUSTOM_GIRSOURCES += JSCore.gir
endif BUILD_WEBKIT
+# libnotify
+if BUILD_NOTIFY
+NOTIFY_INCLUDEDIR=`pkg-config --variable=includedir libnotify`
+NOTIFY_LIBDIR=`pkg-config --variable=libdir libnotify`
+Notify.gir: $(G_IR_SCANNER)
+ $(G_IR_SCANNER) -v --namespace Notify \
+ --include=Gtk.gir \
+ --library=notify \
+ $(NOCLOSURE) \
+ --pkg gtk+-2.0 \
+ --output $@ \
+ -I$(NOTIFY_INCLUDEDIR) \
+ $(NOTIFY_INCLUDEDIR)/libnotify/*.h
+BUILT_GIRSOURCES += Notify.gir
+endif
+
# clutter
if BUILD_CLUTTER
CLUTTER_INCLUDEDIR=`pkg-config --variable=includedir clutter-0.6`
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]