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" |
fa979563 FF |
3 | TERMUX_PKG_VERSION=7.0.7.22 |
4 | TERMUX_PKG_SHA256=ce060a56e6d8a7c51af603dd14d9ded3480a71ce675d7bc2a5532ef1fb737b93 | |
556262ed FF |
5 | local _download_version=`echo $TERMUX_PKG_VERSION | sed 's/\(.*\)\./\1-/'` |
6 | TERMUX_PKG_SRCURL=https://github.com/ImageMagick/ImageMagick/archive/${_download_version}.tar.gz | |
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 | } |