meta-openembedded/meta-oe/recipes-support/librdkafka/librdkafka_2.11.0.bb
Alper Ak 1ca1493b71
librdkafka: Upgrade 1.8.2 -> 2.11.0 to allow CMake 4+ compatibility
- Dropped patch because fixed in the newer version.
- The LICENSE file has changed so updated LIC_FILES_CHKSUM to match the new md5sum.
- curl is needed as a dependency, so add it to prevent build error.

Changelog:

https://github.com/confluentinc/librdkafka/blob/v2.11.0/CHANGELOG.md

Fix:

| CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:35:17 -07:00

20 lines
656 B
BlitzBasic

SUMMARY = "the Apache Kafka C/C++ client library"
DESCRIPTION = "librdkafka is a C library implementation of the Apache Kafka protocol, \
providing Producer, Consumer and Admin clients."
HOMEPAGE = "https://github.com/edenhill/librdkafka"
SECTION = "libs"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=40b04809b5d6f648f20f45143cbcb1ad"
SRC_URI = "git://github.com/edenhill/librdkafka;protocol=https;branch=master"
SRCREV = "c56a3e68483ae33622901988ab9c4085f0785c3c"
DEPENDS = "zlib openssl zstd curl"
inherit cmake
FILES:${PN} += "${datadir}"
EXTRA_OECMAKE += "-DRDKAFKA_BUILD_EXAMPLES=OFF -DRDKAFKA_BUILD_TESTS=OFF"