internal/rosa/mesa: libglvnd artifact
All checks were successful
Test / Create distribution (push) Successful in 1m5s
Test / Sandbox (push) Successful in 2m45s
Test / Hakurei (push) Successful in 3m51s
Test / ShareFS (push) Successful in 3m51s
Test / Sandbox (race detector) (push) Successful in 5m14s
Test / Hakurei (race detector) (push) Successful in 6m18s
Test / Flake checks (push) Successful in 1m22s

Required by mesa.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-04-12 21:27:30 +09:00
parent b2141a41d7
commit 27a1b8fe0a
2 changed files with 30 additions and 0 deletions

View File

@@ -80,6 +80,7 @@ const (
Libexpat
Libffi
Libgd
Libglvnd
Libiconv
Libmd
Libmnl

29
internal/rosa/mesa.go Normal file
View File

@@ -0,0 +1,29 @@
package rosa
import "hakurei.app/internal/pkg"
func (t Toolchain) newLibglvnd() (pkg.Artifact, string) {
const (
version = "1.7.0"
checksum = "eIQJK2sgFQDHdeFkQO87TrSUaZRFG4y2DrwA8Ut-sGboI59uw1OOiIVqq2AIwnGY"
)
return t.NewPackage("libglvnd", version, pkg.NewHTTPGetTar(
nil, "https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/"+
"v"+version+"/libglvnd-v"+version+".tar.bz2",
mustDecode(checksum),
pkg.TarBzip2,
), nil, (*MesonHelper)(nil),
Binutils, // symbols check fail with llvm nm
), version
}
func init() {
artifactsM[Libglvnd] = Metadata{
f: Toolchain.newLibglvnd,
Name: "libglvnd",
Description: "The GL Vendor-Neutral Dispatch library",
Website: "https://gitlab.freedesktop.org/glvnd/libglvnd",
ID: 12098,
}
}