[Lunar-commits] <moonbase-kde> phonon: Adjusting the BUILD

Dennis Veatch dennisveatch at bellsouth.net
Tue Nov 11 14:36:00 CET 2014


commit 2e644ee2f78382bdcf802ad272c95db82dc8e770
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Tue, 11 Nov 2014 08:35:46 -0500
URL: https://github.com/lunar-linux/moonbase-kde/commit/2e644ee2f78382bdcf802ad272c95db82dc8e770

phonon: Adjusting the BUILD
---
  utils/phonon/BUILD | +12/-2    
  1 file changed, 12 insertions(+), 2 deletions(-)

--- a/utils/phonon/BUILD
+++ b/utils/phonon/BUILD
@@ -1,11 +1,21 @@
+
   export CFLAGS="$CFLAGS -fPIC"  &&
 
   source /etc/profile.d/qt4.rc   &&
   source /etc/profile.d/kde4.rc  &&
 
-  OPTS+=" -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE -DPHONON_BUILD_DECLARATIVE_PLUGIN=1" &&
+
+  OPTS+=" -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE -DPHONON_BUILD_DECLARATIVE_PLUGIN=1 -DPHONON_BUILD_PHONON4QT5=OFF" &&
 
   default_cmake_build  &&
 
   # needed by kde-baseapps, kipi-plugins, kmldonkey and possible other modules
-  ln -sf /usr/lib/libphonon.so.4  /usr/lib/qt4/libphonon.so
+  ln -sf /usr/lib/libphonon.so.4  /usr/lib/qt4/libphonon.so &&
+
+  
+  if module_installed qt5 ; then
+    devoke_installwatch &&
+    . /etc/profile.d/qt5.rc &&
+    OPTS+=" -DPHONON_BUILD_PHONON4QT5=ON" &&
+    default_cmake_build
+  fi




More information about the Lunar-commits mailing list