Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 7/8] mesa: switch over to official git
Date: Fri, 31 May 2019 17:56:11 +0200	[thread overview]
Message-ID: <20190531155612.75663-7-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20190531155612.75663-1-alex.kanavin@gmail.com>

The tarballs for all versions prior to 18.x have been moved to
https://mesa.freedesktop.org/archive/older-versions/

To avoid this practice causing fetching failures in the future,
let's use the git.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/recipes-graphics/mesa/mesa_19.0.3.bb | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa_19.0.3.bb b/meta/recipes-graphics/mesa/mesa_19.0.3.bb
index 8a72df10147..001c2f41237 100644
--- a/meta/recipes-graphics/mesa/mesa_19.0.3.bb
+++ b/meta/recipes-graphics/mesa/mesa_19.0.3.bb
@@ -1,13 +1,15 @@
 require ${BPN}.inc
 
-SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
+def ver_branch(v):
+    return oe.utils.trim_version(v, 2)
+
+SRC_URI = "git://gitlab.freedesktop.org/mesa/mesa.git;protocol=https;branch=${@ver_branch("${PV}")} \
            file://0001-meson.build-check-for-all-linux-host_os-combinations.patch \
            file://0001-meson.build-make-TLS-GLX-optional-again.patch \
            file://0001-Allow-enable-DRI-without-DRI-drivers.patch \
            "
-
-SRC_URI[md5sum] = "d03bf14e42c0e54ebae5730712ccc408"
-SRC_URI[sha256sum] = "f027244e38dc309a4c12db45ef79be81ab62c797a50a88d566e4edb6159fc4d5"
+SRCREV = "c8cdee5dc3c6f9856ee73aed2b47cee77d675022"
+S = "${WORKDIR}/git"
 
 #because we cannot rely on the fact that all apps will use pkgconfig,
 #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
-- 
2.17.1



  parent reply	other threads:[~2019-05-31 15:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-31 15:56 [PATCH 1/8] liburcu: update to 0.11.0 Alexander Kanavin
2019-05-31 15:56 ` [PATCH 2/8] perl: update to 5.30.0 Alexander Kanavin
2019-05-31 15:56 ` [PATCH 3/8] python3-pygments: add a recipe Alexander Kanavin
2019-05-31 15:56 ` [PATCH 4/8] gtk-doc: upgrade 1.29 -> 1.30 Alexander Kanavin
2019-06-01  6:31   ` Richard Purdie
2019-06-01 11:27     ` Alexander Kanavin
2019-05-31 15:56 ` [PATCH 5/8] source-highlight: remove the recipe Alexander Kanavin
2019-05-31 15:56 ` [PATCH 6/8] piglit: upgrade to latest revision Alexander Kanavin
2019-05-31 15:56 ` Alexander Kanavin [this message]
2019-05-31 16:25   ` [PATCH 7/8] mesa: switch over to official git Richard Purdie
2019-05-31 16:27     ` Burton, Ross
2019-06-01 11:31       ` Alexander Kanavin
2019-05-31 15:56 ` [PATCH 8/8] mesa-demos: switch to using " Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190531155612.75663-7-alex.kanavin@gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox