guix-play/gnu/packages/patches/pyqt-configure.patch
Andreas Enge 014e7dd8f0 gnu: Add python-pyqt.
* gnu/packages/qt.scm (python-pyqt, python2-pyqt): New variables.
* gnu/packages/patches/pyqt-configure.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
2015-01-25 20:10:03 +01:00

16 lines
614 B
Diff

Have configure.py modify internal variables depending on the --qml-plugindir
configure option.
diff -u PyQt-gpl-5.4.alt/configure.py PyQt-gpl-5.4/configure.py
--- PyQt-gpl-5.4.alt/configure.py 2015-01-25 17:27:50.000000000 +0100
+++ PyQt-gpl-5.4/configure.py 2015-01-25 17:56:41.000000000 +0100
@@ -904,6 +904,9 @@
if opts.pyuicinterpreter is not None:
self.pyuic_interpreter = opts.pyuicinterpreter
+ if opts.qmlplugindir is not None:
+ self.qml_plugin_dir = opts.qmlplugindir
+
if opts.qsciapidir is not None:
self.qsci_api_dir = opts.qsciapidir