aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/libepoxy.go
blob: 00cf1459ddb26ea8eaabce73b4696e7515f83b01 (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
30
31
32
33
package rosa

import "hakurei.app/internal/pkg"

func (t Toolchain) newLibepoxy(s *S) (pkg.Artifact, string) {
	const (
		version  = "1.5.10"
		checksum = "OHI8wshrlGw6BMGrmSyejJtwzM2gPhyFJrTsKxULyKMmYrfgcOe7Iw2ibVoUND_Q"
	)
	return s.NewPackage(t, "libepoxy", version, newFromGitHub(
		"anholt/libepoxy",
		version,
		checksum,
	), nil, &MesonHelper{
		Setup: []KV{
			{"Dglx", "no"},
			{"Degl", "no"},
		},
	},
		LibX11,
	), version
}
func init() {
	native.MustRegister(&Artifact{
		f: Toolchain.newLibepoxy,

		Name:        "libepoxy",
		Description: "a library for handling OpenGL function pointer management",
		Website:     "https://github.com/anholt/libepoxy",

		ID: 6090,
	})
}