| 1 | ; Packages needed by the default desktop image during the Alpine replacement. |
| 2 | ; The Vinix image builder adds the kernel, compositor and native services. |
| 3 | selected := get-environment-variable("VPAC_TARGET_ARCH") |
| 4 | arch := if string?(selected) { selected } else if memq(string->symbol("aarch64"), features()) { "aarch64" } else { "x86_64" } |
| 5 | common := list("musl>=1.2.6-2", "busybox>=1.38.0-5", "musl-utils", "ssl-client", "netbase", |
| 6 | "vinix-release", "vinix-filesystem>=0.1.0-2", "vinix-accounts", "vinix-keyring", |
| 7 | "ca-certificates", "curl", "git", "openssh-client", "vpac", "xbps", |
| 8 | "zsh", "vim", "build-base", "vinix-desktop-init") |
| 9 | |
| 10 | defpkgbuild(vinix-release-desktop, |
| 11 | #:pkgname, "vinix-release-desktop", |
| 12 | #:pkgver, "20261128", |
| 13 | #:pkgrel, 1, |
| 14 | #:pkgdesc, "Base, network and toolchain packages for the Vinix desktop release", |
| 15 | #:arch, [#:x86-64, #:aarch64], |
| 16 | #:url, "https://github.com/vlang/vinix", |
| 17 | #:license, "0BSD", |
| 18 | #:depends, if string=?("x86_64", arch) { append(common, list("libuuid")) } else { common }, |
| 19 | #:package, fn() {}) |
| 20 | |