diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-13 22:07:53 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-13 22:07:53 +0900 |
| commit | b12d924fa2f35713cd73d6c9979e9afdff6a27a2 (patch) | |
| tree | 90219c2a53fba534e9a4dec105c33e218f1b7bb7 /internal | |
| parent | c31d8ae41aca4e64a555dffb0dad2c6cacc672ec (diff) | |
internal/rosa: pixman artifact
Required by xserver.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/rosa/all.go | 1 | ||||
| -rw-r--r-- | internal/rosa/pixman.go | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go index db4c097c..2f8292a7 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -140,6 +140,7 @@ const ( PerlTextWrapI18N PerlUnicodeLineBreak PerlYAMLTiny + Pixman PkgConfig Procps Python diff --git a/internal/rosa/pixman.go b/internal/rosa/pixman.go new file mode 100644 index 00000000..b79fb85f --- /dev/null +++ b/internal/rosa/pixman.go @@ -0,0 +1,31 @@ +package rosa + +import "hakurei.app/internal/pkg" + +func (t Toolchain) newPixman() (pkg.Artifact, string) { + const ( + version = "0.46.4" + checksum = "iECDxLG9SxUrvGHqeDoaBa-b3uqdT5DC4zudjtrwb8Wodq82pyacmFNEAo4SDsiE" + ) + return t.NewPackage("pixman", version, newFromGitLab( + "gitlab.freedesktop.org", + "pixman/pixman", + "pixman-"+version, + checksum, + ), nil, &MesonHelper{ + Setup: []KV{ + {"Dtests", "enabled"}, + }, + }), version +} +func init() { + artifactsM[Pixman] = Metadata{ + f: Toolchain.newPixman, + + Name: "pixman", + Description: "a low-level software library for pixel manipulation", + Website: "https://pixman.org/", + + ID: 3648, + } +} |
