From: Gustavo Zacarias Date: Thu, 13 Oct 2016 01:13:54 +0000 (-0300) Subject: poppler: add explicit cairo support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab2c6b4b06be4cb8ebb7c3e8fe71372175562562;p=buildroot.git poppler: add explicit cairo support Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk index c6cd2eb92f..4632d8dd0c 100644 --- a/package/poppler/poppler.mk +++ b/package/poppler/poppler.mk @@ -14,6 +14,13 @@ POPPLER_INSTALL_STAGING = YES POPPLER_CONF_OPTS = --with-font-configuration=fontconfig \ --enable-xpdf-headers +ifeq ($(BR2_PACKAGE_CAIRO),y) +POPPLER_CONF_OPTS += --enable-cairo-output +POPPLER_DEPENDENCIES += cairo +else +POPLER_CONF_OPTS += --disable-cairo-output +endif + ifeq ($(BR2_PACKAGE_LCMS2),y) POPPLER_CONF_OPTS += --enable-cms=lcms2 POPPLER_DEPENDENCIES += lcms2