summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndy Patterson <ajpatter@uwaterloo.ca>2016-09-21 23:58:29 -0400
committerEfraim Flashner <efraim@flashner.co.il>2016-10-09 12:11:43 +0300
commitbc1c995e6ed7bde9a5c12fa66ea805485690afb1 (patch)
treee60888af63fd9fdf5edeaf9a7af66e6c574c4708 /gnu
parent62ea44fc890abd5c269d14684334ee09ace290fc (diff)
gnu: Add qtox.
* gnu/packages/messaging.scm (qtox): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/messaging.scm54
1 files changed, 54 insertions, 0 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 5a618c27427..8fffee9da06 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -6,6 +6,7 @@
6;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net> 6;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
7;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il> 7;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
8;;; Copyright © 2016 ng0 <ngillmann@runbox.com> 8;;; Copyright © 2016 ng0 <ngillmann@runbox.com>
9;;; Copyright © 2016 Andy Patterson <ajpatter@uwaterloo.ca>
9;;; 10;;;
10;;; This file is part of GNU Guix. 11;;; This file is part of GNU Guix.
11;;; 12;;;
@@ -32,6 +33,7 @@
32 #:use-module (guix build-system glib-or-gtk) 33 #:use-module (guix build-system glib-or-gtk)
33 #:use-module (guix build-system python) 34 #:use-module (guix build-system python)
34 #:use-module (gnu packages) 35 #:use-module (gnu packages)
36 #:use-module (gnu packages aidc)
35 #:use-module (gnu packages autotools) 37 #:use-module (gnu packages autotools)
36 #:use-module (gnu packages avahi) 38 #:use-module (gnu packages avahi)
37 #:use-module (gnu packages check) 39 #:use-module (gnu packages check)
@@ -661,6 +663,58 @@ protocols.")
661instant messenger with audio and video chat capabilities.") 663instant messenger with audio and video chat capabilities.")
662 (home-page "http://utox.org/") 664 (home-page "http://utox.org/")
663 (license license:gpl3))) 665 (license license:gpl3)))
666
667(define-public qtox
668 (package
669 (name "qtox")
670 (version "1.5.1")
671 (source
672 (origin
673 (method url-fetch)
674 (uri (string-append "https://github.com/qTox/qTox/archive/v"
675 version ".tar.gz"))
676 (sha256
677 (base32 "0y15mc39x54k1kz36cw9412kl1p1p6nzlx97gagv4gg3vybfhbjv"))
678 (file-name (string-append name "-" version ".tar.gz"))))
679 (inputs
680 `(("ffmpeg" ,ffmpeg)
681 ("glib" ,glib)
682 ("gtk+" ,gtk+-2)
683 ("libsodium" ,libsodium)
684 ("libtoxcore" ,libtoxcore)
685 ("libvpx" ,libvpx)
686 ("libxscrnsaver" ,libxscrnsaver)
687 ("libx11" ,libx11)
688 ("openal" ,openal)
689 ("qrencode" ,qrencode)
690 ("qt" ,qt)
691 ("sqlcipher" ,sqlcipher)))
692 (native-inputs
693 `(("pkg-config" ,pkg-config)
694 ("qmake" ,qt)))
695 (build-system gnu-build-system)
696 (arguments
697 '(#:phases
698 (modify-phases %standard-phases
699 (add-after 'unpack 'fix-reproducibility-issues
700 (lambda _
701 (substitute* "src/main.cpp"
702 (("__DATE__") "\"\"")
703 (("__TIME__") "\"\"")
704 (("TIMESTAMP") "\"\""))
705 #t))
706 (replace 'configure
707 (lambda* (#:key outputs #:allow-other-keys)
708 (zero?
709 (system* "qmake"
710 (string-append "PREFIX="
711 (assoc-ref outputs "out")))))))))
712 (home-page "https://qtox.github.io/")
713 (synopsis "Tox chat client using Qt")
714 (description "qTox is a Tox client that follows the Tox design
715guidelines. It provides an easy to use application that allows you to
716connect with friends and family without anyone else listening in.")
717 (license license:gpl3+)))
664 718
665(define-public pybitmessage 719(define-public pybitmessage
666 (package 720 (package