diff --git a/packages/poppler/build.sh b/packages/poppler/build.sh index cd93ad789..8bc23f769 100644 --- a/packages/poppler/build.sh +++ b/packages/poppler/build.sh @@ -5,6 +5,7 @@ TERMUX_PKG_VERSION=0.86.1 TERMUX_PKG_SRCURL=https://poppler.freedesktop.org/poppler-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=af630a277c8e194c31339c5446241834aed6ed3d4b4dc7080311e51c66257f6c TERMUX_PKG_DEPENDS="fontconfig, freetype, glib, libc++, libcairo, libcurl, libiconv, libjpeg-turbo, libpng, libtiff, littlecms, openjpeg, zlib" +TERMUX_PKG_BUILD_DEPENDS="boost" TERMUX_PKG_BREAKS="poppler-dev" TERMUX_PKG_REPLACES="poppler-dev" #texlive needs the xpdf headers diff --git a/packages/poppler/force-termux-include-dirs.patch b/packages/poppler/force-termux-include-dirs.patch index e71be14b9..7f850fbb7 100644 --- a/packages/poppler/force-termux-include-dirs.patch +++ b/packages/poppler/force-termux-include-dirs.patch @@ -1,7 +1,6 @@ -diff -uNr poppler-0.84.0/CMakeLists.txt poppler-0.84.0.mod/CMakeLists.txt ---- poppler-0.84.0/CMakeLists.txt 2019-12-28 14:18:51.000000000 +0200 -+++ poppler-0.84.0.mod/CMakeLists.txt 2020-01-11 21:36:13.130975793 +0200 -@@ -315,6 +315,9 @@ +--- ./CMakeLists.txt.orig 2020-03-01 20:52:52.000000000 +0100 ++++ ./CMakeLists.txt 2020-03-20 07:09:18.713276868 +0100 +@@ -316,6 +316,9 @@ set(CMAKE_CXX_FLAGS "${DEFAULT_COMPILE_WARNINGS} ${CMAKE_CXX_FLAGS}") endif()