diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-20 03:14:11 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-20 03:33:15 +0900 |
| commit | ef414ab01a28b61ef01766c3dd28ed2342f5ab75 (patch) | |
| tree | 314a8f471c8c052da0936549ecac2d052f52932a /internal/rosa/libgd.go | |
| parent | 96abf266dd8bbbb4ea65c74a3f84f2461a6021a7 (diff) | |
internal/rosa/package: migrate many libraries
This also adds more string helpers.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/libgd.go')
| -rw-r--r-- | internal/rosa/libgd.go | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/internal/rosa/libgd.go b/internal/rosa/libgd.go deleted file mode 100644 index 98ce0083..00000000 --- a/internal/rosa/libgd.go +++ /dev/null @@ -1,38 +0,0 @@ -package rosa - -import "hakurei.app/internal/pkg" - -func (t Toolchain) newLibgd() (pkg.Artifact, string) { - const ( - version = "2.3.3" - checksum = "8T-sh1_FJT9K9aajgxzh8ot6vWIF-xxjcKAHvTak9MgGUcsFfzP8cAvvv44u2r36" - ) - return t.NewPackage("libgd", version, newFromGitHubRelease( - "libgd/libgd", - "gd-"+version, - "libgd-"+version+".tar.gz", checksum, - pkg.TarGzip, - ), &PackageAttr{ - Env: []string{ - "TMPDIR=/dev/shm/gd", - }, - ScriptEarly: ` -mkdir /dev/shm/gd -`, - }, (*MakeHelper)(nil), - Zlib, - ), version -} -func init() { - native.mustRegister(Toolchain.newLibgd, &Metadata{ - Name: "libgd", - Description: "an open source code library for the dynamic creation of images", - Website: "https://libgd.github.io/", - - Dependencies: P{ - Zlib, - }, - - ID: 880, - }) -} |
