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:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user