forked from imagemin/mozjpeg-bin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for arm64 and update mozjpeg 4.1.3
Windows building is broken. It has to be fixed. I recommend using vcpkg. Mac Os X arm64 binary should be change to real arm64 binary. I don't own mac, but everything builds correctly.
- Loading branch information
1 parent
c72b1f5
commit c30c7a9
Showing
15 changed files
with
38 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
FROM debian:10-slim | ||
FROM debian:12-slim | ||
|
||
RUN apt-get update \ | ||
&& apt-get install autoconf libtool nasm libpng-dev automake pkg-config build-essential wget \ | ||
&& apt-get install cmake libtool nasm libpng-dev pkg-config build-essential wget \ | ||
-yq --no-install-suggests --no-install-recommends --force-yes | ||
|
||
WORKDIR /src | ||
RUN wget --no-check-certificate https://github.com/mozilla/mozjpeg/archive/v3.3.1.tar.gz -O mozjpeg-3.3.1.tar.gz | ||
RUN tar -xzvf mozjpeg-3.3.1.tar.gz | ||
WORKDIR /src/mozjpeg-3.3.1 | ||
RUN wget --no-check-certificate https://github.com/mozilla/mozjpeg/archive/v4.1.3.tar.gz -O mozjpeg-4.1.3.tar.gz | ||
RUN tar -xzvf mozjpeg-4.1.3.tar.gz | ||
WORKDIR /src/mozjpeg-4.1.3 | ||
|
||
RUN autoreconf -fiv \ | ||
&& ./configure LDFLAGS=-static libpng_LIBS='/usr/lib/x86_64-linux-gnu/libpng16.a -lz' --enable-static --disable-shared \ | ||
&& make -j8 | ||
RUN mkdir result && cd result && \ | ||
cmake .. \ | ||
&& cmake --build . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.