diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-12 21:27:30 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-12 21:27:30 +0900 |
| commit | 27a1b8fe0a48dbd9b409ed2d33c5fbc233cc56d4 (patch) | |
| tree | 7350ec31f4dc15f01a112596048e74900c96c87d | |
| parent | b2141a41d78a1bc9c507b03c0a916152254e5e16 (diff) | |
internal/rosa/mesa: libglvnd artifact
Required by mesa.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/all.go | 1 | ||||
| -rw-r--r-- | internal/rosa/mesa.go | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go index 14165698..ecb764e2 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -80,6 +80,7 @@ const ( Libexpat Libffi Libgd + Libglvnd Libiconv Libmd Libmnl diff --git a/internal/rosa/mesa.go b/internal/rosa/mesa.go new file mode 100644 index 00000000..2e1596fe --- /dev/null +++ b/internal/rosa/mesa.go @@ -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, + } +} |
