The libaom package contains a reference version of the Alliance for Open Media video codec. This codec is a patent free alternative to H.265, and is starting to be used throughout the internet.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://storage.googleapis.com/aom-releases/libaom-3.13.1.tar.gz
Download SHA256 Sum: 19e45a5a7192d690565229983dad900e76b513a02306c12053fb9a262cbeca7d
Download MD5 sum: d615c4dbe062fc307d70d7fb85b678b2
Download size: 34,645.6 KB
Estimated disk space required: 117,850.6 KB
Estimated build time: 2.22 SBU
Required patch: https://www.linuxfromscratch.org/patches/downloads/libaom/libaom-3.13.1-nasm3-1.patch
Patch SHA256 Sum: 966118fb5ae0f20e99487ebb46d4d83cc0952b0d7d5dc00f55081b4b62a1526d
yasm-1.3.0 (or NASM-3.01)
NASM-3 made a change where the help screen now shows different text based on different parameters, instead of displaying all the info upfront. This package depends on all the information being there. Fix how this package gets that information to prevent a configuration failure with only NASM-3 installed:
Prepare libaom by running the following commands:
patch -Np1 -i ../libaom-3.13.1-nasm3-1.patch
cmake -B aom-build -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_SHARED_LIBS=1 \
-D ENABLE_DOCS=no \
-G Ninjaninja -C aom-build
This package does not come with a working test suite.
Now Install the package, as the root user:
ninja -C aom-build install rm -v /usr/lib/libaom.a
-D BUILD_SHARED_LIBS=1: This switch builds shared
versions of the libraries.
-D ENABLE_DOCS=no: This switch disables building
the documentation because it fails due to an incompatibility with the
latest version of "doxygen".
-D ENABLE_NASM=yes: Use this switch if you have both
yasm-1.3.0 and NASM-3.01
installed and wish to use nasm instead of yasm.