From: Alexander Kanavin <[email protected]>

This fixes the upstream version check for the newly added recipe,
as the default SRC_URI-minus-tarball page doesn't contain a list of releases.

Signed-off-by: Alexander Kanavin <[email protected]>
---
 meta/recipes-support/libfyaml/libfyaml_0.9.4.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/libfyaml/libfyaml_0.9.4.bb 
b/meta/recipes-support/libfyaml/libfyaml_0.9.4.bb
index c5f2ef30e2..77fe0a15b0 100644
--- a/meta/recipes-support/libfyaml/libfyaml_0.9.4.bb
+++ b/meta/recipes-support/libfyaml/libfyaml_0.9.4.bb
@@ -3,9 +3,10 @@ HOMEPAGE = "https://github.com/pantoniou/libfyaml";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=6399094fbc639a289cfca2d660c010aa"
 
-SRC_URI = 
"https://github.com/pantoniou/libfyaml/releases/download/v${PV}/libfyaml-${PV}.tar.gz";
+GITHUB_BASE_URI = "https://github.com/pantoniou/libfyaml";
+SRC_URI = "${GITHUB_BASE_URI}/releases/download/v${PV}/libfyaml-${PV}.tar.gz"
 SRC_URI[sha256sum] = 
"dac2b0af7b757b32a4fa7c6493d85d0f7dea6effd20ae4352570b6a450b9e5fb"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig github-releases
 
 BBCLASSEXTEND = "native"
-- 
2.47.3

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

Reply via email to