gnu: qtwayland: Update to 6.6.2.

* gnu/packages/qt.scm (qtwayland): Update to 6.6.2.
[arguments]<#:phases>: Adjust 'set-test-environment phase.
Change-Id: I9aeaed2aa2c3f4d7275ea7a516baf6ff8fbf81ca

Change-Id: I106db86ced2ecfcb98892603a723f0ad11f48477
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Zheng Junjie 2024-03-13 16:58:03 +08:00 committed by Maxim Cournoyer
parent d560cedfc0
commit fb231039f7
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1964,13 +1964,13 @@ (define-public qtwayland-5
(define-public qtwayland
(package
(name "qtwayland")
(version "6.5.2")
(version "6.6.2")
(source
(origin
(method url-fetch)
(uri (qt-url name version))
(sha256
(base32 "16iwar19sgjvxgmbr6hmd3hsxp6ahdjwl1lra2wapl3zzf3bw81h"))))
(base32 "0y6x84ckcc53ddclnrlzs08b1kvw6saw9nim0hz4wc5fyz7dbkcv"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags #~(list "-DQT_BUILD_TESTS=ON")
@ -1987,6 +1987,7 @@ (define-public qtwayland
(("QTRY_COMPARE\\(bufferSpy\\.size\\(\\), 1\\);") ""))))
(add-before 'check 'set-test-environment
(lambda _
(setenv "XDG_RUNTIME_DIR" (getcwd))
;; Do not fail just because /etc/machine-id is missing.
(setenv "DBUS_FATAL_WARNINGS" "0")
;; Make Qt render "offscreen", required for tests.