libqb: Switch to release tarballs for SRC_URI

This ensures that version number is not required to be computed on fly
which is required when using sources from git, and it gets it wrong which
get encoded as UNKNOWN in .pc files and packages like usbguard fail to
find the version number of libqb and fails to configure

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2025-03-12 09:05:54 -07:00
parent ec71a3c7d1
commit f36fd07ecb
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -9,18 +9,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=321bf41f280cf805086dd5a720b37785"
inherit autotools pkgconfig
SRCREV = "002171bbcf4bc4728da56c1538afd9e9d814ecaf"
SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=main;protocol=https \
"
S = "${WORKDIR}/git"
SRC_URI = "https://github.com/ClusterLabs/${BPN}/releases/download/v${PV}/${BP}.tar.xz"
SRC_URI[sha256sum] = "b42531fc20b8ac02f4c6d0a4dc49f7c4a1eef09bdb13af5f6927b7fc49522ee6"
DEPENDS += "libxml2"
CFLAGS += "-pthread -D_REENTRANT"
do_configure:prepend() {
( cd ${S}
${S}/autogen.sh )
}
BBCLASSEXTEND = "native"