[Lunar-commits] <moonbase-kde> stellarium: Adding some logic to skirt around qt4 phonon/phonon build problem.

stumbles stumbles at lunar-linux.org
Sun Aug 18 01:27:51 CEST 2013


commit 028825775e396e85568c6a46a1b1ea255808ae9a
Author: stumbles <stumbles at lunar-linux.org>
Date: Sat, 17 Aug 2013 16:27:10 -0700
URL: https://github.com/lunar-linux/moonbase-kde/commit/028825775e396e85568c6a46a1b1ea255808ae9a

stellarium: Adding some logic to skirt around qt4 phonon/phonon build problem.
---
  qt4-apps/stellarium/BUILD     | +5/-4     
  qt4-apps/stellarium/DETAILS   | +0/-1     
  qt4-apps/stellarium/PRE_BUILD | +3/-0     
  3 files changed, 8 insertions(+), 5 deletions(-)

--- a/qt4-apps/stellarium/BUILD
+++ b/qt4-apps/stellarium/BUILD
@@ -1,9 +1,10 @@
-(
 
   source /etc/profile.d/qt4.rc   &&
 
-  sedit "s:0.11.3:$VERSION:" data/stellarium.desktop &&
+# they insist on using the always outdated qt4 version of phonon
+# which conflicts with phonon
+  if module_installed phonon ; then 
+    OPTS+=" -DENABLE_SOUND=OFF" &&
+  fi &&
 
   default_cmake_build 
-
-) > $C_FIFO 2>&1
--- a/qt4-apps/stellarium/DETAILS
+++ b/qt4-apps/stellarium/DETAILS
@@ -1,7 +1,6 @@
           MODULE=stellarium
          VERSION=0.12.2
           SOURCE=$MODULE-$VERSION.tar.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-${VERSION%*a}
       SOURCE_URL=$SFORGE_URL/$MODULE
       SOURCE_VFY=sha1:35752a24bdeb461b9c16e8533b13689b05a87105
         WEB_SITE=http://stellarium.free.fr
--- /dev/null
+++ b/qt4-apps/stellarium/PRE_BUILD
@@ -0,0 +1,3 @@
+  default_pre_build &&
+
+  sedit "s:0.11.3:$VERSION:" data/stellarium.desktop




More information about the Lunar-commits mailing list