aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/mesa.go
blob: 2e1596fe5e3c6d536cf5f65c0acac20707c185a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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,
	}
}