[Buildroot] [git commit branch/2021.02.x] package/libvips: add poppler optional dependency

Peter Korsgaard peter at korsgaard.com
Sun Apr 4 09:21:02 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=8d48895875daa528d359e1ae2f39379a37ad6b89
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x

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 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 26439a3beda8b5addb997304641303ac4c757c87)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/libvips/libvips.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/libvips/libvips.mk b/package/libvips/libvips.mk
index 169fda9b10..464d905bd8 100644
--- a/package/libvips/libvips.mk
+++ b/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


More information about the buildroot mailing list