internal/rosa/mesa: libva artifact
All checks were successful
Test / Create distribution (push) Successful in 1m6s
Test / Sandbox (push) Successful in 2m49s
Test / ShareFS (push) Successful in 3m47s
Test / Hakurei (push) Successful in 3m53s
Test / Sandbox (race detector) (push) Successful in 5m23s
Test / Hakurei (race detector) (push) Successful in 6m26s
Test / Flake checks (push) Successful in 1m22s

Required by mesa.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-14 04:40:04 +09:00
parent cf0dffa0f5
commit 87cf0d4e6b
2 changed files with 43 additions and 0 deletions

View File

@@ -112,6 +112,7 @@ const (
Libtool Libtool
Libucontext Libucontext
Libunistring Libunistring
Libva
LibxcbRenderUtil LibxcbRenderUtil
LibxcbUtil LibxcbUtil
LibxcbUtilImage LibxcbUtilImage

View File

@@ -82,3 +82,45 @@ func init() {
ID: 1596, 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,
}
}