| 1 | TERMUX_PKG_HOMEPAGE=https://www.ghostscript.com/ |
| 2 | TERMUX_PKG_DESCRIPTION="Interpreter for the PostScript language and for PDF" |
| 3 | TERMUX_PKG_VERSION=9.23 |
| 4 | TERMUX_PKG_SHA256=3ad1c9eab5ea40fc71464577bad564c8ba1a006af1a2e0a79a160f39b4ba799c |
| 5 | TERMUX_PKG_SRCURL=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${TERMUX_PKG_VERSION//.}/ghostpdl-${TERMUX_PKG_VERSION}.tar.gz |
| 6 | TERMUX_PKG_DEPENDS="libandroid-support, libtiff, libjpeg-turbo, libpng, libexpat, freetype, fontconfig, libidn, littlecms, openjpeg" |
| 7 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" |
| 8 | ac_cv_lib_lcms2__cmsCreateMutex=yes |
| 9 | CCAUX=gcc |
| 10 | --build=$TERMUX_BUILD_TUPLE |
| 11 | --enable-little-endian |
| 12 | --with-arch_h=$TERMUX_PKG_BUILDER_DIR/arch-${TERMUX_ARCH}.h |
| 13 | --without-pcl |
| 14 | --without-x |
| 15 | --with-system-libtiff |
| 16 | " |
| 17 | |
| 18 | termux_step_post_extract_package () { |
| 19 | rm -rdf $TERMUX_PKG_SRCDIR/{jpeg,libpng,expat,jasper,freetype,lcms2,tiff,openjpeg} |
| 20 | } |