gnu: purpose: Fix build.

* gnu/packages/kde-frameworks.scm (purpose)[arguments]: Add phase to
force use of pre-Qt-5.15 logic.
This commit is contained in:
Efraim Flashner 2020-12-29 16:18:07 +02:00
parent fc0c95bca6
commit 9680144d4d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016-2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
@ -3476,6 +3476,13 @@ (define-public purpose
("qtdeclarative" ,qtdeclarative)))
(arguments
`(#:tests? #f ;; seem to require network; don't find QTQuick components
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'dont-use-qt515-logic
(lambda _
(substitute* "src/externalprocess/purposeprocess_main.cpp"
((" 15") " 16"))
#t)))
#:configure-flags '("-DBUILD_TESTING=OFF"))) ; not run anyway
(home-page "https://community.kde.org/Frameworks")
(synopsis "Offers available actions for a specific purpose")