PKGNAME=chromium
PKGSEC=web
PKGDEP="alsa-lib bzip2 dbus desktop-file-utils flac gtk-3 harfbuzz \
        hicolor-icon-theme libevent libexif libgcrypt libsecret libvpx libyuv \
        nss pciutils perl-file-basedir pulseaudio qt-5 snappy \
        speech-dispatcher systemd cups json-glib wayland libffi"
BUILDDEP="gn gperf llvm-22 ninja nodejs rust-bindgen rustc xcb-proto"
BUILDDEP__AMD64="$BUILDDEP yasm"
PKGDES="A performance and security focused Web browser"

USECLANG=1

# FIXME: Renderer segfaults when opening new tabs.
AB_FLAGS_SSP__LOONGARCH64=0

# FIXME: Exception is not allowed during build-time.
#
# #error This code cannot be used when exceptions are turned on.
AB_FLAGS_EXC=0

FAIL_ARCH="!(amd64|arm64|loongarch64)"
