summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-02-08 22:35:33 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2026-02-08 23:03:23 +0100
commit0be4012b0c76aa925a53dc2f73c475794cc555df (patch)
treec26c4af823e9ef293e550ad6e91314a835461974
parent65be055041e21f9f865de2a3045085967f34cc7e (diff)
downloadspm-packages-0be4012b0c76aa925a53dc2f73c475794cc555df.tar.gz
Add ImageMagick-6.9.13-38_jpeg_png
-rw-r--r--ImageMagick/6.9.13-38/jpeg-png/Dockerfile53
1 files changed, 53 insertions, 0 deletions
diff --git a/ImageMagick/6.9.13-38/jpeg-png/Dockerfile b/ImageMagick/6.9.13-38/jpeg-png/Dockerfile
new file mode 100644
index 0000000..941328c
--- /dev/null
+++ b/ImageMagick/6.9.13-38/jpeg-png/Dockerfile
@@ -0,0 +1,53 @@
+FROM alpine as base
+ARG PREFIX=/usr/local
+ARG DESTDIR=/opt/spm/imagemagick-6.9.13-38-jpeg-png
+RUN apk update && apk add \
+ make \
+ gcc \
+ pkgconf \
+ musl-dev \
+ wget
+RUN wget https://imagemagick.org/archive/ImageMagick-6.9.13-38.tar.gz
+RUN tar -xf ImageMagick-6.9.13-38.tar.gz
+COPY --from=libjpeg:10 /opt/spm/libjpeg-10 /usr/local
+COPY --from=libpng:1.6.54 /opt/spm/libpng-1.6.54 /usr/local
+COPY --from=zlib:1.3.1 /opt/spm/zlib-1.3.1 /usr/local
+WORKDIR /build-imagemagick
+RUN CFLAGS='-ffunction-sections -fdata-sections' \
+ ../ImageMagick-6.9.13-38/configure \
+ --with-security-policy=websafe \
+ --enable-shared=no \
+ --enable-static=yes \
+ --enable-openmp=no \
+ --enable-hdri=no \
+ --with-magick-plus-plus=no \
+ --with-utilities=no \
+ --with-jpeg \
+ --with-png \
+ --without-fftw \
+ --without-flif \
+ --without-fpx \
+ --without-djvu \
+ --without-fontconfig \
+ --without-freetype \
+ --without-raqm \
+ --without-gdi32 \
+ --without-gslib \
+ --without-dmr \
+ --without-heic \
+ --without-jbig \
+ --without-jxl \
+ --without-lcms \
+ --without-openjp2 \
+ --without-lqr \
+ --without-lzma \
+ --without-openexr \
+ --without-pango \
+ --without-raw \
+ --without-tiff \
+ --without-webp
+RUN make -j$(nproc)
+RUN make install DESTDIR=$DESTDIR
+FROM scratch
+COPY --from=base /opt/spm/imagemagick-6.9.13-38-jpeg-png/usr/local/ \
+ /opt/spm/imagemagick-6.9.13-38-jpeg-png