[Buildroot] [git commit branch/2020.02.x] package/libvips: add librsvg optional dependency
Peter Korsgaard
peter at korsgaard.com
Sun Apr 4 19:56:45 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=ca85202e600e4d38d47f622c70e37ae0857e53da
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.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 6c3749c12a..771d4a631f 100644
--- a/package/libvips/libvips.mk
+++ b/package/libvips/libvips.mk
@@ -62,6 +62,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