summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSughosha <sughosha@disroot.org>2025-07-22 02:01:44 +0530
committerZheng Junjie <z572@z572.online>2025-07-28 11:54:36 +0800
commit0375f5491a59f0edddba8e47b8d8c66a96218821 (patch)
treef732a5d7ce7e8659ac09d2b8090bda9104781a6b
parent03ef1b50a8b1efdd2b9c08bedf1f18e9490b091f (diff)
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>
-rw-r--r--gnu/packages/messaging.scm32
1 files changed, 23 insertions, 9 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 4e120c3fad..57be4b1487 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -74,6 +74,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
+ #:use-module (gnu packages cmake)
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages certs)
@@ -2390,7 +2391,7 @@ notifications, and Python scripting support.")
(define-public libqmatrixclient
(package
(name "libqmatrixclient")
- (version "0.6.11")
+ (version "0.9.3")
(source
(origin
(method git-fetch)
@@ -2399,16 +2400,29 @@ notifications, and Python scripting support.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "072d3irpdd0p4w77s5pp0baqf74hk7vqggw7ic7i42lzjdwp3yql"))))
- (build-system cmake-build-system)
+ (base32 "0liidazw1ff1f73lb476pvrhzkmmk9dbgf5qsfajkxdj4xvy047k"))))
+ (build-system qt-build-system)
(inputs
- (list qtbase-5 qtmultimedia-5))
+ (list olm openssl qtkeychain-qt6 qtmultimedia))
(arguments
- `(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON")
- #:tests? #f)) ; no tests
- (home-page "https://matrix.org/docs/projects/sdk/libqmatrixclient.html")
- (synopsis "Qt5 client library for the Matrix instant messaging protocol")
- (description "libqmatrixclient is a Qt5 library to write clients for the
+ (list #:qtbase qtbase
+ #:cmake cmake-next
+ #:configure-flags
+ #~(list "-DBUILD_TESTING=ON"
+ "-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
implementation. Quaternion and libqmatrixclient together form the
QMatrixClient project.")