diff options
author | Erik Edrosa <erik.edrosa@gmail.com> | 2016-09-08 21:02:31 -0400 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2016-09-10 22:39:46 +0300 |
commit | 3b38d78e9ff556aad62df892c7cdfb3be2003878 (patch) | |
tree | debef62be9631e4f84b9beabc255194d4821f9c4 /gnu | |
parent | eb64bde158e7ddb2d3c4be9cf0633391a0415e99 (diff) | |
download | guix-3b38d78e9ff556aad62df892c7cdfb3be2003878.tar.gz |
gnu: Add utox.
* gnu/packages/messaging.scm (utox): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/messaging.scm | 51 |
1 files changed, 48 insertions, 3 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 4f7dcc7bf0..cf41d56370 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -24,8 +24,8 @@ (define-module (gnu packages messaging) #:use-module ((guix licenses) - #:select (gpl3+ gpl2+ gpl2 lgpl2.1 lgpl2.0+ bsd-2 non-copyleft - asl2.0 x11)) + #:select (gpl3+ gpl3 gpl2+ gpl2 lgpl2.1 lgpl2.0+ bsd-2 + non-copyleft asl2.0 x11)) #:use-module (guix utils) #:use-module (guix packages) #:use-module (guix download) @@ -65,7 +65,9 @@ #:use-module (gnu packages tls) #:use-module (gnu packages icu4c) #:use-module (gnu packages video) - #:use-module (gnu packages xiph)) + #:use-module (gnu packages xiph) + #:use-module (gnu packages audio) + #:use-module (gnu packages fontutils)) (define-public libotr (package @@ -614,4 +616,47 @@ protocols.") (license gpl3+) (home-page "https://tox.chat")))) +(define-public utox + (package + (name "utox") + (version "0.9.8") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/GrayHatter/uTox/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "13hfqbwzcgvfbvf9yjm62aqsvxnpqppb50c88sys43m7022yqcsy")))) + (build-system gnu-build-system) + (arguments + '(#:make-flags (list (string-append "PREFIX=" %output) + "CC=gcc") + #:tests? #f ; No tests + #:phases + (modify-phases %standard-phases + ;; No configure script + (delete 'configure)))) + (inputs + `(("dbus" ,dbus) + ("filteraudio" ,filteraudio) + ("fontconfig" ,fontconfig) + ("freetype" ,freetype) + ("libsodium" ,libsodium) + ("libtoxcore" ,libtoxcore) + ("libvpx" ,libvpx) + ("libx11" ,libx11) + ("libxext" ,libxext) + ("libxrender" ,libxrender) + ("openal" ,openal) + ("v4l-utils" ,v4l-utils))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (synopsis "Lightweight Tox client") + (description "A lightweight Tox client. Tox is a distributed and secure +instant messenger with audio and video chat capabilities.") + (home-page "http://utox.org/") + (license gpl3))) + ;;; messaging.scm ends here |