[Xfce4-commits] <postler:master> Use indicate-0.5 if available, fallback to indicate

Christian Dywan noreply at xfce.org
Sun Feb 27 00:04:01 CET 2011


Updating branch refs/heads/master
         to 42139b4ae7c8ddcdc7c61d77896b667d2e6517f5 (commit)
       from ccfe5e9734da52a4a4b078d028e33a22d3a8aa23 (commit)

commit 42139b4ae7c8ddcdc7c61d77896b667d2e6517f5
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Feb 27 00:02:42 2011 +0100

    Use indicate-0.5 if available, fallback to indicate
    
    Fixes: https://bugs.launchpad.net/postler/+bug/725516

 wscript |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/wscript b/wscript
index e3884b4..b581a84 100644
--- a/wscript
+++ b/wscript
@@ -115,7 +115,9 @@ def configure (conf):
     check_pkg ('libcanberra', var='LIBCANBERRA')
 
     if option_enabled ('libindicate'):
-        check_pkg ('indicate', mandatory=False)
+        check_pkg ('indicate-0.5', mandatory=False)
+        if not conf.env['HAVE_INDICATE']:
+            check_pkg ('indicate', mandatory=False)
         if conf.env['HAVE_INDICATE']:
             conf.env.append_value ('VALAFLAGS', '-D HAVE_INDICATE')
         else:



More information about the Xfce4-commits mailing list