summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz Szostak <bartosz.szostak@xware.pl>2025-01-02 12:39:27 +0100
committerKhem Raj <raj.khem@gmail.com>2025-01-02 07:49:49 -0800
commit33bc1313cff7b606988a9508f64b3aa5fd5536b8 (patch)
tree0c10948a808a3c00dc2855123575eff1c27d8190
parent21ce8860055db3c04d2ebcb85bf88942ed0248f0 (diff)
downloadmeta-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.bb33
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 @@
1DESCRIPTION = "A high performance JSON library written in ANSI C."
2HOMEPAGE = "https://github.com/ibireme/yyjson"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=c8ae1b99922935413d4c596f50b59545"
6
7SRC_URI = "git://github.com/ibireme/yyjson.git;protocol=https;branch=master"
8SRCREV = "9ddba001a4ea88e93b46932e5c5b87b222e19a5f"
9
10S = "${WORKDIR}/git"
11
12inherit cmake
13
14PACKAGECONFIG ??= "reader writer utils fast-fp-conv non-standard utf8-validation unaligned-memory-access"
15PACKAGECONFIG[reader] = "-DYYJSON_DISABLE_READER=OFF,-DYYJSON_DISABLE_READER=ON"
16PACKAGECONFIG[writer] = "-DYYJSON_DISABLE_WRITER=OFF,-DYYJSON_DISABLE_WRITER=ON"
17PACKAGECONFIG[utils] = "-DYYJSON_DISABLE_UTILS=OFF,-DYYJSON_DISABLE_UTILS=ON"
18PACKAGECONFIG[fast-fp-conv] = "-DYYJSON_DISABLE_FAST_FP_CONV=OFF,-DYYJSON_DISABLE_FAST_FP_CONV=ON"
19PACKAGECONFIG[non-standard] = "-DYYJSON_DISABLE_NON_STANDARD=OFF,-DYYJSON_DISABLE_NON_STANDARD=ON"
20PACKAGECONFIG[utf8-validation] = "-DYYJSON_DISABLE_UTF8_VALIDATION=OFF,-DYYJSON_DISABLE_UTF8_VALIDATION=ON"
21PACKAGECONFIG[unaligned-memory-access] = "-DYYJSON_DISABLE_UNALIGNED_MEMORY_ACCESS=OFF,-DYYJSON_DISABLE_UNALIGNED_MEMORY_ACCESS=ON"
22
23EXTRA_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"