[Xfce4-commits] <postler:master> Require indicator support only if other indicators exist
Christian Dywan
noreply at xfce.org
Tue Sep 6 01:22:06 CEST 2011
Updating branch refs/heads/master
to 9f4d220567aec2cfcc9fec9d85cc5f297eaa57df (commit)
from 779392473bf8a8bad1253d32dfa7dc71fae983fa (commit)
commit 9f4d220567aec2cfcc9fec9d85cc5f297eaa57df
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Aug 21 21:05:16 2011 +0200
Require indicator support only if other indicators exist
wscript | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/wscript b/wscript
index 301b5ac..5ab8680 100644
--- a/wscript
+++ b/wscript
@@ -9,6 +9,7 @@
# See the file COPYING for the full license text.
import sys
+import glob
# Waf version check, for global waf installs
try:
@@ -305,7 +306,8 @@ def set_options (opt):
add_enable_option ('gtk3', 'gtk3 and webkitgtk3 support')
add_enable_option ('libfolks', 'libfolks support (Telepathy, EDS)')
add_enable_option ('zeitgeist', 'Zeitgeist support (Synapse, Unity)')
- add_enable_option ('libindicate', 'Messaging Menu support (Ayatana)')
+ add_enable_option ('libindicate', 'Messaging Menu support (Ayatana)',
+ disable=len(glob.glob('./usr/lib/indicators/*/*.so')) < 1)
add_enable_option ('libstemmer', 'libstemmer support (Searching word stems)')
# Taken from Geany's wscript, modified to support LINGUAS variable
More information about the Xfce4-commits
mailing list