# Note: depends on meson
# Note: depends on ninja
# Note: depends on nasm
wget -c https://github.com/cisco/openh264/archive/refs/tags/v2.1.1.tar.gz -O openh264-2.1.1.tar.gz
tar -xzf openh264-2.1.1.tar.gz
cd openh264-2.1.1
rm -rf autotest/performanceTest
sed -i -e '/test/d' meson.build # Avoid unittesting dependency
mkdir -p builddir
cd builddir
meson .. --prefix="/usr"
ninja
ninja install # as root