Browse Source

package/libvips: add poppler optional dependency

poppler is an optional dependency which is enabled by default since
version 8.3.0 and
https://github.com/libvips/libvips/commit/8da4e706dd60aba1a69e49bd562d8de225d2404d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 26439a3beda8b5addb997304641303ac4c757c87)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabrice Fontaine 4 years ago
parent
commit
8d48895875
1 changed files with 7 additions and 0 deletions
  1. 7 0
      package/libvips/libvips.mk

+ 7 - 0
package/libvips/libvips.mk

@@ -61,6 +61,13 @@ else
 LIBVIPS_CONF_OPTS += --without-png
 endif
 
+ifeq ($(BR2_PACKAGE_POPPLER),y)
+LIBVIPS_CONF_OPTS += --with-poppler
+LIBVIPS_DEPENDENCIES += poppler
+else
+LIBVIPS_CONF_OPTS += --without-poppler
+endif
+
 ifeq ($(BR2_PACKAGE_TIFF),y)
 LIBVIPS_CONF_OPTS += --with-tiff
 LIBVIPS_DEPENDENCIES += tiff