From 87cf0d4e6b384fe53299139d5e826420dcaac66c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 14 May 2026 04:40:04 +0900 Subject: internal/rosa/mesa: libva artifact Required by mesa. Signed-off-by: Ophestra --- internal/rosa/mesa.go | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'internal/rosa/mesa.go') diff --git a/internal/rosa/mesa.go b/internal/rosa/mesa.go index 21ace480..961cd736 100644 --- a/internal/rosa/mesa.go +++ b/internal/rosa/mesa.go @@ -82,3 +82,45 @@ func init() { ID: 1596, } } + +func (t Toolchain) newLibva() (pkg.Artifact, string) { + const ( + version = "2.23.0" + checksum = "UmF5tPyWIG_w5kiR3KFpoYbF7UUcaak5tyc-RhOheNTwQlLkPlifreFYCM9FQxbq" + ) + return t.NewPackage("libva", version, newFromGitHub( + "intel/libva", + version, + checksum, + ), nil, &MesonHelper{ + Setup: []KV{ + {"Dwith_x11", "yes"}, + {"Dwith_glx", "yes"}, + {"Dwith_wayland", "yes"}, + }, + }, + Libdrm, + LibXfixes, + Libglvnd, + Wayland, + KernelHeaders, + ), version +} +func init() { + artifactsM[Libva] = Metadata{ + f: Toolchain.newLibva, + + Name: "libva", + Description: "an implementation for VA-API (Video Acceleration API)", + Website: "https://01.org/vaapi", + + Dependencies: P{ + Libdrm, + LibXfixes, + Libglvnd, + Wayland, + }, + + ID: 1752, + } +} -- cgit v1.3.1