2017-05-17 21:22:56 +00:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.imagemagick.org/
|
2015-06-12 23:03:31 +00:00
|
|
|
TERMUX_PKG_DESCRIPTION="Suite to create, edit, compose, or convert images in a variety of formats"
|
2019-01-21 14:00:12 +00:00
|
|
|
TERMUX_PKG_LICENSE="ImageMagick"
|
2020-12-20 13:16:34 +00:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-12-11 17:43:04 +00:00
|
|
|
_VERSION=7.1.0-54
|
2022-09-21 04:51:13 +00:00
|
|
|
TERMUX_PKG_VERSION=${_VERSION//-/.}
|
2022-12-16 02:27:04 +00:00
|
|
|
TERMUX_PKG_REVISION=1
|
2022-12-11 17:43:04 +00:00
|
|
|
#TERMUX_PKG_SRCURL=https://github.com/ImageMagick/ImageMagick/archive/refs/tags/${_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_SRCURL=https://imagemagick.org/archive/releases/ImageMagick-${_VERSION}.tar.xz
|
|
|
|
TERMUX_PKG_SHA256=6d0d952000217b677276a342a4c609776386d0daf2ccf354b6ed8dbc07d22ef7
|
2022-12-16 02:27:04 +00:00
|
|
|
TERMUX_PKG_DEPENDS="fftw, fontconfig, freetype, gdk-pixbuf, glib, harfbuzz, libandroid-support, libbz2, libc++, libcairo, libheif, libjpeg-turbo, libjxl, liblzma, libpng, librsvg, libtiff, libwebp, libx11, libxext, libxml2, littlecms, openexr, openjpeg, pango, zlib, zstd"
|
2020-06-03 20:02:03 +00:00
|
|
|
TERMUX_PKG_BREAKS="imagemagick-dev, imagemagick-x"
|
|
|
|
TERMUX_PKG_REPLACES="imagemagick-dev, imagemagick-x"
|
2017-01-28 15:39:37 +00:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
2020-06-03 20:02:03 +00:00
|
|
|
--with-x
|
2017-01-24 00:52:09 +00:00
|
|
|
--without-gvc
|
2021-11-22 07:52:37 +00:00
|
|
|
--with-magick-plus-plus=yes
|
2019-11-08 07:43:01 +00:00
|
|
|
--with-bzlib=yes
|
2017-01-24 00:52:09 +00:00
|
|
|
--with-xml=yes
|
2019-08-31 10:58:13 +00:00
|
|
|
--with-rsvg=yes
|
2017-01-24 00:52:09 +00:00
|
|
|
--with-lzma
|
2021-08-17 10:59:13 +00:00
|
|
|
--with-jxl=yes
|
2022-11-01 18:11:07 +00:00
|
|
|
--with-openexr
|
2021-11-27 23:34:48 +00:00
|
|
|
--with-fftw
|
2018-06-21 22:12:05 +00:00
|
|
|
--disable-openmp
|
2017-01-24 00:52:09 +00:00
|
|
|
ac_cv_func_ftime=no
|
2018-06-12 23:11:08 +00:00
|
|
|
"
|
2019-05-21 11:19:06 +00:00
|
|
|
|
2017-07-28 22:35:36 +00:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="
|
2018-06-12 23:11:08 +00:00
|
|
|
share/ImageMagick-7/francais.xml
|
2017-07-28 22:35:36 +00:00
|
|
|
"
|
2017-06-19 13:26:27 +00:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
2022-04-14 06:37:53 +00:00
|
|
|
export LDFLAGS+=" $($CC -print-libgcc-file-name)"
|
2022-09-21 04:51:13 +00:00
|
|
|
|
|
|
|
# Value of PKG_CONFIG becomes hardcoded in bin/*-config
|
|
|
|
export PKG_CONFIG=pkg-config
|
2017-06-19 13:26:27 +00:00
|
|
|
}
|