|
@@ -7,7 +7,7 @@
|
|
POPPLER_VERSION = 0.32.0
|
|
POPPLER_VERSION = 0.32.0
|
|
POPPLER_SOURCE = poppler-$(POPPLER_VERSION).tar.xz
|
|
POPPLER_SOURCE = poppler-$(POPPLER_VERSION).tar.xz
|
|
POPPLER_SITE = http://poppler.freedesktop.org
|
|
POPPLER_SITE = http://poppler.freedesktop.org
|
|
-POPPLER_DEPENDENCIES = fontconfig
|
|
|
|
|
|
+POPPLER_DEPENDENCIES = fontconfig host-pkgconf
|
|
POPPLER_LICENSE = GPLv2+
|
|
POPPLER_LICENSE = GPLv2+
|
|
POPPLER_LICENSE_FILES = COPYING
|
|
POPPLER_LICENSE_FILES = COPYING
|
|
POPPLER_INSTALL_STAGING = YES
|
|
POPPLER_INSTALL_STAGING = YES
|
|
@@ -22,6 +22,9 @@ endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_TIFF),y)
|
|
ifeq ($(BR2_PACKAGE_TIFF),y)
|
|
POPPLER_CONF_OPTS += --enable-libtiff
|
|
POPPLER_CONF_OPTS += --enable-libtiff
|
|
|
|
+# Help poppler to find libtiff in static linking scenarios
|
|
|
|
+POPPLER_CONF_ENV += \
|
|
|
|
+ LIBTIFF_LIBS="$(shell $(PKG_CONFIG_HOST_BINARY) --libs libtiff-4)"
|
|
POPPLER_DEPENDENCIES += tiff
|
|
POPPLER_DEPENDENCIES += tiff
|
|
else
|
|
else
|
|
POPPLER_CONF_OPTS += --disable-libtiff
|
|
POPPLER_CONF_OPTS += --disable-libtiff
|