libgphoto2: add UPSTREAM_CHECK_URI

Add UPSTREAM_CHECK_URI to check the correct latest stable verison.

Before the patch:
$ devtool latest-version libgphoto2
INFO: Current version: 2.5.32
INFO: Latest version:

After the patch:
$ devtool latest-version libgphoto2
INFO: Current version: 2.5.32
INFO: Latest version: 2.5.33

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:56 +08:00 committed by Khem Raj
parent e87cf64e47
commit 727aee99ce
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -15,6 +15,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/${BP}.tar.xz;name=libgphoto2 \
"
SRC_URI[libgphoto2.sha256sum] = "495a347be21b8f970607a81e739aa91513a8479cbd73b79454a339c73e2b860e"
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/gphoto/files/libgphoto/"
inherit autotools pkgconfig gettext lib_package
EXTRA_OECONF = " --with-drivers=all udevscriptdir=${nonarch_base_libdir}/udev ac_cv_lib_ltdl_lt_dlcaller_register=yes"