chiark / gitweb /
poppler: Disable poppler-glib
authorFredrik Fornwall <fredrik@fornwall.net>
Sat, 14 Nov 2015 03:59:54 +0000 (22:59 -0500)
committerFredrik Fornwall <fredrik@fornwall.net>
Sat, 14 Nov 2015 03:59:54 +0000 (22:59 -0500)
This avoids depending on glib. It can be split up into separate
subpackage if anyone needs that, but for now just don't build it.

packages/poppler/build.sh

index 4a2e387013151c1629cd2375afb72b6dd4c70a75..c753b42ae6f0aba74894217a362d90795b6dde59 100644 (file)
@@ -1,9 +1,11 @@
 TERMUX_PKG_HOMEPAGE=http://poppler.freedesktop.org/
 TERMUX_PKG_DESCRIPTION="PDF rendering library"
 TERMUX_PKG_VERSION=0.37.0
+TERMUX_PKG_BUILD_REVISION=1
 TERMUX_PKG_SRCURL=http://poppler.freedesktop.org/poppler-${TERMUX_PKG_VERSION}.tar.xz
 # libcairo and littlecms is used by pdftocairo:
 TERMUX_PKG_DEPENDS="fontconfig, libcairo, libpng, libjpeg-turbo, libtiff, littlecms, libgnustl, openjpeg"
+TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-poppler-glib"
 
 # $NDK/docs/STANDALONE-TOOLCHAIN.html: "If you use the GNU libstdc++, you will need to explicitly link with libsupc++ if you use these features"
 export LDFLAGS="$LDFLAGS -lgnustl_shared" # -lsupc++"