Add libavif, aom, dav1d, svt-av1 and nasm - #90
Conversation
There was a problem hiding this comment.
It there a reason for disabling all those options? Some seem that they should work like the last three?).
There was a problem hiding this comment.
libpng, libjpeg and libxml2 are only used by avifenc and avifdec tools (disabled by -DAVIF_BUILD_APPS=OFF), not libavif itself. libsharpyuv (enabled by -DAVIF_LIBSHARPYUV=SYSTEM) is a part of libwebp. I also want to enable libyuv, but libyuv has no pinned version, so I turn it off like brew does.
By default, libavif will use aom to encode avif images and dav1d for decoding. rav1e is another encoder but depends on Rust toolchain. I will try to make recipes for libgav1 and svt-av1.
Update: it seems that the dir structure of libgav1's tarball was broken by mv */* . in mkmk.pl.
The recipe I tested:
Package: libgav1
Version: 0.20.0
Source-URL: https://chromium.googlesource.com/codecs/libgav1/+archive/v${ver}.tar.gz
#: tarballs from googlesource have changing hashes
Build-system: cmake
Configure: -DLIBGAV1_ENABLE_EXAMPLES=0 -DLIBGAV1_ENABLE_TESTS=0 -DLIBGAV1_THREADPOOL_USE_STD_MUTEX=1
nasm is required for compiling aom, dav1d and svt-av1 on x86_64.
libavif is used by avif package.