commit bc17af2

chld  ·  2026-09-07 18:18:50 +0000 UTC
parent 0ccad00
imagemagick: seperate into imagemagick6 and imagemagick 7
6 files changed,  +57, -1
R utils/imagemagick/deps => utils/imagemagick6/deps
+0, -0
R utils/imagemagick/info => utils/imagemagick6/info
+0, -0
R utils/imagemagick/ndmake.sh => utils/imagemagick6/ndmake.sh
+1, -1
1@@ -1,5 +1,5 @@
2 #!/bin/sh -ue
3-NAME=imagemagick
4+NAME=imagemagick6
5 VERSION=git
6 RELEASE=1
7 SOURCE="https://github.com/ImageMagick/ImageMagick6"
+9, -0
 1@@ -0,0 +1,9 @@
 2+/libwebp
 3+/freetype
 4+/libz
 5+.gmake
 6+/ffmpeg
 7+/libjpeg-turbo
 8+/libpng
 9+/zstd
10+
+6, -0
1@@ -0,0 +1,6 @@
2+name: image magick
3+description: is the standard swiss army knife of image processing
4+license: 
5+upstream: http://www.imagemagick.org
6+version: git
7+maintainer: chld
+41, -0
 1@@ -0,0 +1,41 @@
 2+#!/bin/sh -ue
 3+NAME=imagemagick7
 4+VERSION=git
 5+RELEASE=1
 6+SOURCE="https://github.com/ImageMagick/ImageMagick"
 7+
 8+build() {
 9+	CC=clang LDFLAGS="-static" ./configure \
10+	  --prefix="$PREFIX" \
11+	  --enable-static \
12+	  --disable-shared \
13+	  --disable-installed \
14+	  --without-x \
15+	  --with-gnu-ld=no \
16+	  --without-perl \
17+	  --without-magick-plus-plus \
18+	  --with-ttf \
19+	  --without-modules \
20+	  --disable-docs \
21+	  --with-quantum-depth=16 \
22+	  --disable-hdri \
23+	  --with-threads \
24+	  --disable-dpc \
25+	  --disable-deprecated \
26+	  --without-xml \
27+	  --without-zip \
28+	  --without-djvu \
29+	  --without-fftw \
30+	  --without-autotrace \
31+	  --without-jxl \
32+	  --without-bzlib \
33+	  --without-lzma \
34+	  --without-lcms \
35+	  --without-wmf \
36+	  --enable-static \
37+	  --disable-shared 
38+	gmake PREFIX="$PREFIX" LDFLAGS="-static -all-static" -j"$NPROC"
39+	gmake PREFIX="$PREFIX" DESTDIR="$PKG" install
40+}
41+
42+. ${0%/*}/../../libsh/libdmake.sh