diff mbox

[3/8] poppler: add explicit cairo support

Message ID 1476321239-13894-3-git-send-email-gustavo@zacarias.com.ar
State Accepted
Commit ab2c6b4b06be4cb8ebb7c3e8fe71372175562562
Headers show

Commit Message

Gustavo Zacarias Oct. 13, 2016, 1:13 a.m. UTC
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/poppler/poppler.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Peter Korsgaard Oct. 15, 2016, 9:33 a.m. UTC | #1
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.
diff mbox

Patch

diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
index c6cd2eb..4632d8d 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