aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@siemens.com>2017-10-12 10:20:43 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-10-17 10:32:03 +0000
commit095c366c295476392d5ebe22a085ea883677fa8c (patch)
treedd36e06dcf927f2a584023128f9f5419827102e1 /meta-oe
parentaf0d0f893914f84adb8f13e30ea5ac5dd625442c (diff)
downloadmeta-openembedded-contrib-095c366c295476392d5ebe22a085ea883677fa8c.tar.gz
meta-openembedded-contrib-095c366c295476392d5ebe22a085ea883677fa8c.tar.bz2
meta-openembedded-contrib-095c366c295476392d5ebe22a085ea883677fa8c.zip
rocksdb: add version 5.8
Version 5.8 does no longer includes the facebook patent grant and is licensed under the Apache-2.0 or GPL-2.0 license. Tests and tools don't compile on armv5 so we disable them. The tools are never installed anyway so it doesn't make a difference for the resulting package. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-extended/rocksdb/rocksdb_git.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb b/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb
new file mode 100644
index 0000000000..9b19c1a5f2
--- /dev/null
+++ b/meta-oe/recipes-extended/rocksdb/rocksdb_git.bb
@@ -0,0 +1,31 @@
+SUMMARY = "RocksDB an embeddable, persistent key-value store"
+DESCRIPTION = "RocksDB is library that provides an embeddable, persistent key-value store for fast storage."
+HOMEPAGE = "http://rocksdb.org/"
+LICENSE = "(Apache-2.0 | GPL-2.0) & BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57 \
+ file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+ file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837"
+
+SRCREV = "266ac245affd69555643b735d19d3715c4eff91a"
+PV = "5.8+git${SRCPV}"
+
+SRC_URI = "git://github.com/facebook/${BPN}.git"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+PACKAGECONFIG ??= "bzip2 zlib lz4"
+PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2"
+PACKAGECONFIG[lz4] = "-DWITH_LZ4=ON,-DWITH_LZ4=OFF,lz4"
+PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib"
+PACKAGECONFIG[lite] = "-DROCKSDB_LITE=ON,-DROCKSDB_LITE=OFF"
+
+# Tools and tests currently don't compile on armv5 so we disable them
+EXTRA_OECMAKE = "\
+ -DPORTABLE=ON \
+ -DWITH_TESTS=OFF \
+ -DWITH_TOOLS=OFF \
+"
+
+FILES_${PN}-dev += "${libdir}/cmake"