Skip to contentSkip to conversation

redis-plus-plus: add recipe

PATCH Superseded Fagundes, Paulo 2 participants 3 messages Jul 3, 2020 – Jul 6, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 redis-plus-plus: add recipe

redis-plus-plus is a redis client written in C++ and based on hiredis

---
 .../redis-plus-plus/redis-plus-plus_1.1.2.bb       | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.1.2.bb
meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.1.2.bb new file +14 -0
new file mode 100644
index 0000000000..c6b64af432
@@ -0,0 +1,14 @@
+DESCRIPTION = "C++ client for Redis based on hiredis"
+LICENSE = "Apache-2.0"
+HOMEPAGE = "https://github.com/sewenew/redis-plus-plus"
+
+SRC_URI = "https://github.com/sewenew/redis-plus-plus/archive/1.1.2.tar.gz"
+SRC_URI[sha256sum] = "9ff6050a948907ed7a7670296e6926f2bcc413555fc514adfb3b78ea11faa332"
+
+DEPENDS += "hiredis"
+RDEPENDS_${PN} += "hiredis"
+
+FILES_SOLIBSDEV = ""
+FILES_${PN} += " ${libdir}/libredis++.so"
+
+inherit cmake
Signature · 1 line
2.27.0
#1 lore raw

Hi Paulo

Quoted 15 lines · Paulo

redis-plus-plus is a redis client written in C++ and based on hiredis

---
 .../redis-plus-plus/redis-plus-plus_1.1.2.bb       | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.1.2.bb
meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.1.2.bb new file +0 -0
new file mode 100644
index 0000000000..c6b64af432

meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.1.2.bb line 2

Quoted 2 lines
meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.1.2.bb new file +2 -0
@@ -0,0 +1,14 @@
+DESCRIPTION = "C++ client for Redis based on hiredis"
+LICENSE = "Apache-2.0"

this recipe needs to define LIC_FILES_CHKSUM as well. Please fix it and resend it.

meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.1.2.bb line 5

Quoted 3 lines
meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.1.2.bb new file +3 -0
+HOMEPAGE = "https://github.com/sewenew/redis-plus-plus"
+
+SRC_URI = "https://github.com/sewenew/redis-plus-plus/archive/1.1.2.tar.gz"

see if you can use a release artifact instead of the archive since they might change checksums randomly. If there is no release artifact then
use SRCREV to pin to the release tag with git fetcher instead.

Quoted 13 lines
meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.1.2.bb new file +9 -1
+SRC_URI[sha256sum] = "9ff6050a948907ed7a7670296e6926f2bcc413555fc514adfb3b78ea11faa332"
+
+DEPENDS += "hiredis"
+RDEPENDS_${PN} += "hiredis"
+
+FILES_SOLIBSDEV = ""
+FILES_${PN} += " ${libdir}/libredis++.so"
+
+inherit cmake
--

2.27.0