subversion: Update from 1.9.7 to 1.10.0
[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.27
4 TERMUX_PKG_SHA256=723a28f9cbc5c6130f496065fc01c839083e97bf3e4930f940a03c0155046170
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
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 }