2017-01-19 04:25:42 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://poppler.freedesktop.org/
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="PDF rendering library"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-04-28 06:08:53 +02:00
|
|
|
TERMUX_PKG_VERSION=22.04.0
|
2017-10-08 15:38:23 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://poppler.freedesktop.org/poppler-${TERMUX_PKG_VERSION}.tar.xz
|
2022-04-28 06:08:53 +02:00
|
|
|
TERMUX_PKG_SHA256=813fb4b90e7bda63df53205c548602bae728887a60f4048aae4dbd9b1927deff
|
2021-08-02 16:02:49 +02:00
|
|
|
TERMUX_PKG_DEPENDS="fontconfig, freetype, glib, libc++, libcairo, libcurl, libiconv, libjpeg-turbo, libpng, libtiff, littlecms, openjpeg, openjpeg-tools, zlib"
|
2022-03-01 15:16:18 +01:00
|
|
|
TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="poppler-dev"
|
|
|
|
TERMUX_PKG_REPLACES="poppler-dev"
|
2017-01-19 04:21:42 +01:00
|
|
|
#texlive needs the xpdf headers
|
2017-10-08 15:38:23 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
2019-03-20 14:08:38 +01:00
|
|
|
-DENABLE_GLIB=ON
|
2022-04-30 02:03:32 +02:00
|
|
|
-DENABLE_GOBJECT_INTROSPECTION=OFF
|
2019-03-16 09:50:27 +01:00
|
|
|
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON
|
2018-08-09 20:32:31 +02:00
|
|
|
-DENABLE_QT5=OFF
|
2018-07-09 16:18:39 +02:00
|
|
|
-DFONT_CONFIGURATION=fontconfig
|
2017-10-08 15:38:23 +02:00
|
|
|
"
|
2022-04-28 06:08:53 +02:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
CPPFLAGS+=" -DCMS_NO_REGISTER_KEYWORD"
|
|
|
|
}
|