[Lunar-commits] <moonbase-kde> libmygpo-qt: some adjustments to deal with qt5

Dennis Veatch dennisveatch at bellsouth.net
Wed Nov 12 23:55:26 CET 2014


commit d613dca2be055beb6fadc6f25c35012b36b0fe80
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Wed, 12 Nov 2014 17:55:07 -0500
URL: https://github.com/lunar-linux/moonbase-kde/commit/d613dca2be055beb6fadc6f25c35012b36b0fe80

libmygpo-qt: some adjustments to deal with qt5
---
  qt4-apps/libmygpo-qt/BUILD   | +6/-3     
  qt4-apps/libmygpo-qt/DEPENDS | +2/-0     
  2 files changed, 8 insertions(+), 3 deletions(-)

--- a/qt4-apps/libmygpo-qt/BUILD
+++ b/qt4-apps/libmygpo-qt/BUILD
@@ -1,7 +1,10 @@
-(
 
   . /etc/profile.d/qt4.rc &&
 
-  default_cmake_build
+  default_cmake_build &&
 
-) > $C_FIFO 2>&1
+  if in_depends $MODULE qt5 ; then
+    . /etc/profile.d/qt5.rc &&
+    OPTS+=" -DBUILD_WITH_QT4=OFF" &&
+    default_cmake_build
+  fi
--- a/qt4-apps/libmygpo-qt/DEPENDS
+++ b/qt4-apps/libmygpo-qt/DEPENDS
@@ -1,3 +1,5 @@
 depends cmake
 depends qt4
 depends qjson
+
+optional_depends "qt5" "" "" "For qt5 wrapper support"




More information about the Lunar-commits mailing list