[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
49/51: gnu: qtremoteobjects: Update to 6.3.2.
From: |
guix-commits |
Subject: |
49/51: gnu: qtremoteobjects: Update to 6.3.2. |
Date: |
Tue, 28 Mar 2023 20:20:24 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit 2e6393d2c3da4f130abe4839fbb984d18e24e459
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Mar 27 16:09:55 2023 -0400
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.
---
gnu/packages/qt.scm | 51 ++++++++++++++++++++++++++++-----------------------
1 file changed, 28 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 34c048eaa6..42c4ce1aef 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2283,36 +2283,41 @@ implementation of OAuth and OAuth2 authenticathon
methods for Qt.")
(license (package-license qtbase))))
(define-public qtremoteobjects
- (package (inherit qtsvg-5)
+ (package
(name "qtremoteobjects")
- (version "5.15.5")
+ (version "6.3.2")
(source (origin
- (method url-fetch)
- (uri (qt-urls name version))
- (sha256
- (base32
- "1m0xcqlbxsfn0cd4ajin1h3i4l51dajmkw91v0r4a61xi14i0kks"))))
+ (method url-fetch)
+ (uri (qt-urls name version))
+ (sha256
+ (base32
+ "099b3vchi458i4fci9kfwan871jplqlk5l8q78mfnh33g80qnasi"))))
+ (build-system cmake-build-system)
(arguments
- (substitute-keyword-arguments (package-arguments qtsvg-5)
- ((#:phases phases)
- `(modify-phases ,phases
- (add-after 'unpack 'remove-failing-test
- (lambda _
- ;; This test can't find its imports.
- (substitute* "tests/auto/qml/qml.pro"
- (("integration") "# integration")
- (("usertypes") "# usertypes"))
- ;; disable failing tests: they need network
- (substitute* "tests/auto/auto.pro"
- (("integration_multiprocess proxy_multiprocess
integration_external restart")
- "integration_multiprocess"))))))))
- (inputs
- (list qtbase-5 qtdeclarative-5))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-display
+ (lambda _
+ ;; Make Qt render "offscreen", required for tests.
+ (setenv "QT_QPA_PLATFORM" "offscreen")))
+ (delete 'check) ;move after the install phase
+ (add-after 'install 'check
+ (assoc-ref %standard-phases 'check))
+ (add-before 'check 'prepare-for-tests
+ (lambda _
+ (setenv "QML2_IMPORT_PATH"
+ (string-append #$output "/lib/qt6/qml:"
+ (getenv "QML2_IMPORT_PATH"))))))))
+ (native-inputs (list perl vulkan-headers))
+ (inputs (list libxkbcommon qtbase qtdeclarative))
(synopsis "Qt Remote Objects module")
(description "The Qt Remote Objects module is an @dfn{inter-process
communication} (IPC) module developed for Qt. The idea is to extend existing
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
(package (inherit qtsvg-5)
- 24/51: gnu: qtx11extras: Update to 5.15.8., (continued)
- 24/51: gnu: qtx11extras: Update to 5.15.8., guix-commits, 2023/03/28
- 26/51: gnu: qtdeclarative-5: Update to 5.15.8., guix-commits, 2023/03/28
- 27/51: gnu: qtconnectivity: Update to 5.15.8., guix-commits, 2023/03/28
- 29/51: gnu: qtsensors: Update to 5.15.8., guix-commits, 2023/03/28
- 36/51: gnu: qtwebview: Update to 5.15.8., guix-commits, 2023/03/28
- 42/51: gnu: qtgraphicaleffects: Update to 5.15.8., guix-commits, 2023/03/28
- 43/51: gnu: qtgamepad: Update to 5.15.8., guix-commits, 2023/03/28
- 45/51: gnu: qtpurchasing: Update to 5.15.8., guix-commits, 2023/03/28
- 46/51: gnu: qtcharts: Update to 5.15.8., guix-commits, 2023/03/28
- 47/51: gnu: qtdatavis3d: Update to 5.15.8., guix-commits, 2023/03/28
- 49/51: gnu: qtremoteobjects: Update to 6.3.2.,
guix-commits <=