mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: qtdeclarative: Update to 6.9.2.
* gnu/packages/qt.scm (qtdeclarative): Update to 6.9.2. [#:phases] {check}: Set CMAKE_PREFIX_PATH and CPLUS_INCLUDE_PATH environment variables. Change-Id: I60fa21d91e4bc35b85fb73c7f06d31cbef5171ed Co-authored-by: Maxim Cournoyer <maxim@guixotic.coop>
This commit is contained in:
parent
027e83a22d
commit
feddefe40a
1 changed files with 15 additions and 4 deletions
|
@ -1660,14 +1660,14 @@ with JavaScript and C++.")))
|
||||||
(define-public qtdeclarative
|
(define-public qtdeclarative
|
||||||
(package
|
(package
|
||||||
(name "qtdeclarative")
|
(name "qtdeclarative")
|
||||||
(version "6.8.2")
|
(version "6.9.2")
|
||||||
;; TODO: Package 'masm' and unbundle from sources.
|
;; TODO: Package 'masm' and unbundle from sources.
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (qt-url name version))
|
(uri (qt-url name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0mkd6hqvg21dg63022iq1b6sskp2s5wfchsifc4mkdcbvim8fk8l"))
|
"0r16qima008y2999r1djvwry01l295nmwwhqg081d2fr1cn2szs7"))
|
||||||
(patches (search-patches "qtdeclarative-disable-qmlcache.patch"))))
|
(patches (search-patches "qtdeclarative-disable-qmlcache.patch"))))
|
||||||
(outputs '("out" "debug"))
|
(outputs '("out" "debug"))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
|
@ -1712,8 +1712,18 @@ with JavaScript and C++.")))
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "cmake" "--install" ".")))
|
(invoke "cmake" "--install" ".")))
|
||||||
(add-after 'install 'check
|
(add-after 'install 'check
|
||||||
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)
|
(lambda* (#:key tests? parallel-tests?
|
||||||
|
native-inputs inputs #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
|
(setenv "TZDIR" (search-input-directory
|
||||||
|
(or native-inputs inputs) "share/zoneinfo"))
|
||||||
|
(setenv "TZ" "Etc/UTC")
|
||||||
|
(setenv "CMAKE_PREFIX_PATH"
|
||||||
|
(string-append #$output
|
||||||
|
":" (getenv "CMAKE_PREFIX_PATH")))
|
||||||
|
(setenv "CPLUS_INCLUDE_PATH"
|
||||||
|
(string-append #$output "/include/qt6/:"
|
||||||
|
(getenv "CPLUS_INCLUDE_PATH")))
|
||||||
;; The tests expect to find the modules provided by this
|
;; The tests expect to find the modules provided by this
|
||||||
;; package; extend the environment variables needed to do so.
|
;; package; extend the environment variables needed to do so.
|
||||||
(setenv "QML_IMPORT_PATH"
|
(setenv "QML_IMPORT_PATH"
|
||||||
|
@ -1801,7 +1811,8 @@ with JavaScript and C++.")))
|
||||||
pkg-config
|
pkg-config
|
||||||
python
|
python
|
||||||
qtshadertools
|
qtshadertools
|
||||||
vulkan-headers))
|
vulkan-headers
|
||||||
|
tzdata-for-tests))
|
||||||
(inputs
|
(inputs
|
||||||
(list at-spi2-core
|
(list at-spi2-core
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue