aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-05 19:36:41 +0900
committerOphestra <cat@gensokyo.uk>2026-05-05 19:37:11 +0900
commitcccf970c57813ddc9f59e8d15b932b826265f0ae (patch)
treecc1b190997a6796c30e55f4824b8b3210beb3859 /internal
parent57ffb21690cd146d875019432861de2594cbebc2 (diff)
internal/rosa/x: libXrender artifact
Required by libXrandr. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
-rw-r--r--internal/rosa/all.go1
-rw-r--r--internal/rosa/x.go37
2 files changed, 38 insertions, 0 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go
index b79cc541..3ba29b05 100644
--- a/internal/rosa/all.go
+++ b/internal/rosa/all.go
@@ -76,6 +76,7 @@ const (
LibX11
LibXau
LibXext
+ LibXrender
LibXxf86vm
Libbsd
Libcap
diff --git a/internal/rosa/x.go b/internal/rosa/x.go
index 9572c1cb..68d5c425 100644
--- a/internal/rosa/x.go
+++ b/internal/rosa/x.go
@@ -267,6 +267,43 @@ func init() {
}
}
+func (t Toolchain) newLibXrender() (pkg.Artifact, string) {
+ const (
+ version = "0.9.12"
+ checksum = "s6nWn-r17X_W-7anaS7wIcq5_Levf9zAigwJDD9Klp-cCJTVDhLo7GufuVOrxVP0"
+ )
+ return t.NewPackage("libXrender", version, newFromGitLab(
+ "gitlab.freedesktop.org",
+ "xorg/lib/libxrender",
+ "libXrender-"+version,
+ checksum,
+ ), nil, &MakeHelper{
+ Generate: "NOCONFIGURE=1 ./autogen.sh",
+ },
+ Automake,
+ Libtool,
+ PkgConfig,
+
+ utilMacros,
+ LibX11,
+ ), version
+}
+func init() {
+ artifactsM[LibXrender] = Metadata{
+ f: Toolchain.newLibXrender,
+
+ Name: "libXrender",
+ Description: "Xlib library for the Render Extension to the X11 protocol",
+ Website: "https://gitlab.freedesktop.org/xorg/lib/libxrender",
+
+ Dependencies: P{
+ LibX11,
+ },
+
+ ID: 1789,
+ }
+}
+
func (t Toolchain) newLibxshmfence() (pkg.Artifact, string) {
const (
version = "1.3.3"