diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-14 02:16:55 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-14 02:16:55 +0900 |
| commit | 16f9d39427a592b4de948f2da71668b1a14a7c4b (patch) | |
| tree | 2bc1c11ddf1a275da9e79d19374aa1025c5549de | |
| parent | c1cd5ba07b31ceb3124840600907f20dcc4c5b72 (diff) | |
internal/rosa: libepoxy artifact
Required by xserver.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/all.go | 1 | ||||
| -rw-r--r-- | internal/rosa/libepoxy.go | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go index fe0ec135..77ec1e84 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -92,6 +92,7 @@ const ( Libconfig LibdisplayInfo Libdrm + Libepoxy Libev Libexpat Libffi diff --git a/internal/rosa/libepoxy.go b/internal/rosa/libepoxy.go new file mode 100644 index 00000000..33977944 --- /dev/null +++ b/internal/rosa/libepoxy.go @@ -0,0 +1,33 @@ +package rosa + +import "hakurei.app/internal/pkg" + +func (t Toolchain) newLibepoxy() (pkg.Artifact, string) { + const ( + version = "1.5.10" + checksum = "OHI8wshrlGw6BMGrmSyejJtwzM2gPhyFJrTsKxULyKMmYrfgcOe7Iw2ibVoUND_Q" + ) + return t.NewPackage("libepoxy", version, newFromGitHub( + "anholt/libepoxy", + version, + checksum, + ), nil, &MesonHelper{ + Setup: []KV{ + {"Dglx", "no"}, + {"Degl", "no"}, + }, + }, + LibX11, + ), version +} +func init() { + artifactsM[Libepoxy] = Metadata{ + f: Toolchain.newLibepoxy, + + Name: "libepoxy", + Description: "a library for handling OpenGL function pointer management", + Website: "https://github.com/anholt/libepoxy", + + ID: 6090, + } +} |
