leptonica: include UPSTREAM_CHECK_REGEX to fix UNKNOWN_BROKEN status

Adding UPSTREAM_CHECK_REGEX fix UNKNOWN_BROKEN status
from running devtool check-upgrade-status.

The next version of the package can be found from upstream
sources.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
This commit is contained in:
Alexandre Truong
2024-07-19 16:28:20 +02:00
committed by Khem Raj
parent e71a678f4d
commit 0f8c61fe2f
@@ -4,6 +4,7 @@ LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://leptonica-license.txt;md5=809b282cea2df68975fbe0ffe02b560f"
UPSTREAM_CHECK_URI = "https://github.com/DanBloomberg/leptonica/releases"
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
SRC_URI = "http://www.leptonica.org/source/leptonica-${PV}.tar.gz"
SRC_URI[sha256sum] = "155302ee914668c27b6fe3ca9ff2da63b245f6d62f3061c8f27563774b8ae2d6"