diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-03-12 09:05:54 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-13 09:50:12 -0700 |
| commit | f36fd07ecb0c0476163b5a647f085454abe123d7 (patch) | |
| tree | 5d67739591134562872a795d81c2e0f324c038a6 /meta-oe | |
| parent | ec71a3c7d1be6d8e2042d106269db7baaeee4b81 (diff) | |
| download | meta-openembedded-f36fd07ecb0c0476163b5a647f085454abe123d7.tar.gz | |
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>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-extended/libqb/libqb_2.0.8.bb | 11 |
1 files 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" | |||
| 9 | 9 | ||
| 10 | inherit autotools pkgconfig | 10 | inherit autotools pkgconfig |
| 11 | 11 | ||
| 12 | SRCREV = "002171bbcf4bc4728da56c1538afd9e9d814ecaf" | 12 | SRC_URI = "https://github.com/ClusterLabs/${BPN}/releases/download/v${PV}/${BP}.tar.xz" |
| 13 | SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=main;protocol=https \ | 13 | SRC_URI[sha256sum] = "b42531fc20b8ac02f4c6d0a4dc49f7c4a1eef09bdb13af5f6927b7fc49522ee6" |
| 14 | " | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | 14 | ||
| 17 | DEPENDS += "libxml2" | 15 | DEPENDS += "libxml2" |
| 18 | 16 | ||
| 19 | CFLAGS += "-pthread -D_REENTRANT" | 17 | CFLAGS += "-pthread -D_REENTRANT" |
| 20 | 18 | ||
| 21 | do_configure:prepend() { | ||
| 22 | ( cd ${S} | ||
| 23 | ${S}/autogen.sh ) | ||
| 24 | } | ||
| 25 | |||
| 26 | BBCLASSEXTEND = "native" | 19 | BBCLASSEXTEND = "native" |
