libyui-ncurses: add UPSTREAM_CHECK_GITTAGREGEX

Also add tag in the SRC_URI

Fixes:
$ devtool latest-version libyui-ncurses
...
INFO: Current version: 4.6.2
INFO: Latest version: 43018
INFO: Latest version's commit: 7009e514ecafb1e25e0cc5a4ec1e731ff8af30ee

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Ankur Tyagi
2026-08-19 23:25:51 +12:00
committed by Khem Raj
parent 872b70f6bf
commit e90679a493
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://../COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad0
file://../COPYING.lgpl-2.1;md5=4fbd65380cdd255951079008b364516c \
"
SRC_URI = "git://github.com/libyui/libyui.git;branch=master;protocol=https \
SRC_URI = "git://github.com/libyui/libyui.git;branch=master;protocol=https;tag=${PV} \
file://0001-NCurses-cast-wchar_t-before-streaming-to-narrow-ostr.patch \
"
@@ -12,6 +12,8 @@ SRC_URI:append:class-target = " file://0001-Fix-the-error-of-can-t-find-header-f
SRCREV = "e691b563262306a40a61bbf228839fa06e4f0516"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
S = "${UNPACKDIR}/${BP}/libyui-ncurses"
inherit cmake gettext pkgconfig