gir-repository r85 - in trunk: . gir
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gir-repository r85 - in trunk: . gir
- Date: Mon, 8 Sep 2008 16:40:54 +0000 (UTC)
Author: walters
Date: Mon Sep 8 16:40:54 2008
New Revision: 85
URL: http://svn.gnome.org/viewvc/gir-repository?rev=85&view=rev
Log:
Bind Soup.
Modified:
trunk/configure.ac
trunk/gir/Makefile.am
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Mon Sep 8 16:40:54 2008
@@ -51,6 +51,11 @@
have_gconf=true, have_gconf=false)
AM_CONDITIONAL(BUILD_GCONF, $have_gconf)
+dnl soup
+PKG_CHECK_MODULES(GCONF, libsoup-2.4,
+ have_soup=true, have_soup=false)
+AM_CONDITIONAL(BUILD_SOUP, $have_soup)
+
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 Sep 8 16:40:54 2008
@@ -26,6 +26,21 @@
BUILT_GIRSOURCES += GConf.gir
endif
+if BUILD_SOUP
+SOUP_INCLUDEDIR=`pkg-config --variable=includedir libsoup-2.4`/libsoup-2.4
+SOUP_LIBDIR=`pkg-config --variable=libdir libsoup-2.4`
+Soup.gir: $(G_IR_SCANNER)
+ $(G_IR_SCANNER) -v --namespace Soup \
+ --include=Gio.gir \
+ --library=soup-2.4 \
+ $(NOCLOSURE) \
+ --output $@ \
+ --pkg libsoup-2.4 \
+ -I$(SOUP_INCLUDEDIR) \
+ $(SOUP_INCLUDEDIR)/libsoup/*.h
+BUILT_GIRSOURCES += Soup.gir
+endif
+
if BUILD_GNOMEKEYRING
GNOMEKEYRING_INCLUDEDIR=`pkg-config --variable=includedir gnome-keyring-1`/gnome-keyring-1
GNOMEKEYRING_LIBDIR=`pkg-config --variable=libdir gnome-keyring-1`
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]