aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/mesa.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-20 03:51:48 +0900
committerOphestra <cat@gensokyo.uk>2026-05-20 03:51:48 +0900
commitd728607505aa91d4ae851a0ac9e9ce6856a9280e (patch)
treecd872b0f63c8faa4eb0f1d1fff2d9f4bcfe82363 /internal/rosa/mesa.go
parentef414ab01a28b61ef01766c3dd28ed2342f5ab75 (diff)
internal/rosa/package: migrate mesa dependencies
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/mesa.go')
-rw-r--r--internal/rosa/mesa.go117
1 files changed, 0 insertions, 117 deletions
diff --git a/internal/rosa/mesa.go b/internal/rosa/mesa.go
index 94cb120a..a2bd91fa 100644
--- a/internal/rosa/mesa.go
+++ b/internal/rosa/mesa.go
@@ -6,123 +6,6 @@ import (
"hakurei.app/internal/pkg"
)
-func (t Toolchain) newLibglvnd() (pkg.Artifact, string) {
- const (
- version = "1.7.0"
- checksum = "eIQJK2sgFQDHdeFkQO87TrSUaZRFG4y2DrwA8Ut-sGboI59uw1OOiIVqq2AIwnGY"
- )
- return t.NewPackage("libglvnd", version, newFromGitLab(
- "gitlab.freedesktop.org",
- "glvnd/libglvnd",
- "v"+version,
- checksum,
- ), nil, &MesonHelper{
- Setup: []KV{
- {"Dx11", "enabled"},
- {"Dglx", "enabled"},
- },
- ScriptCompiled: `
-export DISPLAY=':0'
-Xvfb &
-XVFB_PID="$!"
-trap 'kill $XVFB_PID && wait $XVFB_PID' EXIT
-`,
- },
- Binutils, // symbols check fail with llvm nm
- Xserver, // test suite wants X server
-
- LibXext,
- ), version
-}
-func init() {
- native.mustRegister(Toolchain.newLibglvnd, &Metadata{
- Name: "libglvnd",
- Description: "The GL Vendor-Neutral Dispatch library",
- Website: "https://gitlab.freedesktop.org/glvnd/libglvnd",
-
- Dependencies: P{
- LibXext,
- },
-
- ID: 12098,
- })
-}
-
-func (t Toolchain) newLibdrm() (pkg.Artifact, string) {
- const (
- version = "2.4.133"
- checksum = "bfj296NcR9DndO11hqDbSRFPqaweSLMqRk3dlCPZpM6FONX1WZ9J4JdbTDMUd1rU"
- )
- return t.NewPackage("libdrm", version, newFromGitLab(
- "gitlab.freedesktop.org",
- "mesa/libdrm",
- "libdrm-"+version,
- checksum,
- ), nil, &MesonHelper{
- Setup: []KV{
- {"Dintel", "enabled"},
- },
- },
- Binutils, // symbols check fail with llvm nm
-
- Libpciaccess,
- KernelHeaders,
- ), version
-}
-func init() {
- native.mustRegister(Toolchain.newLibdrm, &Metadata{
- Name: "libdrm",
- Description: "a userspace library for accessing the DRM",
- Website: "https://dri.freedesktop.org/",
-
- Dependencies: P{
- Libpciaccess,
- },
-
- ID: 1596,
- })
-}
-
-func (t Toolchain) newLibva() (pkg.Artifact, string) {
- const (
- version = "2.23.0"
- checksum = "UmF5tPyWIG_w5kiR3KFpoYbF7UUcaak5tyc-RhOheNTwQlLkPlifreFYCM9FQxbq"
- )
- return t.NewPackage("libva", version, newFromGitHub(
- "intel/libva",
- version,
- checksum,
- ), nil, &MesonHelper{
- Setup: []KV{
- {"Dwith_x11", "yes"},
- {"Dwith_glx", "yes"},
- {"Dwith_wayland", "yes"},
- },
- },
- Libdrm,
- LibXfixes,
- Libglvnd,
- Wayland,
- KernelHeaders,
- ), version
-}
-func init() {
- native.mustRegister(Toolchain.newLibva, &Metadata{
- Name: "libva",
- Description: "an implementation for VA-API (Video Acceleration API)",
- Website: "https://01.org/vaapi",
-
- Dependencies: P{
- Libdrm,
- LibXfixes,
- Libglvnd,
- Wayland,
- },
-
- ID: 1752,
- })
-}
-
func (t Toolchain) newMesa() (pkg.Artifact, string) {
const (
version = "26.1.0"