diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-01 23:54:40 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-02 01:24:50 +0900 |
| commit | cc60e0d15d79916a69c8a1caeb3c4611351bb6c4 (patch) | |
| tree | 67f4f59ed7ba7b18af51338e56ffa8d9acf52da6 /internal/rosa/pkg-config.go | |
| parent | 9deaf853f0676ee4475468bffd35aae7e1160a74 (diff) | |
internal/rosa/make: migrate to helper interface
This also updates all affected artifacts to use new behaviour.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/pkg-config.go')
| -rw-r--r-- | internal/rosa/pkg-config.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/internal/rosa/pkg-config.go b/internal/rosa/pkg-config.go index c5c0814a..32eb1363 100644 --- a/internal/rosa/pkg-config.go +++ b/internal/rosa/pkg-config.go @@ -7,13 +7,12 @@ func (t Toolchain) newPkgConfig() pkg.Artifact { version = "0.29.2" checksum = "gi7yAvkwo20Inys1tHbeYZ3Wjdm5VPkrnO0Q6_QZPCAwa1zrA8F4a63cdZDd-717" ) - return t.NewViaMake("pkg-config", version, pkg.NewHTTPGetTar( - nil, - "https://pkgconfig.freedesktop.org/releases/"+ + return t.NewPackage("pkg-config", version, pkg.NewHTTPGetTar( + nil, "https://pkgconfig.freedesktop.org/releases/"+ "pkg-config-"+version+".tar.gz", mustDecode(checksum), pkg.TarGzip, - ), &MakeAttr{ + ), nil, &MakeHelper{ Configure: [][2]string{ {"CFLAGS", "'-Wno-int-conversion'"}, {"with-internal-glib"}, |
