preload-hacks: Some patches to make it work.
[termux-packages] / packages / ghostscript / build.sh
... / ...
CommitLineData
1TERMUX_PKG_HOMEPAGE=https://www.ghostscript.com/
2TERMUX_PKG_DESCRIPTION="Interpreter for the PostScript language and for PDF"
3TERMUX_PKG_VERSION=9.23
4TERMUX_PKG_SHA256=3ad1c9eab5ea40fc71464577bad564c8ba1a006af1a2e0a79a160f39b4ba799c
5TERMUX_PKG_SRCURL=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${TERMUX_PKG_VERSION//.}/ghostpdl-${TERMUX_PKG_VERSION}.tar.gz
6TERMUX_PKG_DEPENDS="libandroid-support, libtiff, libjpeg-turbo, libpng, libexpat, freetype, fontconfig, libidn, littlecms, openjpeg"
7TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
8ac_cv_lib_lcms2__cmsCreateMutex=yes
9CCAUX=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
18termux_step_post_extract_package () {
19 rm -rdf $TERMUX_PKG_SRCDIR/{jpeg,libpng,expat,jasper,freetype,lcms2,tiff,openjpeg}
20}