diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-20 02:09:12 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-20 02:09:12 +0900 |
| commit | fcba32e9c4bc27a0cdcd1a78bbc1cf5ea799c18e (patch) | |
| tree | d1c13bc9f0a203785556b5ae0358d76656883b00 /internal/rosa/gtk.go | |
| parent | a7f5a5802d48d26aa2bddb9d98be8e5efdef9db0 (diff) | |
internal/rosa/package: migrate glib
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/gtk.go')
| -rw-r--r-- | internal/rosa/gtk.go | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/internal/rosa/gtk.go b/internal/rosa/gtk.go deleted file mode 100644 index eaa67654..00000000 --- a/internal/rosa/gtk.go +++ /dev/null @@ -1,58 +0,0 @@ -package rosa - -import ( - "hakurei.app/fhs" - "hakurei.app/internal/pkg" -) - -func (t Toolchain) newGLib() (pkg.Artifact, string) { - const ( - version = "2.88.1" - checksum = "Rkszn6W4RHjyspyqfXdVAVawdwDJCuS0Zu0f7qot7tbJhnw2fUDoUUJB40m-1MCX" - ) - return t.NewPackage("glib", version, t.newTagRemote( - "https://gitlab.gnome.org/GNOME/glib.git", - version, checksum, - ), &PackageAttr{ - Paths: []pkg.ExecPath{ - pkg.Path(fhs.AbsEtc.Append( - "machine-id", - ), false, pkg.NewFile( - "glib-machine-id", - []byte("ffffffffffffffffffffffffffffffff\n"), - )), - pkg.Path(AbsSystem.Append( - "var/lib/dbus/machine-id", - ), false, pkg.NewFile( - "glib-machine-id", - []byte("fefefefefefefefefefefefefefefefe\n"), - )), - }, - }, &MesonHelper{ - Setup: []KV{ - {"Ddefault_library", "both"}, - }, - }, - PythonPackaging, - Bash, - - PCRE2, - Libffi, - Zlib, - ), version -} -func init() { - native.mustRegister(Toolchain.newGLib, &Metadata{ - Name: "glib", - Description: "the GNU library of miscellaneous stuff", - Website: "https://developer.gnome.org/glib/", - - Dependencies: P{ - PCRE2, - Libffi, - Zlib, - }, - - ID: 10024, - }) -} |
