aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/x.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-13 19:04:38 +0900
committerOphestra <cat@gensokyo.uk>2026-04-13 19:04:38 +0900
commit503c7f953c412d220365aa50ffef31f331d37f6c (patch)
tree4705ffc1ff13b5fa45d3c55333299aaaa422057a /internal/rosa/x.go
parent15c9f6545d948feb2568d8cd26aac0c8ae489d92 (diff)
internal/rosa/x: libpciaccess artifact
Required by userspace gpu drivers. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/x.go')
-rw-r--r--internal/rosa/x.go32
1 files changed, 32 insertions, 0 deletions
diff --git a/internal/rosa/x.go b/internal/rosa/x.go
index 23ec203e..e233099d 100644
--- a/internal/rosa/x.go
+++ b/internal/rosa/x.go
@@ -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,
+ }
+}