libtimezonemap: 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 libtimezonemap
INFO: Current version: 0.4.6
INFO: Latest version:

After the patch:
$ devtool latest-version libtimezonemap
INFO: Current version: 0.4.6
INFO: Latest version: 0.4.6

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-08 22:15:33 +08:00 committed by Khem Raj
parent e95089fd83
commit a8161b89b5
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -8,6 +8,9 @@ SRC_URI = "${DEBIAN_MIRROR}/main/libt/${BPN}/${BPN}_${PV}.orig.tar.gz;downloadfi
file://0001-configure.ac-correct-the-version.patch" file://0001-configure.ac-correct-the-version.patch"
SRC_URI[sha256sum] = "0d634cc2476d8f57d1ee1864bd4f442180ae4bf040a9ae4bf73b66bbd85d7195" SRC_URI[sha256sum] = "0d634cc2476d8f57d1ee1864bd4f442180ae4bf040a9ae4bf73b66bbd85d7195"
UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/libt/libtimezonemap"
UPSTREAM_CHECK_REGEX = "libtimezonemap_(?P<pver>\d+(\.\d+)+)"
DEPENDS = "gtk+3 gdk-pixbuf libsoup-2.4 json-glib gnome-common-native" DEPENDS = "gtk+3 gdk-pixbuf libsoup-2.4 json-glib gnome-common-native"
B = "${S}" B = "${S}"