aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-03-19 22:31:38 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-03-31 13:25:56 +0200
commit0d48a392d56d6ec9ef0de267f7ee802b3daae8b0 (patch)
tree2ce524368578df148c1b51dd5415c4cbd929ae37 /meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
parent0233f4cc1575b1f0f055ee82535217c556360387 (diff)
downloadmeta-openembedded-0d48a392d56d6ec9ef0de267f7ee802b3daae8b0.tar.gz
meta-openembedded-0d48a392d56d6ec9ef0de267f7ee802b3daae8b0.tar.bz2
meta-openembedded-0d48a392d56d6ec9ef0de267f7ee802b3daae8b0.zip
rapidjson: Update to 1.1.0 + git
Drop backports Adjust the license checksums to match the changes to file especially https://github.com/miloyip/rapidjson/commit/b4b1a39937fbd168ef72ea477f90f626773d56fc Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb')
-rw-r--r--meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
new file mode 100644
index 000000000..4cded0720
--- /dev/null
+++ b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
@@ -0,0 +1,25 @@
+SUMMARY = "A fast JSON parser/generator for C++ with both SAX/DOM style API"
+HOMEPAGE = "http://rapidjson.org/"
+SECTION = "libs"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125"
+
+SRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1 \
+ file://remove-march-native-from-CMAKE_CXX_FLAGS.patch \
+"
+
+SRCREV = "e5635fb27feab7f6e8d7b916aa20ad799045a641"
+
+PV = "1.1.0+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF"
+
+# RapidJSON is a header-only C++ library, so the main package will be empty.
+
+FILES_${PN}-dev += "${libdir}/cmake"
+
+BBCLASSEXTEND = "native nativesdk"