mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: protobuf: Unbundle googletest.
* gnu/packages/protobuf.scm (protobuf) [origin]: Delete third_party directory in snippet. [configure-flags]: Add "-Dprotobuf_USE_EXTERNAL_GTEST=ON". [native-inputs]: Add googletest.
This commit is contained in:
parent
9f6479ecad
commit
32ba6c5ddf
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,8 @@ (define-public protobuf
|
|||
(arguments
|
||||
(list
|
||||
;; TODO: Add the BUILD_SHARED_LIBS flag to cmake-build-system.
|
||||
#:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON")
|
||||
#:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"
|
||||
"-Dprotobuf_USE_EXTERNAL_GTEST=ON")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'disable-broken-tests
|
||||
|
@ -154,6 +155,7 @@ (define-public protobuf
|
|||
(install-file file slib)
|
||||
(delete-file file))
|
||||
(find-files lib "\\.a$"))))))))
|
||||
(native-inputs (list googletest))
|
||||
(inputs (list zlib))
|
||||
(home-page "https://github.com/protocolbuffers/protobuf")
|
||||
(synopsis "Data encoding for remote procedure calls (RPCs)")
|
||||
|
|
Loading…
Reference in a new issue