mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
22eaa2f0cf
Add support for native build of json-schema-validator Signed-off-by: Yishai Jaffe <yishai1999@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 lines
751 B
BlitzBasic
21 lines
751 B
BlitzBasic
SUMMARY = "JSON schema validator for JSON for Modern C++"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=c441d022da1b1663c70181a32225d006"
|
|
|
|
SRC_URI = "git://github.com/pboettch/json-schema-validator;branch=main;protocol=https \
|
|
file://0001-Set-Json_validator-Install-off-if-it-finds-it-via-li.patch \
|
|
file://0002-Fix-assumed-signed-char.patch \
|
|
file://0003-For-root-value-use-empty-pointer.patch \
|
|
file://0004-cmake-Use-GNUInstallDirs.patch \
|
|
"
|
|
|
|
SRCREV = "6b17782d6a5d1dee5d2c4fc5d25ffb1123913431"
|
|
|
|
|
|
DEPENDS += "nlohmann-json"
|
|
|
|
inherit cmake
|
|
EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DJSON_VALIDATOR_BUILD_TESTS=OFF -DJSON_VALIDATOR_BUILD_EXAMPLES=OFF"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|