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.
An Internet connection is needed for some tests of this package. The system certificate store may need to be set up with make-ca-1.15 before testing this package.
This may take a while to build. Feel free to do something else while this is building.
Download (HTTP): https://storage.googleapis.com/aom-releases/libaom-3.12.0.tar.gz
Install libaom by running the following commands:
mkdir aom-build && cd aom-build && cmake -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_BUILD_TYPE=Release \ -D BUILD_SHARED_LIBS=1 \ -D ENABLE_DOCS=no \ -G Ninja .. && ninja
To test the results, issue: ninja testdata && ninja runtests. Note that the tests take an extremely long time to run.
Now, as the root
user:
ninja install && rm -v /usr/lib/libaom.a
First clean the build directory:
rm -rf *
Install lib32-libaom by running the following commands:
CC="gcc -m32" CXX="g++ -m32" \ PKG_CONFIG_PATH=/usr/lib32/pkgconfig \ cmake -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_INSTALL_LIBDIR=lib32 \ -D CMAKE_BUILD_TYPE=Release \ -D BUILD_SHARED_LIBS=1 \ -D ENABLE_DOCS=no \ -G Ninja .. && ninja
Now, as the root
user:
DESTDIR=$PWD/DESTDIR ninja install && cp -vR DESTDIR/usr/lib32/* /usr/lib32 && rm -v /usr/lib32/libaom.a && rm -rf DESTDIR && ldconfig
Inspect CMakeLists.txt
and other
CMake related files for a full
list of options.
-D BUILD_SHARED_LIBS=1
:
This switch builds shared versions of the libraries.
-D ENABLE_DOCS=no
: This
switch disables building the documentation because doxygen is not installed.