gnu: libqmatrixclient: Update to 0.9.3.

* gnu/packages/messaging.scm (libqmatrixclient): Update to 0.9.3.
[build-system]: Switch to qt-build-system.
[inputs]: Remove qtbase-5; replace qtmultimedia-5 with qtmultimedia; add olm,
openssl and qtkeychain-qt6.
[arguments]<#:qtbase>: Use qtbase.
<#:cmake>: Use cmake-next.
<#:tests?>: Enable tests.
<#:configure-flags>: Add "-DBUILD_TESTING=ON".
<#:phases>: Add 'check-setup phase; replace 'check phase.
[home-page]: Update URL.
[synopsis]: Update it.
[description]: Update it.

Change-Id: I11179524df0374951bbb8d6f5226e8009338f818
Signed-off-by: Zheng Junjie <z572@z572.online>
This commit is contained in:
Sughosha 2025-07-22 02:01:44 +05:30 committed by Zheng Junjie
parent 03ef1b50a8
commit 0375f5491a
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -74,6 +74,7 @@
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages bash) #:use-module (gnu packages bash)
#:use-module (gnu packages bison) #:use-module (gnu packages bison)
#:use-module (gnu packages cmake)
#:use-module (gnu packages boost) #:use-module (gnu packages boost)
#:use-module (gnu packages check) #:use-module (gnu packages check)
#:use-module (gnu packages certs) #:use-module (gnu packages certs)
@ -2390,7 +2391,7 @@ notifications, and Python scripting support.")
(define-public libqmatrixclient (define-public libqmatrixclient
(package (package
(name "libqmatrixclient") (name "libqmatrixclient")
(version "0.6.11") (version "0.9.3")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -2399,16 +2400,29 @@ notifications, and Python scripting support.")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "072d3irpdd0p4w77s5pp0baqf74hk7vqggw7ic7i42lzjdwp3yql")))) (base32 "0liidazw1ff1f73lb476pvrhzkmmk9dbgf5qsfajkxdj4xvy047k"))))
(build-system cmake-build-system) (build-system qt-build-system)
(inputs (inputs
(list qtbase-5 qtmultimedia-5)) (list olm openssl qtkeychain-qt6 qtmultimedia))
(arguments (arguments
`(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON") (list #:qtbase qtbase
#:tests? #f)) ; no tests #:cmake cmake-next
(home-page "https://matrix.org/docs/projects/sdk/libqmatrixclient.html") #:configure-flags
(synopsis "Qt5 client library for the Matrix instant messaging protocol") #~(list "-DBUILD_TESTING=ON"
(description "libqmatrixclient is a Qt5 library to write clients for the "-DBUILD_SHARED_LIBS=ON")
#:phases
#~[modify-phases %standard-phases
(add-before 'check 'check-setup
(lambda _
(setenv "HOME" "/tmp")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
;; This test requires internet.
(invoke "ctest" "-E" "testolmaccount"))))]))
(home-page "https://quotient-im.github.io/libQuotient/")
(synopsis "Qt client library for the Matrix instant messaging protocol")
(description "libqmatrixclient is a Qt library to write clients for the
Matrix instant messaging protocol. Quaternion is the reference client Matrix instant messaging protocol. Quaternion is the reference client
implementation. Quaternion and libqmatrixclient together form the implementation. Quaternion and libqmatrixclient together form the
QMatrixClient project.") QMatrixClient project.")