texlive-bin: patch to make it work with poppler 0.59.0 (#1606)
[termux-packages] / packages / poppler / build.sh
index 58a123b..a14615f 100644 (file)
@@ -1,10 +1,9 @@
 TERMUX_PKG_HOMEPAGE=https://poppler.freedesktop.org/
 TERMUX_PKG_DESCRIPTION="PDF rendering library"
-# 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
+# When upgrading to 0.60.0, remove extra .2 and fix SRCURL...
+TERMUX_PKG_VERSION=0.59.0.2
+TERMUX_PKG_SHA256=a3d626b24cd14efa9864e12584b22c9c32f51c46417d7c10ca17651f297c9641
+TERMUX_PKG_SRCURL=https://poppler.freedesktop.org/poppler-${TERMUX_PKG_VERSION:0:6}.tar.xz
 # libcairo and littlecms is used by pdftocairo:
 TERMUX_PKG_DEPENDS="fontconfig, libcairo, libpng, libjpeg-turbo, libtiff, littlecms, openjpeg, freetype, libxml2"
 #texlive needs the xpdf headers