[Xfce4-commits] <midori:master> Look for GTK+2 version of gcr-3
Christian Dywan
noreply at xfce.org
Thu Jul 19 02:28:01 CEST 2012
Updating branch refs/heads/master
to 31fe130f87ffbe373e2b696de555719b3e4af07b (commit)
from d549cfd203027d8268b4e7526e42ce0edcfa8b96 (commit)
commit 31fe130f87ffbe373e2b696de555719b3e4af07b
Author: Christian Dywan <christian at twotoasts.de>
Date: Wed Jul 18 23:56:24 2012 +0200
Look for GTK+2 version of gcr-3
wscript | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/wscript b/wscript
index bea428c..48dd569 100644
--- a/wscript
+++ b/wscript
@@ -181,6 +181,11 @@ def configure (conf):
atleast_version=version, mandatory=mandatory)
return conf.env['HAVE_' + var]
+ if option_enabled ('gtk3'):
+ check_pkg ('gcr-3', '2.32', mandatory=False)
+ else:
+ check_pkg ('gcr-3-gtk2', '2.32', mandatory=False)
+
if option_enabled ('unique'):
if option_enabled('gtk3'): unique_pkg = 'unique-3.0'
else: unique_pkg = 'unique-1.0'
@@ -269,7 +274,6 @@ def configure (conf):
conf.define ('HAVE_LIBSOUP_2_34_0', 1)
if check_version (conf.env['LIBSOUP_VERSION'], 2, 37, 1):
conf.define ('HAVE_LIBSOUP_2_37_1', 1)
- check_pkg ('gcr-3', '2.32', mandatory=False)
check_pkg ('libxml-2.0', '2.6')
check_pkg ('sqlite3', '3.6.19', True, var='SQLITE')
More information about the Xfce4-commits
mailing list