mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
03ef1b50a8
commit
0375f5491a
1 changed files with 23 additions and 9 deletions
|
@ -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.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue