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

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


commit: https://git.buildroot.net/buildroot/commit/?id=e9420433196b8fe4b328148d88b2067ca0db63c7
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.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 001a148a7e..966599e271 100644
--- a/package/libvips/libvips.mk
+++ b/package/libvips/libvips.mk
@@ -55,6 +55,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