me
/
guix
Archived
1
0
Fork 0

gnu: qtremoteobjects: Update to 6.3.2.

* gnu/packages/qt.scm (qtremoteobjects): No longer inherit from qtsvg-5.
Update to 6.3.2.
[arguments]: Use gexps.  Delete remove-failing-test phase.  Add set-display,
prepare-for-tests and move check phase after install phase.
[home-page, license]: New fields.
master
Maxim Cournoyer 2023-03-27 16:09:55 -04:00
parent 627e1c3e2f
commit db365dac19
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 28 additions and 23 deletions

View File

@ -2283,36 +2283,41 @@ implementation of OAuth and OAuth2 authenticathon methods for Qt.")
(license (package-license qtbase)))) (license (package-license qtbase))))
(define-public qtremoteobjects (define-public qtremoteobjects
(package (inherit qtsvg-5) (package
(name "qtremoteobjects") (name "qtremoteobjects")
(version "5.15.5") (version "6.3.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (qt-urls name version)) (uri (qt-urls name version))
(sha256 (sha256
(base32 (base32
"1m0xcqlbxsfn0cd4ajin1h3i4l51dajmkw91v0r4a61xi14i0kks")))) "099b3vchi458i4fci9kfwan871jplqlk5l8q78mfnh33g80qnasi"))))
(build-system cmake-build-system)
(arguments (arguments
(substitute-keyword-arguments (package-arguments qtsvg-5) (list
((#:phases phases) #:phases
`(modify-phases ,phases #~(modify-phases %standard-phases
(add-after 'unpack 'remove-failing-test (add-before 'check 'set-display
(lambda _ (lambda _
;; This test can't find its imports. ;; Make Qt render "offscreen", required for tests.
(substitute* "tests/auto/qml/qml.pro" (setenv "QT_QPA_PLATFORM" "offscreen")))
(("integration") "# integration") (delete 'check) ;move after the install phase
(("usertypes") "# usertypes")) (add-after 'install 'check
;; disable failing tests: they need network (assoc-ref %standard-phases 'check))
(substitute* "tests/auto/auto.pro" (add-before 'check 'prepare-for-tests
(("integration_multiprocess proxy_multiprocess integration_external restart") (lambda _
"integration_multiprocess")))))))) (setenv "QML2_IMPORT_PATH"
(inputs (string-append #$output "/lib/qt6/qml:"
(list qtbase-5 qtdeclarative-5)) (getenv "QML2_IMPORT_PATH"))))))))
(native-inputs (list perl vulkan-headers))
(inputs (list libxkbcommon qtbase qtdeclarative))
(synopsis "Qt Remote Objects module") (synopsis "Qt Remote Objects module")
(description "The Qt Remote Objects module is an @dfn{inter-process (description "The Qt Remote Objects module is an @dfn{inter-process
communication} (IPC) module developed for Qt. The idea is to extend existing communication} (IPC) module developed for Qt. The idea is to extend existing
Qt's functionalities to enable an easy exchange of information between Qt's functionalities to enable an easy exchange of information between
processes or computers."))) processes or computers.")
(home-page (package-home-page qtbase))
(license (package-license qtbase))))
(define-public qtspeech (define-public qtspeech
(package (inherit qtsvg-5) (package (inherit qtsvg-5)