mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: tdlib: Use G-expressions.
* gnu/packages/messaging.scm (tdlib)[arguments]: Use G-expressions. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
0d8739bd6d
commit
a4cc6b5909
1 changed files with 14 additions and 13 deletions
|
@ -2665,19 +2665,20 @@ (define-public tdlib
|
|||
(file-name (git-file-name name version))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
(list "-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DTD_ENABLE_LTO=OFF") ; FIXME: Get LTO to work.
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'remove-failing-tests
|
||||
(lambda _
|
||||
(substitute* "test/CMakeLists.txt"
|
||||
;; The test cases are compiled into a distinct binary
|
||||
;; which uses mtproto.cpp to attempt to connect to
|
||||
;; a remote server. Removing this file from the sources
|
||||
;; list disables those specific test cases.
|
||||
(("\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/mtproto.cpp") "")))))))
|
||||
(list
|
||||
#:configure-flags
|
||||
#~(list "-DCMAKE_BUILD_TYPE=Release"
|
||||
"-DTD_ENABLE_LTO=OFF") ; FIXME: Get LTO to work.
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'remove-failing-tests
|
||||
(lambda _
|
||||
(substitute* "test/CMakeLists.txt"
|
||||
;; The test cases are compiled into a distinct binary
|
||||
;; which uses mtproto.cpp to attempt to connect to
|
||||
;; a remote server. Removing this file from the sources
|
||||
;; list disables those specific test cases.
|
||||
(("\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/mtproto.cpp") "")))))))
|
||||
(native-inputs
|
||||
(list gperf openssl zlib php doxygen))
|
||||
(synopsis "Cross-platform library for building Telegram clients")
|
||||
|
|
Loading…
Reference in a new issue