From 7171442d1085b9086495e009e6258fcac7985958 Mon Sep 17 00:00:00 2001 From: Marc Ferland Date: Thu, 12 Dec 2024 14:40:44 -0500 Subject: upower: use archive file in SRC_URI and fix UPSTREAM_CHECK_URI upower releases are available as tar.bz2 archives let's use them instead off cloning the whole repo. Also, fix the UPSTREAM_CHECK regex that changed after revision 0.99.13. The format went from: UPOWER_0_99_13 to v0.99.14 Signed-off-by: Marc Ferland Signed-off-by: Khem Raj --- meta-oe/recipes-support/upower/upower_0.99.17.bb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/meta-oe/recipes-support/upower/upower_0.99.17.bb b/meta-oe/recipes-support/upower/upower_0.99.17.bb index 0572cc801b..5e2f04f312 100644 --- a/meta-oe/recipes-support/upower/upower_0.99.17.bb +++ b/meta-oe/recipes-support/upower/upower_0.99.17.bb @@ -11,11 +11,12 @@ DEPENDS = " \ dbus-glib \ " -SRC_URI = "git://gitlab.freedesktop.org/upower/upower.git;protocol=https;branch=master" -SRCREV = "c889154ec8e3e2239db9260d48b2e198d72ba002" -S = "${WORKDIR}/git" +SRC_URI = "https://gitlab.freedesktop.org/${BPN}/${BPN}/-/archive/v${PV}/${BPN}-v${PV}.tar.bz2" +SRC_URI[sha256sum] = "de7177deb2ee23d9c505046c74a856564acab8fd1d39aa1541d123af5a99ca8d" +S = "${WORKDIR}/${BPN}-v${PV}" -UPSTREAM_CHECK_GITTAGREGEX = "UPOWER_(?P\d+(\_\d+)+)" +UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/${BPN}/${BPN}/-/tags" +UPSTREAM_CHECK_REGEX = "v(?P\d+(\.\d+)+)" GIR_MESON_ENABLE_FLAG = "enabled" GIR_MESON_DISABLE_FLAG = "disabled" -- cgit v1.2.3-54-g00ecf