diff mbox series

[2/4] mesa-demos: switch to fetching from git instead of tarballs

Message ID 20260708111108.3577325-2-ross.burton@arm.com
State New
Headers show
Series [1/4] xmlto: update SRC_URI | expand

Commit Message

Ross Burton July 8, 2026, 11:11 a.m. UTC
Upstream don't plan on making new releases of mesa-demos as it's mostly
demos and test applications.  As a first step to moving to git, this
changes the fetching of a tarball to the fetching of the git tag that
the tarball was generated from.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb b/meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb
index 0bc8519e90..593bc0147e 100644
--- a/meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb
+++ b/meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb
@@ -9,10 +9,11 @@  LICENSE = "MIT & PD"
 LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e \
                     file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
 
-SRC_URI = "https://archive.mesa3d.org/demos/${BPN}-${PV}.tar.xz \
+SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main;tag=${BP} \
            file://0001-meson-fix-glx-detection-without-glvnd.patch \
            "
-SRC_URI[sha256sum] = "3046a3d26a7b051af7ebdd257a5f23bfeb160cad6ed952329cdff1e9f1ed496b"
+
+SRCREV = "661681767bfb4e8f136aac1fd7934e6b0fa46d29"
 
 inherit meson pkgconfig features_check
 # depends on virtual/egl, virtual/libgl ...