[OE-core] [PATCH] wayland: fix upstream release checking
Ross Burton
ross.burton at intel.com
Fri Jun 8 13:51:53 UTC 2018
Wayland has moved to GitLab with the result that /releases/ no longer returns a
directory listing, so the upgrade detection doesn't work.
The upgrade detection can scan releases.html just as well, so tell it to look
there.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-graphics/wayland/wayland-protocols_1.14.bb | 2 ++
meta/recipes-graphics/wayland/wayland_1.15.0.bb | 2 ++
meta/recipes-graphics/wayland/weston_4.0.0.bb | 2 ++
3 files changed, 6 insertions(+)
diff --git a/meta/recipes-graphics/wayland/wayland-protocols_1.14.bb b/meta/recipes-graphics/wayland/wayland-protocols_1.14.bb
index 3393a2c797d..873fcf1c282 100644
--- a/meta/recipes-graphics/wayland/wayland-protocols_1.14.bb
+++ b/meta/recipes-graphics/wayland/wayland-protocols_1.14.bb
@@ -14,6 +14,8 @@ SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
SRC_URI[md5sum] = "5d32eaf0f5d6b7da7f5ad0959e2551e6"
SRC_URI[sha256sum] = "9648896b2462b49b15a69b60f44656593c170c0e73121c890eb16d0c1d9376f6"
+UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
+
inherit allarch autotools pkgconfig
PACKAGES = "${PN}"
diff --git a/meta/recipes-graphics/wayland/wayland_1.15.0.bb b/meta/recipes-graphics/wayland/wayland_1.15.0.bb
index 788105bff8e..d037dc46542 100644
--- a/meta/recipes-graphics/wayland/wayland_1.15.0.bb
+++ b/meta/recipes-graphics/wayland/wayland_1.15.0.bb
@@ -18,6 +18,8 @@ SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
SRC_URI[md5sum] = "b7393c17fdce9a8d383edab656c92fd2"
SRC_URI[sha256sum] = "eb3fbebb8559d56a80ad3753ec3db800f587329067962dbf65e14488b4b7aeb0"
+UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
+
inherit autotools pkgconfig
EXTRA_OECONF = "--disable-documentation --with-host-scanner"
diff --git a/meta/recipes-graphics/wayland/weston_4.0.0.bb b/meta/recipes-graphics/wayland/weston_4.0.0.bb
index 7dfca7fc633..e78b0d91949 100644
--- a/meta/recipes-graphics/wayland/weston_4.0.0.bb
+++ b/meta/recipes-graphics/wayland/weston_4.0.0.bb
@@ -15,6 +15,8 @@ SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
SRC_URI[md5sum] = "33709aa4d5916f89643fca0fc0064b39"
SRC_URI[sha256sum] = "a0fc0ae7ef83dfbed12abfe9b8096a24a7dd00705e86fa0db1e619ded18b4b58"
+UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
+
inherit autotools pkgconfig useradd distro_features_check
# depends on virtual/egl
REQUIRED_DISTRO_FEATURES = "opengl"
--
2.11.0
More information about the Openembedded-core
mailing list