libmtp: include UPSTREAM_CHECK_* to fix UNKNOWN_BROKEN status

Adding UPSTREAM_CHECK_URI and 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-22 10:28:32 +02:00 committed by Khem Raj
parent cbf3c2885c
commit 6750fa90a3
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -21,6 +21,9 @@ SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.g
SRC_URI:append:class-target = " file://0001-Use-native-mtp-hotplug.patch"
SRC_URI[sha256sum] = "f4c1ceb3df020a6cb851110f620c14fe399518c494ed252039cbfb4e34335135"
UPSTREAM_CHECK_URI = "https://github.com/libmtp/libmtp/releases"
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
inherit autotools pkgconfig lib_package
EXTRA_OECONF += " \