[Lunar-commits] <moonbase-kde> PyQt5: Some adjustments to the BUILD

Dennis Veatch dennisveatch at bellsouth.net
Fri Nov 14 16:39:25 CET 2014


commit f4276b64ec822e2f3cb43d0077f2af42fb3c4c58
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Fri, 14 Nov 2014 10:38:07 -0500
URL: https://github.com/lunar-linux/moonbase-kde/commit/f4276b64ec822e2f3cb43d0077f2af42fb3c4c58

PyQt5: Some adjustments to the BUILD
---
  qt5-apps/PyQt5/BUILD   | +13/-2    
  qt5-apps/PyQt5/DEPENDS | +2/-0     
  2 files changed, 15 insertions(+), 2 deletions(-)

--- a/qt5-apps/PyQt5/BUILD
+++ b/qt5-apps/PyQt5/BUILD
@@ -3,6 +3,17 @@
 
   sedit "s:qprinter.h:QtPrintSupport/qprinter.h:" sip/QtPrintSupport/qprinter.sip &&
 
-  python configure.py --confirm-license -w $OPTS &&
+  OPTS+=" --confirm-license --qmake=/usr/lib/qt5/bin/qmake --assume-shared --no-timestamp" &&
 
-  default_make
+  if module_installed qscintilla2 ; then
+    OPTS+=" --qsci-api"
+  fi &&
+
+  python configure.py -w $OPTS -j${MAKES} &&
+  default_make &&
+
+# Now the Python-3 stuff
+  if in_depends $MODULE Python-3 ; then
+    python3 configure.py -w $OPTS -j${MAKES} &&
+    default_make
+  fi
--- a/qt5-apps/PyQt5/DEPENDS
+++ b/qt5-apps/PyQt5/DEPENDS
@@ -1,2 +1,4 @@
 depends qt5
 depends sip
+
+optional_depends "Python-3 "" "" "For Python-3 bindings support" n




More information about the Lunar-commits mailing list