From: Marc Ferland <[email protected]>
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 <[email protected]>
---
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 0572cc801..5e2f04f31 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<pver>\d+(\_\d+)+)"
+UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/${BPN}/${BPN}/-/tags"
+UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+(\.\d+)+)"
GIR_MESON_ENABLE_FLAG = "enabled"
GIR_MESON_DISABLE_FLAG = "disabled"
--
2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#114295):
https://lists.openembedded.org/g/openembedded-devel/message/114295
Mute This Topic: https://lists.openembedded.org/mt/110086164/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-