Skip to content

Commit

Permalink
IM 7.1.1-10. Using cmake to build libwebp.
Browse files Browse the repository at this point in the history
  • Loading branch information
dooman87 committed May 22, 2023
1 parent 6abe9f5 commit 29edfa7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.bullseye
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM debian:bullseye-slim

ENV DEBIAN_FRONTEND=noninteractive

ARG IM_VERSION=7.1.1-8
ARG IM_VERSION=7.1.1-10
ARG LIB_HEIF_VERSION=1.16.1
ARG LIB_AOM_VERSION=3.6.1
ARG LIB_WEBP_VERSION=1.3.0
Expand Down Expand Up @@ -38,10 +38,10 @@ RUN apt-get -y update && \
# Building libwebp
git clone -b v${LIB_WEBP_VERSION} --depth 1 https://chromium.googlesource.com/webm/libwebp && \
cd libwebp && \
./autogen.sh && ./configure --enable-shared --enable-libwebpdecoder --enable-libwebpdemux --enable-libwebpmux --enable-static=no && \

This comment has been minimized.

Copy link
@Kikobeats

Kikobeats Jun 14, 2023

Contributor

Hey @dooman87 I want to understand this change.

Can you explain to me like 5 years old? I'm trying to understand the ecosystem UNIX/C tools.

is this way of compilation giving some benefit autogen/configure isn't?

mkdir build && cd build && cmake ../ && make && make install && \
make && make install && \
ldconfig /usr/local/lib && \
cd ../ && rm -rf libwebp && \
cd ../../ && rm -rf libwebp && \
# Building libaom
git clone -b v${LIB_AOM_VERSION} --depth 1 https://aomedia.googlesource.com/aom && \
mkdir build_aom && \
Expand Down
10 changes: 5 additions & 5 deletions Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:focal

ENV DEBIAN_FRONTEND=noninteractive

ARG IM_VERSION=7.1.1-8
ARG IM_VERSION=7.1.1-10
ARG LIB_HEIF_VERSION=1.16.1
ARG LIB_AOM_VERSION=3.6.1
ARG LIB_WEBP_VERSION=1.3.0
Expand Down Expand Up @@ -36,12 +36,12 @@ RUN apt-get -y update && \
rm -rf libjxl && \
ldconfig /usr/local/lib && \
# Building libwebp
git clone https://chromium.googlesource.com/webm/libwebp && \
cd libwebp && git checkout v${LIB_WEBP_VERSION} && \
./autogen.sh && ./configure --enable-shared --enable-libwebpdecoder --enable-libwebpdemux --enable-libwebpmux --enable-static=no && \
git clone -b v${LIB_WEBP_VERSION} --depth 1 https://chromium.googlesource.com/webm/libwebp && \
cd libwebp && \
mkdir build && cd build && cmake ../ && make && make install && \
make && make install && \
ldconfig /usr/local/lib && \
cd ../ && rm -rf libwebp && \
cd ../../ && rm -rf libwebp && \
# Building libaom
git clone -b v${LIB_AOM_VERSION} --depth 1 https://aomedia.googlesource.com/aom && \
mkdir build_aom && \
Expand Down

0 comments on commit 29edfa7

Please sign in to comment.