فهرست منبع

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>
Khem Raj 2 ماه پیش
والد
کامیت
f36fd07ecb
1فایلهای تغییر یافته به همراه2 افزوده شده و 9 حذف شده
  1. 2 9
      meta-oe/recipes-extended/libqb/libqb_2.0.8.bb

+ 2 - 9
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"