gpgme: Update from 1.10.0 to 1.11.1
[termux-packages] / packages / imagemagick / build.sh
CommitLineData
2599f92e 1TERMUX_PKG_HOMEPAGE=https://www.imagemagick.org/
59f0d218 2TERMUX_PKG_DESCRIPTION="Suite to create, edit, compose, or convert images in a variety of formats"
d71cade0
FF
3TERMUX_PKG_VERSION=7.0.7.27
4TERMUX_PKG_SHA256=723a28f9cbc5c6130f496065fc01c839083e97bf3e4930f940a03c0155046170
556262ed
FF
5local _download_version=`echo $TERMUX_PKG_VERSION | sed 's/\(.*\)\./\1-/'`
6TERMUX_PKG_SRCURL=https://github.com/ImageMagick/ImageMagick/archive/${_download_version}.tar.gz
b6c7cb34 7TERMUX_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
16ac_cv_func_ftime=no
17ac_cv_header_complex_h=no"
a3aa35d2
FF
18TERMUX_PKG_RM_AFTER_INSTALL="
19bin/Magick-config
20bin/MagickCore-config
21bin/MagickWand-config
22bin/Wand-config
23share/ImageMagick-6/francais.xml
24share/man/man1/Magick-config.1
25share/man/man1/MagickCore-config.1
26share/man/man1/MagickWand-config.1
27share/man/man1/Wand-config.1
28"
59f0d218 29TERMUX_PKG_DEPENDS="fftw, pango, glib, libbz2, libjpeg-turbo, liblzma, libpng, libtiff, libxml2, openjpeg, littlecms"
1af04c0e
FF
30
31termux_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}