abseil-cpp: add UPSTREAM_CHECK_URI

Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct
latest stable verison.

Before the patch:
$ devtool latest-version abseil-cpp
INFO: Current version: 20250814.1
INFO: Latest version:

After the patch:
$ devtool latest-version abseil-cpp
INFO: Current version: 20250814.1
INFO: Latest version: 20250814.1

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Yi Zhao 2025-11-12 21:43:47 +08:00 committed by Khem Raj
parent 1b7ca55bd3
commit 7d800ebd21
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -13,6 +13,9 @@ SRC_URI = "https://github.com/abseil/${BPN}/releases/download/${PV}/${BP}.tar.gz
"
SRC_URI[sha256sum] = "1692f77d1739bacf3f94337188b78583cf09bab7e420d2dc6c5605a4f86785a1"
UPSTREAM_CHECK_URI = "https://github.com/abseil/abseil-cpp/releases"
UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)"
inherit cmake
EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \