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 <[email protected]>
---
 meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.32.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.32.bb 
b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.32.bb
index 0fe2feca6e..20e0645d21 100644
--- a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.32.bb
+++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.32.bb
@@ -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"
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#121539): 
https://lists.openembedded.org/g/openembedded-devel/message/121539
Mute This Topic: https://lists.openembedded.org/mt/116255830/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to