Peter Kjellerstedt d52f508569
liboauth2: Backport a patch to build with glibc 2.43
Also remove PV. There is no need to set PV since the version is in the
recipe file name.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-20 09:51:43 -07:00

24 lines
844 B
BlitzBasic

SUMMARY = "OAuth 2.x and OpenID Connect C library"
HOMEPAGE = "https://github.com/OpenIDC/liboauth2"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
SRC_URI = " \
git://github.com/OpenIDC/liboauth2;protocol=https;branch=master;tag=v${PV} \
file://0001-fix-clang-curl_easy_setopt-takes-a-long-not-an-int.patch \
file://0002-Fix-use-of-strchr-with-new-GCC.patch \
"
SRCREV = "12571b6d6568c2db7d5f080f60ecb55795c0db19"
DEPENDS = "libpcre2 jansson curl openssl cjose"
inherit pkgconfig autotools-brokensep
PACKAGECONFIG ??= ""
PACKAGECONFIG[memcache] = "--with-memcache,--without-memcache,libmemcached"
PACKAGECONFIG[redis] = "--with-redis,--without-redis,hiredis"
PACKAGECONFIG[jq] = "--with-jq,--without-jq,jq"
PACKAGECONFIG[apache] = "--with-apache,--without-apache,apache2"