mariadb: Update from 10.2.9 to 10.2.10
[termux-packages] / packages / imagemagick / build.sh
1 TERMUX_PKG_HOMEPAGE=https://www.imagemagick.org/
2 TERMUX_PKG_DESCRIPTION="Suite to create, edit, compose, or convert images in a variety of formats"
3 TERMUX_PKG_VERSION=7.0.7.7
4 TERMUX_PKG_REVISION=1
5 TERMUX_PKG_SHA256=01ddb66116b3944486e630b7585511448b05b94e3b83ef6f4845bf8b14632cb9
6 TERMUX_PKG_SRCURL=https://github.com/ImageMagick/ImageMagick/archive/${TERMUX_PKG_VERSION}.tar.gz
7 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
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"
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 "
29 TERMUX_PKG_DEPENDS="fftw, pango, glib, libbz2, libjpeg-turbo, liblzma, libpng, libtiff, libxml2, openjpeg, littlecms"
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 }