HomeFreeBSD

games/anki: Update to 2.1.62

Description

games/anki: Update to 2.1.62

  • Since release 2.1.55, upstream has changed the build system to a homebrew solution written in Rust, which generates the files for ninja(1) and then uses the latter also for building.

    As a result, quite a number of patches, that revolved around the Bazel build system, can now be removed and the Makefile can also be slimmed down considerably.

    By environment variables recognized by the build system, some required binaries (e.g. Python, Node.js, etc.) for the build can be directly defined instead downloading the binary tarballs from the official repositories, which saving quite a bit of patches at the end.

    In order to be able to build Anki successfully on FreeBSD, a few more environment variables have been introduced via custom patches. With this it's possible to use an offline cache for Node.js as well as a native Python environment instead of a venv.
  • Belatedly add devel/py-orjson as a fixed runtime dependency and although it's still optional in the code, the question is how long this will be the case.

    Thus update NOT_FOR_ARCH_REASON accordingly and keep ONLY_FOR_ARCH unchanged for now.

Changelogs since 2.1.54:

https://changes.ankiweb.net/changes/2.1.60-69.html
https://changes.ankiweb.net/changes/2.1.50-59.html

MFH: No (feature release)

Details

Provenance
kaiAuthored on May 8 2023, 11:47 AM
Parents
R11:e25a727caaaf: devel/R-cran-sourcetools: Update to 0.1.7-1
Branches
Unknown
Tags
Unknown