mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
poppler: add explicit libglib2 support
Evince needs poppler-glib support (when poppler is enabled, for PDF reading support), so add explicit handling to the package. And poppler-glib requires cairo output, hence the conditional on both libglib2 and cairo to enable it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
ab2c6b4b06
commit
8d0a731d8f
@@ -28,6 +28,13 @@ else
|
||||
POPPLER_CONF_OPTS += --enable-cms=none
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CAIRO)$(BR2_PACKAGE_LIBGLIB2),yy)
|
||||
POPPLER_CONF_OPTS += --enable-poppler-glib
|
||||
POPPLER_DEPENDENCIES += libglib2
|
||||
else
|
||||
POPPLER_CONF_OPTS += --disable-poppler-glib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TIFF),y)
|
||||
POPPLER_CONF_OPTS += --enable-libtiff
|
||||
# Help poppler to find libtiff in static linking scenarios
|
||||
|
||||
Reference in New Issue
Block a user