gnu: qtsensors: Update to 5.15.8.

* gnu/packages/qt.scm (qtsensors): Update to 5.15.8.
This commit is contained in:
Maxim Cournoyer 2023-03-27 16:09:49 -04:00
parent 721d91336c
commit 49586719c3
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1440,25 +1440,26 @@ (define-public qtwebsockets
(license (package-license qtbase))))
(define-public qtsensors
(package (inherit qtsvg-5)
(package
(inherit qtsvg-5)
(name "qtsensors")
(version "5.15.5")
(version "5.15.8")
(source (origin
(method url-fetch)
(uri (qt-urls name version))
(sha256
(base32
"0zlhm4js02niibb23rw87wf4ik0gy4ai08fwprnwy7zf4rm1ss3d"))))
(method url-fetch)
(uri (qt-urls name version))
(sha256
(base32
"1fdpgbikvxjacyipcyac0czqhv96pvc75dl9cyafslws8m53fm56"))))
(arguments
(substitute-keyword-arguments (package-arguments qtsvg-5)
((#:parallel-tests? _ #f) #f) ; can lead to race condition
((#:parallel-tests? _ #f) #f) ; can lead to race condition
((#:phases phases)
`(modify-phases ,phases
(add-after 'unpack 'fix-tests
(lambda _
(substitute* "tests/auto/qsensorgestures_gestures/tst_sensorgestures_gestures.cpp"
(("2000") "5000") ;lengthen test timeout
(("QTest::newRow(\"twist\") << \"twist\"") "")))))))) ;failing test
(("2000") "5000") ;lengthen test timeout
(("QTest::newRow(\"twist\") << \"twist\"") "")))))))) ;failing test
(native-inputs
(list perl qtdeclarative-5))
(inputs (list qtbase-5))