1
0
forked from rosa/hakurei

internal/rosa/x: libpciaccess artifact

Required by userspace gpu drivers.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-04-13 19:04:38 +09:00
parent 15c9f6545d
commit 503c7f953c
3 changed files with 43 additions and 1 deletions

View File

@@ -95,3 +95,35 @@ func init() {
ID: 1765,
}
}
func (t Toolchain) newLibpciaccess() (pkg.Artifact, string) {
const (
version = "0.19"
checksum = "84H0c_U_7fMqo81bpuwyXGXtk4XvvFH_YK00UiOriv3YGsuAhmbo2IkFhmJnvu2x"
)
return t.NewPackage("libpciaccess", version, newFromGitLab(
"gitlab.freedesktop.org",
"xorg/lib/libpciaccess",
"libpciaccess-"+version,
checksum,
), nil, &MesonHelper{
Setup: []KV{
{"Dzlib", "enabled"},
},
}), version
}
func init() {
artifactsM[Libpciaccess] = Metadata{
f: Toolchain.newLibpciaccess,
Name: "libpciaccess",
Description: "generic PCI access library",
Website: "https://gitlab.freedesktop.org/xorg/lib/libpciaccess",
Dependencies: P{
Zlib,
},
ID: 1703,
}
}