[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/10: gnu: extra-cmake-modules: Install pri-files into lib/qt5/.
From: |
Hartmut Goebel |
Subject: |
01/10: gnu: extra-cmake-modules: Install pri-files into lib/qt5/. |
Date: |
Sun, 5 Nov 2017 04:57:47 -0500 (EST) |
htgoebel pushed a commit to branch master
in repository guix.
commit 9f5bd38f94fbde4806296756d77f887ffcb29b58
Author: Hartmut Goebel <address@hidden>
Date: Tue Oct 31 18:21:17 2017 +0100
gnu: extra-cmake-modules: Install pri-files into lib/qt5/.
This in accordance with the documentation in
ECMGeneratePriFile.cmake: "Packagers … want to set
`ECM_MKSPECS_INSTALL_DIR` to something like
`share/qt5/mkspecs/modules`." Our Qt5 is putting pri-files into
`lib/qt5/mkspecs/modules`.
* gnu/packages/kde-frameworks.scm(extra-cmake-modules)[#:phase
fix-lib-path]:
New substitute for file 'modules/ECMGeneratePriFile.cmake'.
---
gnu/packages/kde-frameworks.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 6a46f28..59022f3 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -104,7 +104,11 @@
"_define_relative(QTQUICKIMPORTSDIR LIBDIR \"qt5/imports\"")
;; Install qml-files into lib/qt5/qml
(("_define_relative\\(QMLDIR LIBDIR \"qml\"")
- "_define_relative(QMLDIR LIBDIR \"qt5/qml\""))))
+ "_define_relative(QMLDIR LIBDIR \"qt5/qml\""))
+ (substitute* "modules/ECMGeneratePriFile.cmake"
+ ;; Install pri-files into lib/qt5/mkspecs
+ (("set\\(ECM_MKSPECS_INSTALL_DIR mkspecs/modules")
+ "set(ECM_MKSPECS_INSTALL_DIR lib/qt5/mkspecs/modules"))))
;; install and check phase are swapped to prevent install from failing
;; after testsuire has run
(add-after 'install 'check-post-install
- branch master updated (46dea12 -> 1289001), Hartmut Goebel, 2017/11/05
- 06/10: gnu: solid: Enable building interface for qml., Hartmut Goebel, 2017/11/05
- 04/10: gnu: kdelibs4support: Make test kstandarddirstest pass., Hartmut Goebel, 2017/11/05
- 09/10: gnu: kdewebkit: Move to be in alphabetical order., Hartmut Goebel, 2017/11/05
- 10/10: gnu: prison: Move to be in alphabetical order., Hartmut Goebel, 2017/11/05
- 01/10: gnu: extra-cmake-modules: Install pri-files into lib/qt5/.,
Hartmut Goebel <=
- 03/10: gnu: kimageformats: Update comment., Hartmut Goebel, 2017/11/05
- 05/10: gnu: krunner: Make some tests pass., Hartmut Goebel, 2017/11/05
- 08/10: gnu: kactivities: Move to tier 2., Hartmut Goebel, 2017/11/05
- 07/10: gnu: libksysguard: Update to 5.11.2., Hartmut Goebel, 2017/11/05
- 02/10: gnu: kde-frameworks: Update to 5.39.0., Hartmut Goebel, 2017/11/05