From 8dc74e3759f9d57b2e90c0d7b44cae6b1ab9160f Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Fri, 20 Mar 2020 08:10:35 +0100 Subject: [PATCH] poppler: add boost to build depends Improves performance. --- packages/poppler/build.sh | 1 + packages/poppler/force-termux-include-dirs.patch | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) 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()