[banshee] build: Fix substitution of MEEGO_PANELS_DIR (bgo#646544)



commit 4bc284e12cf51bf0ca7aaac61284fffa8f642b2b
Author: Chow Loong Jin <hyperair ubuntu com>
Date:   Sun Apr 3 00:45:35 2011 +0800

    build: Fix substitution of MEEGO_PANELS_DIR (bgo#646544)
    
    If meego-panel.pc is not found, substitute the old value of MEEGO_PANELS_DIR
    instead, which was constructed from datadir. This is useful if you want
    to use the Meego UI on non-Meego systems.
    
    Signed-off-by: Bertrand Lorentz <bertrand lorentz gmail com>

 configure.ac |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 124e284..f5442ca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -100,8 +100,11 @@ AC_SUBST(BANSHEE_DESKTOP_NAME)
 
 if test "x$HAVE_MEEGO_PANEL" = "xyes"; then
   MEEGO_PANELS_DIR=`$PKG_CONFIG --variable=meego_panel_panels_dir meego-panel`
-  AC_SUBST(MEEGO_PANELS_DIR)
+else
+  MEEGO_PANELS_DIR='${datadir}/mutter-meego/panels'
 fi
+AC_SUBST(MEEGO_PANELS_DIR)
+
 
 dnl Check for gdk-x11 >= 2.22 for NotificationArea extension, bgo#638477
 PKG_CHECK_MODULES(GDK_2_22, gdk-x11-2.0 >= 2.22, have_gdk_2_22=yes, have_gdk_2_22=no)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]