From f36fd07ecb0c0476163b5a647f085454abe123d7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 12 Mar 2025 09:05:54 -0700 Subject: 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 --- meta-oe/recipes-extended/libqb/libqb_2.0.8.bb | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/meta-oe/recipes-extended/libqb/libqb_2.0.8.bb b/meta-oe/recipes-extended/libqb/libqb_2.0.8.bb index 3db9e2e66f..d270bf2113 100644 --- a/meta-oe/recipes-extended/libqb/libqb_2.0.8.bb +++ b/meta-oe/recipes-extended/libqb/libqb_2.0.8.bb @@ -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" -- cgit v1.2.3-54-g00ecf