@@ -3,8 +3,9 @@ HOMEPAGE = "https://github.com/pantoniou/libfyaml"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=6399094fbc639a289cfca2d660c010aa"
-GITHUB_BASE_URI = "https://github.com/pantoniou/libfyaml"
-SRC_URI = "${GITHUB_BASE_URI}/releases/download/v${PV}/libfyaml-${PV}.tar.gz \
+GITHUB_BASE_URI = "https://github.com/pantoniou/libfyaml/releases"
+UPSTREAM_CHECK_REGEX ?= "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
+SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libfyaml-${PV}.tar.gz \
file://0001-Fix-32-bit-build-by-removing-stray-parameter-to-fy_s.patch \
file://0002-vlsize-Handle-decoding-when-size_t-sizeof-uint64_t.patch \
file://0001-build-don-t-output-none-required-to-LIBM-if-no-linke.patch \