Skip to content

Commit 985a6d8

Browse files
committed
Added libavif to the build environment.
1 parent 255564a commit 985a6d8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docker/manylinux2014/Dockerfile_x86_64

+20
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ ARG NASM_VERSION=2.15.04
1212
ARG OPENSSL_VERSION=1_1_1w
1313
ARG QT_VERSION=5.15.16
1414
ARG YASM_VERSION=1.3.0
15+
ARG AOM_VERSION=v3.11.0
16+
ARG AVIF_VERSION=v1.1.1
1517

1618
ENV LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH
1719

@@ -101,6 +103,24 @@ RUN mkdir ~/libvpx_sources && \
101103
cd .. && \
102104
rm -rf ~/libvpx_sources
103105

106+
RUN mkdir ~/aom_sources && \
107+
cd ~/aom_sources && \
108+
git clone --depth 1 -b ${AOM_VERSION} https://aomedia.googlesource.com/aom && \
109+
mkdir build && cd build && \
110+
cmake -DCMAKE_C_COMPILER=$(dirname $(which g++))/gcc -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -DENABLE_TESTS=OFF ../aom/ && \
111+
make -j$(getconf _NPROCESSORS_ONLN) && \
112+
make install && \
113+
cd / && rm -rf ~/aom_sources
114+
115+
RUN mkdir ~/avif_sources && \
116+
cd ~/avif_sources && \
117+
git clone -b ${AVIF_VERSION} https://github.com/AOMediaCodec/libavif.git && \
118+
mkdir build && cd build && \
119+
cmake -DCMAKE_INSTALL_PREFIX=/usr -DAVIF_CODEC_AOM=SYSTEM -DAVIF_LIBYUV=LOCAL -DAVIF_BUILD_APPS=OFF ../libavif && \
120+
make -j$(getconf _NPROCESSORS_ONLN) && \
121+
make install && \
122+
cd / && rm -rf ~/avif_sources
123+
104124
RUN mkdir ~/ffmpeg_sources && \
105125
cd ~/ffmpeg_sources && \
106126
curl -O -L https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.gz && \

0 commit comments

Comments
 (0)