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