2019-02-01 16:32:36 +01:00
|
|
|
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"
|
2020-03-19 10:03:50 +01:00
|
|
|
TERMUX_PKG_VERSION=7.0.10.0
|
2020-06-01 23:59:34 +02:00
|
|
|
TERMUX_PKG_REVISION=7
|
2019-09-18 21:52:54 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/ImageMagick/ImageMagick/archive/$(echo $TERMUX_PKG_VERSION | sed 's/\(.*\)\./\1-/').tar.gz
|
2020-03-19 10:03:50 +01:00
|
|
|
TERMUX_PKG_SHA256=baf31e019aa5331ba91f5b750f85e1a107ae26e1ccc4c480393c48b58b4c5e80
|
|
|
|
TERMUX_PKG_DEPENDS="fftw, fontconfig, freetype, fribidi, glib, harfbuzz, libandroid-support, libbz2, libcairo, libffi, libgraphite, libjpeg-turbo, liblzma, libpixman, libpng, librsvg, libtiff, libuuid, libwebp, libx11, libxau, libxcb, libxdmcp, libxext, libxml2, littlecms, openjpeg, pango, pcre, zlib"
|
2019-02-01 16:32:36 +01:00
|
|
|
TERMUX_PKG_CONFLICTS="imagemagick"
|
|
|
|
TERMUX_PKG_REPLACES="imagemagick"
|
|
|
|
TERMUX_PKG_PROVIDES="imagemagick"
|
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--with-x
|
|
|
|
--without-gvc
|
|
|
|
--with-magick-plus-plus=no
|
2020-03-19 10:03:50 +01:00
|
|
|
--with-bzlib=yes
|
2019-02-01 16:32:36 +01:00
|
|
|
--with-xml=yes
|
2020-03-19 10:03:50 +01:00
|
|
|
--with-rsvg=yes
|
2019-02-01 16:32:36 +01:00
|
|
|
--with-lzma
|
|
|
|
--disable-openmp
|
2019-12-22 01:18:53 +01:00
|
|
|
ac_cv_func_ftime=no
|
|
|
|
"
|
2019-02-01 16:32:36 +01:00
|
|
|
|
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="
|
|
|
|
share/ImageMagick-7/francais.xml
|
|
|
|
"
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
if [ $TERMUX_ARCH = "i686" ]; then
|
|
|
|
# Avoid "libMagickCore-7.Q16HDRI.so: error: undefined reference to '__atomic_load'":
|
|
|
|
LDFLAGS+=" -latomic"
|
|
|
|
fi
|
|
|
|
}
|