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.
This commit is contained in:
parent
230bd4bb60
commit
c11df2e879
|
@ -832,23 +832,26 @@ messenger protocol.")
|
||||||
(define-public utox
|
(define-public utox
|
||||||
(package
|
(package
|
||||||
(name "utox")
|
(name "utox")
|
||||||
(version "0.16.1")
|
(version "0.17.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append "https://github.com/uTox/uTox/archive/v"
|
(uri (git-reference
|
||||||
version ".tar.gz"))
|
(url "https://github.com/uTox/uTox.git")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(commit "v0.17.0")
|
||||||
|
(recursive? #t))) ;; Needed for 'minini' git submodule.
|
||||||
|
(file-name (string-append name "-" version "-checkout"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"14xl72y4w1x2kk0cvkcr9pmywllm0r9w2grjqiknwn95pw6yxz6q"))))
|
"12wbq883il7ikldayh8hm0cjfrkp45vn05xx9s1jbfz6gmkidyar"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:configure-flags '("-DENABLE_TESTS=on")
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'build 'patch-absolute-filename-libgtk-3
|
(add-before 'build 'patch-absolute-filename-libgtk-3
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(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")
|
(("libgtk-3.so")
|
||||||
(string-append (assoc-ref inputs "gtk+")
|
(string-append (assoc-ref inputs "gtk+")
|
||||||
"/lib/libgtk-3.so")))))
|
"/lib/libgtk-3.so")))))
|
||||||
|
|
Loading…
Reference in New Issue