You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
877 B
24 lines
877 B
TERMUX_PKG_HOMEPAGE=https://poppler.freedesktop.org/
|
|
TERMUX_PKG_DESCRIPTION="PDF rendering library"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_VERSION=0.75.0
|
|
TERMUX_PKG_REVISION=2
|
|
TERMUX_PKG_SHA256=3bbaedb0fa2797cac933a0659d144303e4d09eec6892c65600da987d8707199a
|
|
TERMUX_PKG_SRCURL=https://poppler.freedesktop.org/poppler-${TERMUX_PKG_VERSION}.tar.xz
|
|
# libcairo and littlecms is used by pdftocairo:
|
|
TERMUX_PKG_DEPENDS="fontconfig, glib, libcairo, libpng, libjpeg-turbo, libtiff, littlecms, openjpeg, freetype, libcurl"
|
|
#texlive needs the xpdf headers
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
-DENABLE_GLIB=ON
|
|
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON
|
|
-DENABLE_QT5=OFF
|
|
-DFONT_CONFIGURATION=fontconfig
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
sed -i '1 i\#!/usr/bin/python' $TERMUX_PREFIX/bin/glib-mkenums
|
|
}
|
|
|
|
termux_step_post_massage() {
|
|
rm -f $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/bin/glib-mkenums
|
|
}
|
|
|