forked from rosa/hakurei
For upcoming azalea integration. The API is quite ugly right now to ease migration. Signed-off-by: Ophestra <cat@gensokyo.uk>
32 lines
670 B
Go
32 lines
670 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newPixman(s *S) (pkg.Artifact, string) {
|
|
const (
|
|
version = "0.46.4"
|
|
checksum = "iECDxLG9SxUrvGHqeDoaBa-b3uqdT5DC4zudjtrwb8Wodq82pyacmFNEAo4SDsiE"
|
|
)
|
|
return s.NewPackage(t, "pixman", version, newFromGitLab(
|
|
"gitlab.freedesktop.org",
|
|
"pixman/pixman",
|
|
"pixman-"+version,
|
|
checksum,
|
|
), nil, &MesonHelper{
|
|
Setup: []KV{
|
|
{"Dtests", "enabled"},
|
|
},
|
|
}), version
|
|
}
|
|
func init() {
|
|
native.MustRegister(&Artifact{
|
|
f: Toolchain.newPixman,
|
|
|
|
Name: "pixman",
|
|
Description: "a low-level software library for pixel manipulation",
|
|
Website: "https://pixman.org/",
|
|
|
|
ID: 3648,
|
|
})
|
|
}
|