PKGNAME=anki
PKGSEC=doc
PKGDEP="python-3 gcc-runtime glibc beautifulsoup4 decorator distro flask \
        flask-cors jsonschema markdown orjson python-protobuf pyqt6 \
        pyqt6-webengine pysocks requests send2trash waitress qt-6 sqlite \
        zstd mpv"
BUILDDEP="cargo rustc git ninja protobuf python-installer wheel rsync uv \
          nodejs yarn llvm"
PKGDES="Repetition flashcard program"
ABTYPE=self
# FIXME: anki only supports amd64 and arm64 officially
FAIL_ARCH="!(amd64|arm64|loongarch64)"
# FIXME: Build fails with LTO
# ld.lld: error: undefined symbol: ring_core_0_17_14__LIMBS_less_than
NOLTO=1
NOPYTHON2=1
