diff options
| author | Marius Bakke <marius@gnu.org> | 2022-06-27 21:19:22 +0200 |
|---|---|---|
| committer | Marius Bakke <marius@gnu.org> | 2022-06-27 23:48:00 +0200 |
| commit | 2ada32cc3963afd7f195cb82eade3baf0df2cf1f (patch) | |
| tree | f28cc8f45d7d727bd9ef7c1c110e009346b304e6 /gnu/packages | |
| parent | 80193fff5993a1d9e0edce7229a0d6c6e2437df5 (diff) | |
gnu: jsoncpp: Build with Meson.
* gnu/packages/serialization.scm (jsoncpp)[build-system]: Change to
MESON-BUILD-SYSTEM.
[arguments]: Remove.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/serialization.scm | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 960c339ef92..d0e5425f8a9 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm | |||
| @@ -38,6 +38,7 @@ | |||
| 38 | #:use-module (guix build-system cmake) | 38 | #:use-module (guix build-system cmake) |
| 39 | #:use-module (guix build-system copy) | 39 | #:use-module (guix build-system copy) |
| 40 | #:use-module (guix build-system gnu) | 40 | #:use-module (guix build-system gnu) |
| 41 | #:use-module (guix build-system meson) | ||
| 41 | #:use-module (guix build-system python) | 42 | #:use-module (guix build-system python) |
| 42 | #:use-module (gnu packages) | 43 | #:use-module (gnu packages) |
| 43 | #:use-module (gnu packages autotools) | 44 | #:use-module (gnu packages autotools) |
| @@ -423,15 +424,7 @@ in which the loaded data is arranged in memory.") | |||
| 423 | (sha256 | 424 | (sha256 |
| 424 | (base32 | 425 | (base32 |
| 425 | "06zss7z56ykzwcsfdxarmini63hkf8i8gx70q3yw9wb0bw7wj9rv")))) | 426 | "06zss7z56ykzwcsfdxarmini63hkf8i8gx70q3yw9wb0bw7wj9rv")))) |
| 426 | (build-system cmake-build-system) | 427 | (build-system meson-build-system) |
| 427 | (arguments | ||
| 428 | `(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES" | ||
| 429 | ,@(if (%current-target-system) | ||
| 430 | `("-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF") | ||
| 431 | '())) | ||
| 432 | ,@(if (%current-target-system) | ||
| 433 | '() | ||
| 434 | `(#:cmake ,cmake-bootstrap)))) | ||
| 435 | (synopsis "C++ library for interacting with JSON") | 428 | (synopsis "C++ library for interacting with JSON") |
| 436 | (description "JsonCpp is a C++ library that allows manipulating JSON values, | 429 | (description "JsonCpp is a C++ library that allows manipulating JSON values, |
| 437 | including serialization and deserialization to and from strings. It can also | 430 | including serialization and deserialization to and from strings. It can also |
