poppler: update to 0.64
[termux-packages] / packages / poppler / build.sh
index cf05eeb..ed9920f 100644 (file)
@@ -1,10 +1,12 @@
-TERMUX_PKG_HOMEPAGE=http://poppler.freedesktop.org/
+TERMUX_PKG_HOMEPAGE=https://poppler.freedesktop.org/
 TERMUX_PKG_DESCRIPTION="PDF rendering library"
-TERMUX_PKG_VERSION=0.43.0
-TERMUX_PKG_SRCURL=http://poppler.freedesktop.org/poppler-${TERMUX_PKG_VERSION}.tar.xz
+TERMUX_PKG_VERSION=0.64.0
+TERMUX_PKG_SHA256=b21df92ca99f78067785cf2dc8e06deb04726b62389c0ee1f5d8b103c77f64b1
+TERMUX_PKG_SRCURL=https://poppler.freedesktop.org/poppler-${TERMUX_PKG_VERSION}.tar.xz
 # libcairo and littlecms is used by pdftocairo:
-TERMUX_PKG_DEPENDS="fontconfig, libcairo, libpng, libjpeg-turbo, libtiff, littlecms, openjpeg"
-TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-poppler-glib"
-
-# $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, libcurl"
+#texlive needs the xpdf headers
+TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
+-DENABLE_GLIB=OFF
+-DENABLE_XPDF_HEADERS=ON
+"