From 503c7f953c412d220365aa50ffef31f331d37f6c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 13 Apr 2026 19:04:38 +0900 Subject: internal/rosa/x: libpciaccess artifact Required by userspace gpu drivers. Signed-off-by: Ophestra --- internal/rosa/x.go | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'internal/rosa/x.go') 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, + } +} -- cgit v1.3.1