imagemagick-x: adapt build scripts for both Android-5 and Android-7

This commit is contained in:
Leonid Pliushch 2019-05-26 15:20:00 +03:00 committed by Yaksh Bariya
parent d563629b4b
commit 02c1275050
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.imagemagick.org/
TERMUX_PKG_DESCRIPTION="Suite to create, edit, compose, or convert images in a variety of formats"
TERMUX_PKG_LICENSE="ImageMagick"
TERMUX_PKG_VERSION=7.0.8.46
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
local _download_version=`echo $TERMUX_PKG_VERSION | sed 's/\(.*\)\./\1-/'`
TERMUX_PKG_SRCURL=https://github.com/ImageMagick/ImageMagick/archive/${_download_version}.tar.gz
TERMUX_PKG_SHA256=e6f49b5883d26c7f85207779397bdb083e629acec8de423e6b1d32038e23ded8
@ -21,8 +21,11 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--with-xml=yes
--with-lzma
--disable-openmp
ac_cv_func_ftime=no
"
ac_cv_func_ftime=no"
if [ "$TERMUX_PKG_API_LEVEL" -lt 24 ]; then
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_header_complex_h=no"
fi
TERMUX_PKG_RM_AFTER_INSTALL="
bin/Magick-config