Gyorgy Sarvari 45172be94e
redis-plus-plus: upgrade 1.3.14 -> 1.3.15
Drop 0001-update-cmake_minimum_required-to-3.5.patch, because it is
included in this release.

Add back 0001-CMakeLists.txt-fix-substitution-for-static-libs.patch
to SRC_URI, because it was removed accidentally during a previous
update.

Changelog:
- Support cmake FetchContent feature
- Support more hash commands
- Make variant parser more efficient
- Fix event loop crash: avoid closing handle opened by hiredis

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-27 16:18:15 -07:00

26 lines
1.1 KiB
BlitzBasic

DESCRIPTION = "C++ client for Redis based on hiredis"
HOMEPAGE = "https://github.com/sewenew/redis-plus-plus"
SECTION = "libs"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
DEPENDS += "hiredis"
SRC_URI = "git://github.com/sewenew/redis-plus-plus;branch=master;protocol=https;tag=${PV} \
file://0001-CMakeLists.txt-fix-substitution-for-static-libs.patch"
SRCREV = "a63ac43bf192772910b52e27cd2b42a6098a0071"
inherit cmake
# if ssl is enabled for redis-plus-plus it must also be enabled for hiredis
PACKAGECONFIG ??= "ssl"
PACKAGECONFIG[ssl] = "-DREDIS_PLUS_PLUS_USE_TLS=ON, -DREDIS_PLUS_PLUS_USE_TLS=OFF, openssl"
PACKAGECONFIG[test] = "-DREDIS_PLUS_PLUS_BUILD_TEST=ON, -DREDIS_PLUS_PLUS_BUILD_TEST=OFF"
do_install:append() {
# To remove absolute path in .cmake found by QA warning [buildpaths]
sed -i -e 's|${STAGING_LIBDIR}/libcrypto.so|crypto|g' ${D}${datadir}/cmake/redis++/redis++-targets.cmake
sed -i -e 's|${STAGING_LIBDIR}/libssl.so|ssl|g' ${D}${datadir}/cmake/redis++/redis++-targets.cmake
}