[Lunar-commits] <moonbase> qt4: Just adding a if/then for phonon so on a recompile you can have it.

Dennis 'stumbles' Veatch stumbles at lunar-linux.org
Thu Jan 29 14:32:08 CET 2009


commit cf3b2e24d93e57cc1a6ea6e338a554f1c4141a71
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date:   Thu Jan 29 08:32:08 2009 -0500

    qt4: Just adding a if/then for phonon so on a recompile you can have it.
    There's the chicken and egg thing here with phonon depending on qt4.
---
 kde4/base/qt4/BUILD |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/kde4/base/qt4/BUILD b/kde4/base/qt4/BUILD
index 5ab65d7..9dea06e 100644
--- a/kde4/base/qt4/BUILD
+++ b/kde4/base/qt4/BUILD
@@ -6,9 +6,15 @@
 
   sedit "s/-O2/$CXXFLAGS/" mkspecs/linux-g++/qmake.conf  &&
 
+  if module_installed phonon ; then
+    OPTS+="-phonon -phonon-backend"
+   else
+    OPTS+="-no-phonon -phonon-backend"
+  fi &&
+
   if in_depends qt4 sqlite ; then
     OPTS+=" -system-sqlite"
-  fi
+  fi &&
 
   echo "yes" | ./configure               \
                -prefix ${MODULE_PREFIX}  \
@@ -28,7 +34,6 @@
                -stl              \
                -webkit           \
                -fontconfig       \
-               -no-phonon        \
                -largefile        \
                -glib             \
                -qt3support       \


More information about the Lunar-commits mailing list