diff options
| author | Bartosz Szostak <bartosz.szostak@xware.pl> | 2025-01-02 12:39:27 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-02 07:49:49 -0800 |
| commit | 33bc1313cff7b606988a9508f64b3aa5fd5536b8 (patch) | |
| tree | 0c10948a808a3c00dc2855123575eff1c27d8190 | |
| parent | 21ce8860055db3c04d2ebcb85bf88942ed0248f0 (diff) | |
| download | meta-openembedded-33bc1313cff7b606988a9508f64b3aa5fd5536b8.tar.gz | |
yyjson: add new recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/yyjson/yyjson_0.10.0.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/yyjson/yyjson_0.10.0.bb b/meta-oe/recipes-support/yyjson/yyjson_0.10.0.bb new file mode 100644 index 0000000000..69e43e23a6 --- /dev/null +++ b/meta-oe/recipes-support/yyjson/yyjson_0.10.0.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | DESCRIPTION = "A high performance JSON library written in ANSI C." | ||
| 2 | HOMEPAGE = "https://github.com/ibireme/yyjson" | ||
| 3 | |||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c8ae1b99922935413d4c596f50b59545" | ||
| 6 | |||
| 7 | SRC_URI = "git://github.com/ibireme/yyjson.git;protocol=https;branch=master" | ||
| 8 | SRCREV = "9ddba001a4ea88e93b46932e5c5b87b222e19a5f" | ||
| 9 | |||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | inherit cmake | ||
| 13 | |||
| 14 | PACKAGECONFIG ??= "reader writer utils fast-fp-conv non-standard utf8-validation unaligned-memory-access" | ||
| 15 | PACKAGECONFIG[reader] = "-DYYJSON_DISABLE_READER=OFF,-DYYJSON_DISABLE_READER=ON" | ||
| 16 | PACKAGECONFIG[writer] = "-DYYJSON_DISABLE_WRITER=OFF,-DYYJSON_DISABLE_WRITER=ON" | ||
| 17 | PACKAGECONFIG[utils] = "-DYYJSON_DISABLE_UTILS=OFF,-DYYJSON_DISABLE_UTILS=ON" | ||
| 18 | PACKAGECONFIG[fast-fp-conv] = "-DYYJSON_DISABLE_FAST_FP_CONV=OFF,-DYYJSON_DISABLE_FAST_FP_CONV=ON" | ||
| 19 | PACKAGECONFIG[non-standard] = "-DYYJSON_DISABLE_NON_STANDARD=OFF,-DYYJSON_DISABLE_NON_STANDARD=ON" | ||
| 20 | PACKAGECONFIG[utf8-validation] = "-DYYJSON_DISABLE_UTF8_VALIDATION=OFF,-DYYJSON_DISABLE_UTF8_VALIDATION=ON" | ||
| 21 | PACKAGECONFIG[unaligned-memory-access] = "-DYYJSON_DISABLE_UNALIGNED_MEMORY_ACCESS=OFF,-DYYJSON_DISABLE_UNALIGNED_MEMORY_ACCESS=ON" | ||
| 22 | |||
| 23 | EXTRA_OECMAKE:append = " \ | ||
| 24 | -DYYJSON_BUILD_TESTS=OFF \ | ||
| 25 | -DYYJSON_BUILD_FUZZER=OFF \ | ||
| 26 | -DYYJSON_BUILD_MISC=OFF \ | ||
| 27 | -DYYJSON_BUILD_DOC=OFF \ | ||
| 28 | -DYYJSON_ENABLE_COVERAGE=OFF \ | ||
| 29 | -DYYJSON_ENABLE_VALGRIND=OFF \ | ||
| 30 | -DYYJSON_ENABLE_SANITIZE=OFF \ | ||
| 31 | -DYYJSON_ENABLE_FASTMATH=OFF \ | ||
| 32 | -DYYJSON_FORCE_32_BIT=OFF \ | ||
| 33 | " | ||
