Le sam. 8 nov. 2025 à 15:18, Yi Zhao via lists.openembedded.org <yi.zhao= [email protected]> a écrit :
> Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct > latest stable verison. > > Before the patch: > $ devtool latest-version menulibre > INFO: Current version: 2.4.0 > INFO: Latest version: > > After the patch: > $ devtool latest-version menulibre > INFO: Current version: 2.4.0 > INFO: Latest version: 2.4.0 > > Signed-off-by: Yi Zhao <[email protected]> > --- > meta-xfce/recipes-apps/menulibre/menulibre_2.4.0.bb | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta-xfce/recipes-apps/menulibre/menulibre_2.4.0.bb > b/meta-xfce/recipes-apps/menulibre/menulibre_2.4.0.bb > index 71d3ab4d29..4c52249fed 100644 > --- a/meta-xfce/recipes-apps/menulibre/menulibre_2.4.0.bb > +++ b/meta-xfce/recipes-apps/menulibre/menulibre_2.4.0.bb > @@ -15,6 +15,9 @@ REQUIRED_DISTRO_FEATURES = "x11 > gobject-introspection-data" > SRC_URI = " > https://github.com/bluesabre/${BPN}/releases/download/${BP}/${BP}.tar.gz" > SRC_URI[sha256sum] = > "d906acf9cc13b0e15b8e342ae9aab8b0680db336a382d0c42f5d5f465f593c9f" > > +UPSTREAM_CHECK_URI = "https://github.com/bluesabre/menulibre/releases" > +UPSTREAM_CHECK_REGEX = "releases/tag/menulibre-(?P<pver>\d+(\.\d+)+)" > Have you thought about using the github-releases class? https://git.openembedded.org/openembedded-core/tree/meta/classes-recipe/github-releases.bbclass > + > do_compile[noexec] = "1" > > do_install:append() { > -- > 2.34.1 > > > > > -- Yoann Congal Smile ECS
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#121448): https://lists.openembedded.org/g/openembedded-devel/message/121448 Mute This Topic: https://lists.openembedded.org/mt/116187911/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
