diff options
| author | Peter Bergin <peter.bergin@windriver.com> | 2023-05-23 14:12:30 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-05-23 15:04:38 -0700 |
| commit | df6d91cfc4fd9e57a4fe1156f4d5830c600b13b2 (patch) | |
| tree | 82bc8f0e948ac06a775881e71f4ff288e2092ddd /meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.8.bb | |
| parent | 48297a8f75b9d7b507ab90058dd5de286722bce6 (diff) | |
| download | meta-openembedded-df6d91cfc4fd9e57a4fe1156f4d5830c600b13b2.tar.gz | |
redis-plus-plus: uprev to 1.3.8
Removed patch now applied upstream.
Signed-off-by: Peter Bergin <peter.bergin@windriver.com>
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.8.bb')
| -rw-r--r-- | meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.8.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.8.bb b/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.8.bb new file mode 100644 index 0000000000..bea1f0b18c --- /dev/null +++ b/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.8.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | DESCRIPTION = "C++ client for Redis based on hiredis" | ||
| 2 | HOMEPAGE = "https://github.com/sewenew/redis-plus-plus" | ||
| 3 | SECTION = "libs" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | ||
| 6 | |||
| 7 | DEPENDS += "hiredis" | ||
| 8 | |||
| 9 | SRC_URI = "git://github.com/sewenew/redis-plus-plus;branch=master;protocol=https \ | ||
| 10 | file://0001-CMakeLists.txt-fix-substitution-for-static-libs.patch" | ||
| 11 | SRCREV = "4368319fb668204f345da05b9dd79762506c67b6" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | inherit cmake | ||
| 16 | |||
| 17 | # if ssl is enabled for redis-plus-plus it must also be enabled for hiredis | ||
| 18 | PACKAGECONFIG ??= "ssl" | ||
| 19 | PACKAGECONFIG[ssl] = "-DREDIS_PLUS_PLUS_USE_TLS=ON, -DREDIS_PLUS_PLUS_USE_TLS=OFF, openssl" | ||
| 20 | PACKAGECONFIG[test] = "-DREDIS_PLUS_PLUS_BUILD_TEST=ON, -DREDIS_PLUS_PLUS_BUILD_TEST=OFF" | ||
| 21 | |||
| 22 | do_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 | } | ||
