@@ -35,7 +35,6 @@ RUN apk add --no-cache \
3535 fribidi-dev fribidi-static \
3636 brotli-dev brotli-static \
3737 soxr-dev soxr-static \
38- lcms2 lcms2-dev \
3938 tcl \
4039 numactl-dev \
4140 cunit cunit-dev \
@@ -266,6 +265,20 @@ RUN \
266265 cd lame-* && ./configure --disable-shared --enable-static --enable-nasm --disable-gtktest --disable-cpml --disable-frontend && \
267266 make -j$(nproc) install
268267
268+ # bump: lcms2 /LCMS2_VERSION=([\d.]+)/ https://github.com/mm2/Little-CMS.git|^2
269+ # bump: lcms2 after ./hashupdate Dockerfile LCMS2 $LATEST
270+ # bump: lcms2 link "Release" https://github.com/mm2/Little-CMS/releases/tag/lcms$LATEST
271+ ARG LCMS2_VERSION=2.15
272+ ARG LCMS2_URL="https://github.com/mm2/Little-CMS/releases/download/lcms$LCMS2_VERSION/lcms2-$LCMS2_VERSION.tar.gz"
273+ ARG LCMS2_SHA256=b20cbcbd0f503433be2a4e81462106fa61050a35074dc24a4e356792d971ab39
274+ RUN \
275+ wget -O lcms2.tar.gz "$LCMS2_URL" && \
276+ echo "$LCMS2_SHA256 lcms2.tar.gz" | sha256sum --status -c - && \
277+ tar xfz lcms2.tar.gz && \
278+ cd lcms2-* && \
279+ ./autogen.sh && ./configure --enable-static --disable-shared && \
280+ make -j$(nproc) install
281+
269282# bump: libmysofa /LIBMYSOFA_VERSION=([\d.]+)/ https://github.com/hoene/libmysofa.git|^1
270283# bump: libmysofa after ./hashupdate Dockerfile LIBMYSOFA $LATEST
271284# bump: libmysofa link "Release" https://github.com/hoene/libmysofa/releases/tag/v$LATEST
@@ -824,7 +837,6 @@ RUN \
824837 FRIBIDI_VERSION=$(pkg-config --modversion fribidi) \
825838 LIBSAMPLERATE_VERSION=$(pkg-config --modversion samplerate) \
826839 LIBXML2_VERSION=$(pkg-config --modversion libxml-2.0) \
827- LCMS2_VERSION=$(pkg-config --modversion lcms2) \
828840 OPENSSL_VERSION=$(pkg-config --modversion openssl) \
829841 SOXR_VERSION=$(pkg-config --modversion soxr) \
830842 LIBVO_AMRWBENC_VERSION=$(pkg-config --modversion vo-amrwbenc) \
0 commit comments