mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user