Skip to content

WIP: Added libavif to the build environment #1098

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 4.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docker/manylinux2014/Dockerfile_x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ ARG NASM_VERSION=2.15.04
ARG OPENSSL_VERSION=1_1_1w
ARG QT_VERSION=5.15.16
ARG YASM_VERSION=1.3.0
ARG AOM_VERSION=v3.11.0
ARG AVIF_VERSION=v1.1.1

ENV LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH

Expand Down Expand Up @@ -101,6 +103,24 @@ RUN mkdir ~/libvpx_sources && \
cd .. && \
rm -rf ~/libvpx_sources

RUN mkdir ~/aom_sources && \
cd ~/aom_sources && \
git clone --depth 1 -b ${AOM_VERSION} https://aomedia.googlesource.com/aom && \
mkdir build && cd build && \
cmake -DCMAKE_C_COMPILER=$(dirname $(which g++))/gcc -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -DENABLE_TESTS=OFF ../aom/ && \
make -j$(getconf _NPROCESSORS_ONLN) && \
make install && \
cd / && rm -rf ~/aom_sources

RUN mkdir ~/avif_sources && \
cd ~/avif_sources && \
git clone -b ${AVIF_VERSION} https://github.com/AOMediaCodec/libavif.git && \
mkdir build && cd build && \
cmake -DCMAKE_INSTALL_PREFIX=/usr -DAVIF_CODEC_AOM=SYSTEM -DAVIF_LIBYUV=LOCAL -DAVIF_BUILD_APPS=OFF ../libavif && \
make -j$(getconf _NPROCESSORS_ONLN) && \
make install && \
cd / && rm -rf ~/avif_sources

RUN mkdir ~/ffmpeg_sources && \
cd ~/ffmpeg_sources && \
curl -O -L https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.gz && \
Expand Down
Loading