X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/19c5064ef99c5bd221300bb7742e154a07c92c29..8012826446c0bfe523c104b3d64c751bba2185ae:/packages/poppler/build.sh diff --git a/packages/poppler/build.sh b/packages/poppler/build.sh index a85fea10..58a123b3 100644 --- a/packages/poppler/build.sh +++ b/packages/poppler/build.sh @@ -1,9 +1,11 @@ -TERMUX_PKG_HOMEPAGE=http://poppler.freedesktop.org/ +TERMUX_PKG_HOMEPAGE=https://poppler.freedesktop.org/ TERMUX_PKG_DESCRIPTION="PDF rendering library" -TERMUX_PKG_VERSION=0.35.0 -TERMUX_PKG_SRCURL=http://poppler.freedesktop.org/poppler-${TERMUX_PKG_VERSION}.tar.xz +# Do not update before pdflatex is fixed to work with newer poppler versions: +TERMUX_PKG_VERSION=0.59.0.1 +local _REAL_VERSION=0.57.0 +TERMUX_PKG_SHA256=0ea37de71b7db78212ebc79df59f99b66409a29c2eac4d882dae9f2397fe44d8 +TERMUX_PKG_SRCURL=https://poppler.freedesktop.org/poppler-${_REAL_VERSION}.tar.xz # libcairo and littlecms is used by pdftocairo: -TERMUX_PKG_DEPENDS="fontconfig, libcairo, libpng, libjpeg-turbo, libtiff, littlecms, libgnustl, openjpeg" - -# $NDK/docs/STANDALONE-TOOLCHAIN.html: "If you use the GNU libstdc++, you will need to explicitly link with libsupc++ if you use these features" -export LDFLAGS="$LDFLAGS -lgnustl_shared" # -lsupc++" +TERMUX_PKG_DEPENDS="fontconfig, libcairo, libpng, libjpeg-turbo, libtiff, littlecms, openjpeg, freetype, libxml2" +#texlive needs the xpdf headers +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-poppler-glib --enable-xpdf-headers"