The dav1d package contains an AV1 decoder.
This may take a while to build. Feel free to do something else while this is building.
The operand order in a couple of assembly files are wrong. Apply a patch to put them in the right order to prevent a build failure:
patch -Np1 -i ../dav1d-1.5.1-nasm-1.patch
Install dav1d by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr \ --buildtype=release \ .. && ninja
Now, as the root
user:
ninja install
Install lib32-dav1d by running the following commands:
rm -rf * && CC="gcc -m32" CXX="g++ -m32" \ PKG_CONFIG_PATH=/usr/lib32/pkgconfig \ meson setup --prefix=/usr \ --libdir=/usr/lib32 \ --buildtype=release \ .. && ninja
Now, as the root
user:
DESTDIR=$PWD/DESTDIR ninja install && cp -vR DESTDIR/usr/lib32/* /usr/lib32 && rm -rf DESTDIR && ldconfig
Inspect meson_options.txt
or
meson.options
for a full list of
options.