aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRutger Helling <rhelling@mykolab.com>2018-04-24 10:05:06 +0200
committerRutger Helling <rhelling@mykolab.com>2018-04-24 10:13:25 +0200
commitc11df2e879b7e5fb40187325a1d32435cb918ca6 (patch)
tree3c7a73558d76aa4e9ce78323f059d3ff2b18b535 /gnu/packages
parent230bd4bb608bd2538fba26c8e89af53d7976f40a (diff)
downloadguix-c11df2e879b7e5fb40187325a1d32435cb918ca6.tar
guix-c11df2e879b7e5fb40187325a1d32435cb918ca6.tar.gz
gnu: utox: Update to 0.17.0.
* gnu/packages/messaging.scm (utox): Update to 0.17.0. [source]: Use git-fetch instead of url-fetch. [arguments]: Add "-DENABLE_TESTS=on" configure-flag.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/messaging.scm19
1 files changed, 11 insertions, 8 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index cce64f7346..1839b2910d 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -832,23 +832,26 @@ messenger protocol.")
(define-public utox
(package
(name "utox")
- (version "0.16.1")
+ (version "0.17.0")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/uTox/uTox/archive/v"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/uTox/uTox.git")
+ (commit "v0.17.0")
+ (recursive? #t))) ;; Needed for 'minini' git submodule.
+ (file-name (string-append name "-" version "-checkout"))
(sha256
(base32
- "14xl72y4w1x2kk0cvkcr9pmywllm0r9w2grjqiknwn95pw6yxz6q"))))
+ "12wbq883il7ikldayh8hm0cjfrkp45vn05xx9s1jbfz6gmkidyar"))))
(build-system cmake-build-system)
(arguments
- `(#:phases
+ `(#:configure-flags '("-DENABLE_TESTS=on")
+ #:phases
(modify-phases %standard-phases
(add-before 'build 'patch-absolute-filename-libgtk-3
(lambda* (#:key inputs outputs #:allow-other-keys)
- (substitute* "../uTox-0.16.1/src/xlib/gtk.c"
+ (substitute* "../source/src/xlib/gtk.c"
(("libgtk-3.so")
(string-append (assoc-ref inputs "gtk+")
"/lib/libgtk-3.so")))))