aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/xcb.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/xcb.go')
-rw-r--r--internal/rosa/xcb.go28
1 files changed, 22 insertions, 6 deletions
diff --git a/internal/rosa/xcb.go b/internal/rosa/xcb.go
index 2f9abfc7..b27a4b98 100644
--- a/internal/rosa/xcb.go
+++ b/internal/rosa/xcb.go
@@ -2,7 +2,7 @@ package rosa
import "hakurei.app/internal/pkg"
-func (t Toolchain) newXCBProto() pkg.Artifact {
+func (t Toolchain) newXCBProto() (pkg.Artifact, string) {
const (
version = "1.17.0"
checksum = "_NtbKaJ_iyT7XiJz25mXQ7y-niTzE8sHPvLXZPcqtNoV_-vTzqkezJ8Hp2U1enCv"
@@ -13,11 +13,19 @@ func (t Toolchain) newXCBProto() pkg.Artifact {
pkg.TarGzip,
), nil, (*MakeHelper)(nil),
Python,
- )
+ ), version
+}
+func init() {
+ artifactsM[XCBProto] = Metadata{
+ f: Toolchain.newXCBProto,
+
+ Name: "xcb-proto",
+ Description: "XML-XCB protocol descriptions used by libxcb for the X11 protocol & extensions",
+ Website: "https://gitlab.freedesktop.org/xorg/proto/xcbproto",
+ }
}
-func init() { artifactsF[XCBProto] = Toolchain.newXCBProto }
-func (t Toolchain) newXCB() pkg.Artifact {
+func (t Toolchain) newXCB() (pkg.Artifact, string) {
const (
version = "1.17.0"
checksum = "hjjsc79LpWM_hZjNWbDDS6qRQUXREjjekS6UbUsDq-RR1_AjgNDxhRvZf-1_kzDd"
@@ -33,6 +41,14 @@ func (t Toolchain) newXCB() pkg.Artifact {
XCBProto,
Xproto,
LibXau,
- )
+ ), version
+}
+func init() {
+ artifactsM[XCB] = Metadata{
+ f: Toolchain.newXCB,
+
+ Name: "xcb",
+ Description: "The X protocol C-language Binding",
+ Website: "https://xcb.freedesktop.org/",
+ }
}
-func init() { artifactsF[XCB] = Toolchain.newXCB }