[Buildroot] [git commit branch/2020.11.x] package/libvips: add librsvg optional dependency

Peter Korsgaard peter at korsgaard.com
Sun Apr 4 19:56:53 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=15d432c58d7d33892f29f053417d301bc61da708
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.11.x

librsvg is an optional dependency which is enabled by default since
version 8.3.0 and
https://github.com/libvips/libvips/commit/153886d2eb71eebcdca860cb691d8fbb976ad816

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit adc0e0c6afc2011e6ef4d59a93c42f24399b8279)
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 12ffac944e..a17daef77a 100644
--- a/package/libvips/libvips.mk
+++ b/package/libvips/libvips.mk
@@ -68,6 +68,13 @@ else
 LIBVIPS_CONF_OPTS += --without-png
 endif
 
+ifeq ($(BR2_PACKAGE_LIBRSVG),y)
+LIBVIPS_CONF_OPTS += --with-rsvg
+LIBVIPS_DEPENDENCIES += librsvg
+else
+LIBVIPS_CONF_OPTS += --without-rsvg
+endif
+
 ifeq ($(BR2_PACKAGE_POPPLER),y)
 LIBVIPS_CONF_OPTS += --with-poppler
 LIBVIPS_DEPENDENCIES += poppler


More information about the buildroot mailing list