[PATCH 041/114] libva: upgrade 2.22.0 -> 2.23.0

Alexander Kanavin
2025-12-22T20:08:26Z

Convert libva to git, as upstream doesn't publish tarballs anymore.
libva-utils is already using git to get the source.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
.../{libva-initial_2.22.0.bb => libva-initial_2.23.0.bb} | 0
.../{libva-utils_2.22.0.bb => libva-utils_2.23.0.bb} | 4 ++--
meta/recipes-graphics/libva/libva.inc | 9 +++++----
.../libva/{libva_2.22.0.bb => libva_2.23.0.bb} | 0
4 files changed, 7 insertions(+), 6 deletions(-)
rename meta/recipes-graphics/libva/{libva-initial_2.22.0.bb => libva-initial_2.23.0.bb} (100%)
rename meta/recipes-graphics/libva/{libva-utils_2.22.0.bb => libva-utils_2.23.0.bb} (88%)
rename meta/recipes-graphics/libva/{libva_2.22.0.bb => libva_2.23.0.bb} (100%)

diff --git a/meta/recipes-graphics/libva/libva-initial_2.22.0.bb b/meta/recipes-graphics/libva/libva-initial_2.23.0.bb
similarity index 100%
rename from meta/recipes-graphics/libva/libva-initial_2.22.0.bb
rename to meta/recipes-graphics/libva/libva-initial_2.23.0.bb
diff --git a/meta/recipes-graphics/libva/libva-utils_2.22.0.bb b/meta/recipes-graphics/libva/libva-utils_2.23.0.bb
similarity index 88%
rename from meta/recipes-graphics/libva/libva-utils_2.22.0.bb
rename to meta/recipes-graphics/libva/libva-utils_2.23.0.bb
index de36f01afd..970ff50ac9 100644
--- a/meta/recipes-graphics/libva/libva-utils_2.22.0.bb
+++ b/meta/recipes-graphics/libva/libva-utils_2.23.0.bb
@@ -14,8 +14,8 @@ SECTION = "x11"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=b148fc8adf19dc9aec17cf9cd29a9a5e"

-SRC_URI = "git://github.com/intel/libva-utils.git;branch=v2.22-branch;protocol=https"
-SRCREV = "1a13ae13382b7b548f3a7e8035e1d7df66662c0a"
+SRC_URI = "git://github.com/intel/libva-utils.git;branch=v2.23-branch;protocol=https;tag=${PV}"
+SRCREV = "5896b6779d36f83bf483aff62da8aae30ba8d664"

UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))$"

diff --git a/meta/recipes-graphics/libva/libva.inc b/meta/recipes-graphics/libva/libva.inc
index 5dda701ed0..b3ec4f61d1 100644
--- a/meta/recipes-graphics/libva/libva.inc
+++ b/meta/recipes-graphics/libva/libva.inc
@@ -16,13 +16,14 @@ BUGTRACKER = "https://github.com/intel/libva/issues"
SECTION = "x11"
LICENSE = "MIT"

-SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libva-${PV}.tar.bz2"
LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f"
-SRC_URI[sha256sum] = "e3da2250654c8d52b3f59f8cb3f3d8e7fb1a2ee64378dbc400fbc5663de7edb8"

-S = "${UNPACKDIR}/libva-${PV}"
+SRC_URI = "git://github.com/intel/libva.git;branch=v2.23-branch;protocol=https;tag=${PV}"
+SRCREV = "dbf83dc3b1ce6bad46e1628aaf2da5ef731157b8"
+
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>(\d+(\.\d+)+))$"

-GITHUB_BASE_URI = "https://github.com/intel/libva/releases"
+S = "${UNPACKDIR}/libva-${PV}"

DEPENDS = "libdrm"

diff --git a/meta/recipes-graphics/libva/libva_2.22.0.bb b/meta/recipes-graphics/libva/libva_2.23.0.bb
similarity index 100%
rename from meta/recipes-graphics/libva/libva_2.22.0.bb
rename to meta/recipes-graphics/libva/libva_2.23.0.bb
--
2.47.3