PKGNAME=sourcegit
PKGSEC=vcs

# FIXME: After compiling with NativeAOT, there is no longer a need to rely on the .NET Runtime.
PKGDEP="x11-lib icu xdg-utils desktop-file-utils"
BUILDDEP="dotnet-sdk-10.0 dotnet-sdk-aot-10.0"

PKGDES="Graphical client for Git"
ABTYPE=self

# FIXME: Avalonia officially supports only amd64, arm64 and loongarch64.
#        The secondary architectures are untested
#        loongson3/mips64el doesn't have dotnet support.
#        loongarch64_nosimd doesn't have GUI capabilities, so supporting it serves no practical purpose.
#        ppc64el doesn't have SkiaSharp support, it compiles successfully but doesn't work.
#        Afterglow's applicable architectures doesn't have dotnet support.
FAIL_ARCH="!(amd64|arm64|loongarch64|riscv64)"
