Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 985a6d8

Browse filesBrowse files
committed
Added libavif to the build environment.
1 parent 255564a commit 985a6d8
Copy full SHA for 985a6d8

File tree

1 file changed

+20
-0
lines changed
Filter options

1 file changed

+20
-0
lines changed

‎docker/manylinux2014/Dockerfile_x86_64

Copy file name to clipboardExpand all lines: docker/manylinux2014/Dockerfile_x86_64
+20Lines changed: 20 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.