[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: Add jami-qt.
From: |
guix-commits |
Subject: |
12/12: gnu: Add jami-qt. |
Date: |
Fri, 2 Apr 2021 07:47:37 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit e6b447cf756831e8339e6462647004d88132fa07
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Mar 31 01:13:57 2021 -0400
gnu: Add jami-qt.
* gnu/packages/jami.scm (jami-qt): New variable.
---
gnu/packages/jami.scm | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm
index e65e477..e1f6d41 100644
--- a/gnu/packages/jami.scm
+++ b/gnu/packages/jami.scm
@@ -33,6 +33,7 @@
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
+ #:use-module (gnu packages graphviz)
#:use-module (gnu packages gtk)
#:use-module (gnu packages libcanberra)
#:use-module (gnu packages linux)
@@ -55,6 +56,7 @@
#:use-module (gnu packages)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system qt)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix packages)
@@ -556,3 +558,68 @@ decentralized calling using P2P-DHT.")
;;; main 'jami' client.
(define-public jami
(deprecated-package "jami" jami-gnome))
+
+(define-public jami-qt
+ (package
+ (name "jami-qt") ;to be renamed 'jami' at some point
+ (version %jami-version)
+ ;; The Qt client code is not yet part of the release tarball; fetch it
+ ;; from git for now.
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
"https://git.jami.net/savoirfairelinux/jami-client-qt.git")
+ (commit "ae21c17da5e8f730ae3895ccbc4da8047e3be1eb")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1rf3lpk8c4qc12pi6pn4rdp7i8b83xv64yqr0q47rzv9s518qyjp"))))
+ (build-system qt-build-system)
+ (arguments
+ `(#:tests? #f ;no test suite
+ #:phases
+ (modify-phases %standard-phases
+ ;; TODO: Uncomment after switching back to the tarball source.
+ ;; (add-after 'unpack 'change-directory
+ ;; (lambda _
+ ;; (chdir "client-qt")))
+ (add-after 'install 'wrap
+ ;; The program fails to find the QtWebEngineProcess program, so we
+ ;; set QTWEBENGINEPROCESS_PATH to help it.
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
+ (qtwebengineprocess (string-append
+ (assoc-ref inputs "qtwebengine")
+
"/lib/qt5/libexec/QtWebEngineProcess")))
+ (for-each (lambda (program)
+ (wrap-program program
+ `("QTWEBENGINEPROCESS_PATH" =
+ (,qtwebengineprocess))))
+ (find-files bin ".*"))))))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("qttools" ,qttools)
+ ("doxygen" ,doxygen)
+ ("graphviz" ,graphviz)))
+ (inputs
+ `(("libringclient" ,libringclient)
+ ("network-manager" ,network-manager)
+ ("qrencode" ,qrencode)
+ ("qtsvg" ,qtsvg)
+ ("qtwebengine" ,qtwebengine)
+ ("qtwebchannel" ,qtwebchannel)
+ ("qtmultimedia" ,qtmultimedia)
+ ("qtdeclarative" ,qtdeclarative)
+ ("qtgraphicaleffects" ,qtgraphicaleffects)
+ ("qtquickcontrols" ,qtquickcontrols)
+ ("qtquickcontrols2" ,qtquickcontrols2)))
+ (propagated-inputs
+ `(("libring" ,libring))) ;for dring
+ (home-page "https://jami.net")
+ (synopsis "Qt Jami client")
+ (description "This package provides the Jami Qt client. Jami is a secure
+and distributed voice, video and chat communication platform that requires no
+centralized server and leaves the power of privacy in the hands of the user.
+It supports the SIP and IAX protocols, as well as decentralized calling using
+P2P-DHT.")
+ (license license:gpl3+)))
- branch master updated (efb8951 -> e6b447c), guix-commits, 2021/04/02
- 01/12: gnu: asio: Update to 1.18.1., guix-commits, 2021/04/02
- 03/12: gnu: restinio: Update to 0.6.13., guix-commits, 2021/04/02
- 05/12: gnu: opendht: Update to 2.2.0rc4., guix-commits, 2021/04/02
- 02/12: gnu: restbed: Update to 4.7., guix-commits, 2021/04/02
- 04/12: gnu: Add nettle-3.7., guix-commits, 2021/04/02
- 06/12: gnu: pjproject: Update to 2.11., guix-commits, 2021/04/02
- 08/12: ffmpeg-jami: Apply patches from Jami 20210326.1.cfba013., guix-commits, 2021/04/02
- 10/12: gnu: libringclient: Update to 20210326.1.cfba013., guix-commits, 2021/04/02
- 12/12: gnu: Add jami-qt.,
guix-commits <=
- 09/12: gnu: libring: Update to 20210326.1.cfba013., guix-commits, 2021/04/02
- 11/12: gnu: jami: Update to 20210326.1.cfba013 and rename to jami-gnome., guix-commits, 2021/04/02
- 07/12: gnu: pjproject-jami: Fix CVE-2020-15260 and CVE-2021-21375., guix-commits, 2021/04/02