Skip to content

Commit

Permalink
Merge pull request #431 from wader/save-some-run-and-indent
Browse files Browse the repository at this point in the history
Save some layers and indent some args
  • Loading branch information
wader authored Apr 22, 2024
2 parents 102db7a + 7eb80b7 commit b2754ae
Showing 1 changed file with 26 additions and 5 deletions.
31 changes: 26 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,13 @@ RUN wget $WGET_OPTS -O libvpx.tar.gz "$VPX_URL"
RUN echo "$VPX_SHA256 libvpx.tar.gz" | sha256sum --status -c -
RUN \
tar $TAR_OPTS libvpx.tar.gz && \
cd libvpx-* && ./configure --enable-static --enable-vp9-highbitdepth --disable-shared --disable-unit-tests --disable-examples && \
cd libvpx-* && \
./configure \
--enable-static \
--enable-vp9-highbitdepth \
--disable-shared \
--disable-unit-tests \
--disable-examples && \
make -j$(nproc) install

# bump: libwebp /LIBWEBP_VERSION=([\d.]+)/ https://github.com/webmproject/libwebp.git|*
Expand All @@ -679,7 +685,21 @@ RUN wget $WGET_OPTS -O libwebp.tar.gz "$LIBWEBP_URL"
RUN echo "$LIBWEBP_SHA256 libwebp.tar.gz" | sha256sum --status -c -
RUN \
tar $TAR_OPTS libwebp.tar.gz && \
cd libwebp-* && ./autogen.sh && ./configure --disable-shared --enable-static --with-pic --enable-libwebpmux --disable-libwebpextras --disable-libwebpdemux --disable-sdl --disable-gl --disable-png --disable-jpeg --disable-tiff --disable-gif && \
cd libwebp-* && \
./autogen.sh && \
./configure \
--disable-shared \
--enable-static \
--with-pic \
--enable-libwebpmux \
--disable-libwebpextras \
--disable-libwebpdemux \
--disable-sdl \
--disable-gl \
--disable-png \
--disable-jpeg \
--disable-tiff \
--disable-gif && \
make -j$(nproc) install

# x264 only have a stable branch no tags and we checkout commit so no hash is needed
Expand Down Expand Up @@ -842,9 +862,10 @@ RUN \
cmake --build build -j$(nproc) && \
cmake --install build
# workaround for ffmpeg configure script
RUN sed -i 's/-ljxl/-ljxl -lstdc++ /' /usr/local/lib/pkgconfig/libjxl.pc
RUN sed -i 's/-ljxl_cms/-ljxl_cms -lstdc++ /' /usr/local/lib/pkgconfig/libjxl_cms.pc
RUN sed -i 's/-ljxl_threads/-ljxl_threads -lstdc++ /' /usr/local/lib/pkgconfig/libjxl_threads.pc
RUN \
sed -i 's/-ljxl/-ljxl -lstdc++ /' /usr/local/lib/pkgconfig/libjxl.pc && \
sed -i 's/-ljxl_cms/-ljxl_cms -lstdc++ /' /usr/local/lib/pkgconfig/libjxl_cms.pc && \
sed -i 's/-ljxl_threads/-ljxl_threads -lstdc++ /' /usr/local/lib/pkgconfig/libjxl_threads.pc

# bump: ffmpeg /FFMPEG_VERSION=([\d.]+)/ https://github.com/FFmpeg/FFmpeg.git|*
# bump: ffmpeg after ./hashupdate Dockerfile FFMPEG $LATEST
Expand Down

0 comments on commit b2754ae

Please sign in to comment.