[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: gcompris-qt: Update to 0.91.
From: |
Efraim Flashner |
Subject: |
01/01: gnu: gcompris-qt: Update to 0.91. |
Date: |
Sun, 3 Jun 2018 12:11:55 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit d53e5b366d03ce29a16d96fbf91075a2de5bbd55
Author: Efraim Flashner <address@hidden>
Date: Sun Jun 3 19:09:12 2018 +0300
gnu: gcompris-qt: Update to 0.91.
* gnu/packages/education.scm (gcompris-qt): Update to 0.91.
[arguments]: Add custom phase to fix building with Qt 5.11.
---
gnu/packages/education.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index 03050ff..15b893c 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -115,7 +115,7 @@ of categories with some of the activities available in that
category.
(define-public gcompris-qt
(package
(name "gcompris-qt")
- (version "0.90")
+ (version "0.91")
(source
(origin
(method url-fetch)
@@ -124,11 +124,18 @@ of categories with some of the activities available in
that category.
version ".tar.xz"))
(sha256
(base32
- "1i5adxnhig849qxwi3c4v7r84q6agx1zxkd69fh4y7lcmq2qiaza"))))
+ "09h098w9q79hnzla1pcpqlnnr6dbafm4q6zmdp7wlk11ym8n9kvg"))))
(build-system cmake-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-for-qt5.11
+ (lambda _
+ (substitute* "src/core/CMakeLists.txt"
+ (("qt5_use_modules") "target_link_libraries")
+ (("Qml Quick Gui Multimedia Network XmlPatterns Svg Xml Sensors
Core")
+ "Qt5::Qml Qt5::Quick Qt5::Gui Qt5::Multimedia Qt5::Core
Qt5::Svg Qt5::Xml Qt5::XmlPatterns Qt5::Sensors"))
+ #t))
(add-after 'install 'wrap-executable
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))