diff options
-rw-r--r-- | meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.7.bb | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.7.bb b/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.7.bb index 8e906a4483..8483331fa4 100644 --- a/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.7.bb +++ b/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.7.bb | |||
@@ -4,6 +4,8 @@ SECTION = "libs" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
6 | 6 | ||
7 | DEPENDS += "hiredis" | ||
8 | |||
7 | SRC_URI = "git://github.com/sewenew/redis-plus-plus;branch=master;protocol=https \ | 9 | SRC_URI = "git://github.com/sewenew/redis-plus-plus;branch=master;protocol=https \ |
8 | file://0001-include-cstdint.patch" | 10 | file://0001-include-cstdint.patch" |
9 | SRCREV = "f3b19a8a1f609d1a1b79002802e5cf8c336dc262" | 11 | SRCREV = "f3b19a8a1f609d1a1b79002802e5cf8c336dc262" |
@@ -12,13 +14,13 @@ S = "${WORKDIR}/git" | |||
12 | 14 | ||
13 | inherit cmake | 15 | inherit cmake |
14 | 16 | ||
15 | EXTRA_OECMAKE += "-DREDIS_PLUS_PLUS_USE_TLS=ON" | 17 | # if ssl is enabled for redis-plus-plus it must also be enabled for hiredis |
16 | 18 | PACKAGECONFIG ??= "ssl" | |
17 | DEPENDS += "hiredis openssl" | 19 | PACKAGECONFIG[ssl] = "-DREDIS_PLUS_PLUS_USE_TLS=ON, -DREDIS_PLUS_PLUS_USE_TLS=OFF, openssl" |
18 | 20 | PACKAGECONFIG[test] = "-DREDIS_PLUS_PLUS_BUILD_TEST=ON, -DREDIS_PLUS_PLUS_BUILD_TEST=OFF" | |
19 | RDEPENDS:${PN} += "hiredis" | ||
20 | |||
21 | FILES_SOLIBSDEV = "" | ||
22 | FILES:${PN} += " ${libdir}/libredis++.so*" | ||
23 | 21 | ||
24 | INSANE_SKIP:${PN} += "dev-so" | 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 | } | ||