summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.9.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-06-19 14:48:09 +0800
committerKhem Raj <raj.khem@gmail.com>2023-06-19 10:24:49 -0700
commit22d1293154109478b892d05189ac3fef6014d84c (patch)
tree45473a321bfe637aa17012f55940fbf2c4213862 /meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.9.bb
parented6e34b005f05992e29a4e2a6d3d2b139bfb10a9 (diff)
downloadmeta-openembedded-22d1293154109478b892d05189ac3fef6014d84c.tar.gz
redis-plus-plus: upgrade 1.3.8 -> 1.3.9
0001-CMakeLists.txt-fix-substitution-for-static-libs.patch refresh for new version Changelog: =========== Fix async interface bug More built-in commands support for AsyncRedis Fix incorrect hiredis static lib dependency when building with TSL Breaking change: make HSET related methods return long long instead of bool Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.9.bb')
-rw-r--r--meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.9.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.9.bb b/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.9.bb
new file mode 100644
index 0000000000..a8a93868e8
--- /dev/null
+++ b/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.9.bb
@@ -0,0 +1,26 @@
1DESCRIPTION = "C++ client for Redis based on hiredis"
2HOMEPAGE = "https://github.com/sewenew/redis-plus-plus"
3SECTION = "libs"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
6
7DEPENDS += "hiredis"
8
9SRC_URI = "git://github.com/sewenew/redis-plus-plus;branch=master;protocol=https \
10 file://0001-CMakeLists.txt-fix-substitution-for-static-libs.patch"
11SRCREV = "0c4ba0370e46c3d0d443c0368d02195faa791219"
12
13S = "${WORKDIR}/git"
14
15inherit cmake
16
17# if ssl is enabled for redis-plus-plus it must also be enabled for hiredis
18PACKAGECONFIG ??= "ssl"
19PACKAGECONFIG[ssl] = "-DREDIS_PLUS_PLUS_USE_TLS=ON, -DREDIS_PLUS_PLUS_USE_TLS=OFF, openssl"
20PACKAGECONFIG[test] = "-DREDIS_PLUS_PLUS_BUILD_TEST=ON, -DREDIS_PLUS_PLUS_BUILD_TEST=OFF"
21
22do_install:append() {
23 # To remove absolute path in .cmake found by QA warning [buildpaths]
24 sed -i -e 's|${STAGING_LIBDIR}/libcrypto.so|crypto|g' ${D}${datadir}/cmake/redis++/redis++-targets.cmake
25 sed -i -e 's|${STAGING_LIBDIR}/libssl.so|ssl|g' ${D}${datadir}/cmake/redis++/redis++-targets.cmake
26}