menulibre: 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 menulibre
INFO: Current version: 2.4.0
INFO: Latest version:

After the patch:
$ devtool latest-version menulibre
INFO: Current version: 2.4.0
INFO: Latest version: 2.4.0

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

View File

@ -15,6 +15,9 @@ REQUIRED_DISTRO_FEATURES = "x11 gobject-introspection-data"
SRC_URI = "https://github.com/bluesabre/${BPN}/releases/download/${BP}/${BP}.tar.gz"
SRC_URI[sha256sum] = "d906acf9cc13b0e15b8e342ae9aab8b0680db336a382d0c42f5d5f465f593c9f"
UPSTREAM_CHECK_URI = "https://github.com/bluesabre/menulibre/releases"
UPSTREAM_CHECK_REGEX = "releases/tag/menulibre-(?P<pver>\d+(\.\d+)+)"
do_compile[noexec] = "1"
do_install:append() {