[Xfce4-commits] <midori:master> Check for Clutter only when granite is available
Christian Dywan
noreply at xfce.org
Sat Nov 3 18:18:01 CET 2012
Updating branch refs/heads/master
to abb1f27404e680d6434412060fbd73caf73b8981 (commit)
from 14be308a7b10d00fc0def19548eec68d22122c48 (commit)
commit abb1f27404e680d6434412060fbd73caf73b8981
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Nov 3 14:13:51 2012 +0100
Check for Clutter only when granite is available
wscript | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/wscript b/wscript
index 829e968..3faf519 100644
--- a/wscript
+++ b/wscript
@@ -219,7 +219,6 @@ def configure (conf):
conf.define ('HAVE_LIBNOTIFY', [0,1][libnotify == 'yes'])
if option_enabled ('granite'):
- check_pkg ('clutter-gtk-1.0', '1.0')
if not option_enabled ('gtk3'):
if getattr (Options.options, 'enable_granite'):
Utils.pprint ('RED', 'Granite requires --enable-gtk3')
@@ -233,6 +232,7 @@ def configure (conf):
option_checkfatal ('granite', 'new notebook, pop-overs')
conf.define ('GRANITE_VERSION', 'No')
else:
+ check_pkg ('clutter-gtk-1.0', '1.0')
conf.define ('GRANITE_VERSION', conf.check_cfg (modversion='granite'))
conf.env.append_value ('VALAFLAGS', '-D HAVE_GRANITE')
else:
More information about the Xfce4-commits
mailing list