gnu: qt: Update to 5.6.1-1.

* gnu/packages/qt.scm (qt): Update to 5.6.1-1.

Co-authored-by: David Craven <david@craven.ch>
This commit is contained in:
Andreas Enge 2016-07-29 19:19:46 +02:00
parent cce28b0c3a
commit 2470d779c9
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -60,7 +60,7 @@ (define-module (gnu packages qt)
(define-public qt (define-public qt
(package (package
(name "qt") (name "qt")
(version "5.5.1") (version "5.6.1-1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
@ -72,7 +72,7 @@ (define-public qt
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0615cn4n3n78v48lnmapqz2jizm2pzrjwvsjlnsf4awrsiiqw0kg")) "1nrn2wivjwdxc9q03gpsi336gcl9l2axi0xjbzsha5v6akmsf26f"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
@ -152,6 +152,14 @@ (define-public qt
#:parallel-build? #f #:parallel-build? #f
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'configure 'patch-bin-sh
(lambda _
(substitute* '("qtbase/config.status"
"qtbase/configure"
"qtbase/mkspecs/features/qt_functions.prf"
"qtbase/qmake/library/qmakebuiltins.cpp")
(("/bin/sh") (which "sh")))
#t))
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))