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
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:
@@ -80,6 +80,7 @@ const (
|
|||||||
Libexpat
|
Libexpat
|
||||||
Libffi
|
Libffi
|
||||||
Libgd
|
Libgd
|
||||||
|
Libglvnd
|
||||||
Libiconv
|
Libiconv
|
||||||
Libmd
|
Libmd
|
||||||
Libmnl
|
Libmnl
|
||||||
|
|||||||
29
internal/rosa/mesa.go
Normal file
29
internal/rosa/mesa.go
Normal 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,
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user