PKGNAME=cinny-desktop
PKGSEC=web
PKGDEP="webkit2gtk openssl gtk-3"
BUILDDEP="nodejs rustc llvm"
# FIXME: nodejs 26 npm segmentation fault on loongson3
BUILDDEP__LOONGSON3="nodejs-24 rustc llvm"
PKGDES="Matrix client for desktop"

USECLANG=1
ABTYPE=rust

# FIXME: swc_ecma_codegen: index out of bounds: the len is 2 but the index is 2
# on riscv64.
#
# FIXME: stuck at `vite v5.4.19 building for production...` on ppc64el
# Note: webkit2gtk is not available on retro architectures
FAIL_ARCH="@(riscv64|ppc64el|retro)"
