From d2c6d486b06073aa88ee1912d3587f657cd57304 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 4 Mar 2026 18:01:18 +0900 Subject: internal/rosa: provide package metadata This had to be done out-of-band because there was no way to efficiently represent these within Artifact. Signed-off-by: Ophestra --- internal/rosa/gtk.go | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'internal/rosa/gtk.go') diff --git a/internal/rosa/gtk.go b/internal/rosa/gtk.go index 06449ca2..eaa31ebc 100644 --- a/internal/rosa/gtk.go +++ b/internal/rosa/gtk.go @@ -7,7 +7,7 @@ import ( "hakurei.app/internal/pkg" ) -func (t Toolchain) newGLib() pkg.Artifact { +func (t Toolchain) newGLib() (pkg.Artifact, string) { const ( version = "2.86.4" checksum = "AfTjBrrxtXXPL6dFa1LfTe40PyPSth62CoIkM5m_VJTUngGLOFHw6I4XE7RGQE8G" @@ -46,6 +46,14 @@ func (t Toolchain) newGLib() pkg.Artifact { PCRE2, Libffi, Zlib, - ) + ), version +} +func init() { + artifactsM[GLib] = Metadata{ + f: Toolchain.newGLib, + + Name: "glib", + Description: "the GNU library of miscellaneous stuff", + Website: "https://gitlab.gnome.org/GNOME/glib/", + } } -func init() { artifactsF[GLib] = Toolchain.newGLib } -- cgit v1.3.1