Commit | Line | Data |
---|---|---|
2599f92e | 1 | TERMUX_PKG_HOMEPAGE=https://www.imagemagick.org/ |
59f0d218 | 2 | TERMUX_PKG_DESCRIPTION="Suite to create, edit, compose, or convert images in a variety of formats" |
0e7115d2 FF |
3 | TERMUX_PKG_VERSION="7.0.7-1" |
4 | TERMUX_PKG_SHA256=5a45e29509dbb23793a9c8db5c47ef1114c1ee82c9ca60053eaf06b3fc243e2c | |
685c2f7c | 5 | TERMUX_PKG_SRCURL=https://github.com/ImageMagick/ImageMagick/archive/${TERMUX_PKG_VERSION}.tar.gz |
685c2f7c | 6 | TERMUX_PKG_FOLDERNAME=ImageMagick-${TERMUX_PKG_VERSION} |
b6c7cb34 | 7 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" |
bb04b668 FF |
8 | --disable-largefile |
9 | --without-x | |
10 | --without-gvc | |
11 | --without-ltdl | |
12 | --with-magick-plus-plus=no | |
13 | --with-bzlib=no | |
14 | --with-xml=yes | |
15 | --with-lzma | |
16 | ac_cv_func_ftime=no | |
17 | ac_cv_header_complex_h=no" | |
a3aa35d2 FF |
18 | TERMUX_PKG_RM_AFTER_INSTALL=" |
19 | bin/Magick-config | |
20 | bin/MagickCore-config | |
21 | bin/MagickWand-config | |
22 | bin/Wand-config | |
23 | share/ImageMagick-6/francais.xml | |
24 | share/man/man1/Magick-config.1 | |
25 | share/man/man1/MagickCore-config.1 | |
26 | share/man/man1/MagickWand-config.1 | |
27 | share/man/man1/Wand-config.1 | |
28 | " | |
59f0d218 | 29 | TERMUX_PKG_DEPENDS="fftw, pango, glib, libbz2, libjpeg-turbo, liblzma, libpng, libtiff, libxml2, openjpeg, littlecms" |
1af04c0e FF |
30 | |
31 | termux_step_pre_configure() { | |
32 | if [ $TERMUX_ARCH = "i686" ]; then | |
33 | # Avoid "libMagickCore-7.Q16HDRI.so: error: undefined reference to '__atomic_load'": | |
34 | LDFLAGS+=" -latomic" | |
35 | fi | |
36 | } |