libcppkafka: Update to tip of trunk

Fix the PV to point to last release + git as 0.4.0 is unreleased yet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2024-01-04 10:28:55 -08:00
parent a7bbf879b5
commit b1a7262087
2 changed files with 8 additions and 34 deletions
@@ -9,17 +9,21 @@ file://LICENSE;md5=d8b4ca15d239dc1485ef495c8f1bcc72 \
"
SRC_URI = "git://github.com/mfontanini/cppkafka;protocol=https;branch=master \
file://0001-cmake-Use-CMAKE_INSTALL_LIBDIR.patch \
"
SRCREV = "5e4b350806d561473138ce7a982e8f6cf2e77733"
SRCREV = "91ac543cbd2228588dcf24a6ca357f8be0f4e5ab"
DEPENDS = "librdkafka boost chrpath-replacement-native"
BASEPV = "0.4.0"
PV = "${BASEPV}+git"
DEPENDS = "librdkafka curl boost chrpath-replacement-native"
inherit cmake
EXTRA_OECMAKE = "-DCPPKAFKA_BUILD_SHARED=ON"
S = "${WORKDIR}/git"
do_install:append(){
chrpath -d ${D}${libdir}/libcppkafka.so.0.3.1
chrpath -d ${D}${libdir}/libcppkafka.so.${BASEPV}
sed -i -e 's|${STAGING_INCDIR}|\$\{includedir\}|g' ${D}${datadir}/pkgconfig/cppkafka.pc
}