2018-04-02 00:08:22 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.ghostscript.com/
|
2017-08-11 13:25:55 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Interpreter for the PostScript language and for PDF"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="AGPL-V3"
|
2018-11-21 23:46:19 +01:00
|
|
|
TERMUX_PKG_VERSION=9.26
|
|
|
|
TERMUX_PKG_SHA256=b0d4916b669a63ed861f563c4607cc1230949c53431ab0798db8e680fdacc777
|
2017-08-11 13:25:55 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${TERMUX_PKG_VERSION//.}/ghostpdl-${TERMUX_PKG_VERSION}.tar.gz
|
2017-11-07 18:34:21 +01:00
|
|
|
TERMUX_PKG_DEPENDS="libandroid-support, libtiff, libjpeg-turbo, libpng, libexpat, freetype, fontconfig, libidn, littlecms, openjpeg"
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
ac_cv_lib_lcms2__cmsCreateMutex=yes
|
|
|
|
CCAUX=gcc
|
|
|
|
--build=$TERMUX_BUILD_TUPLE
|
|
|
|
--enable-little-endian
|
|
|
|
--with-arch_h=$TERMUX_PKG_BUILDER_DIR/arch-${TERMUX_ARCH}.h
|
|
|
|
--without-pcl
|
|
|
|
--without-x
|
|
|
|
--with-system-libtiff
|
|
|
|
"
|
2017-08-11 13:25:55 +02:00
|
|
|
|
|
|
|
termux_step_post_extract_package () {
|
2017-11-07 18:34:21 +01:00
|
|
|
rm -rdf $TERMUX_PKG_SRCDIR/{jpeg,libpng,expat,jasper,freetype,lcms2,tiff,openjpeg}
|
2017-08-11 13:25:55 +02:00
|
|
|
}
|