From 1f66c8d7be94a96c07bbc47d9024d1b5296fcb60 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 4 Apr 2021 16:30:45 +0200 Subject: [PATCH] package/libvips: add orc optional dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/libvips/libvips.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/libvips/libvips.mk b/package/libvips/libvips.mk index 7e8b705dd2..304861ab83 100644 --- a/package/libvips/libvips.mk +++ b/package/libvips/libvips.mk @@ -23,7 +23,6 @@ LIBVIPS_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) $(LIBVIPS_CXXFLAGS)" \ LIBVIPS_CONF_OPTS = \ --without-dmalloc \ --without-gsf \ - --without-orc \ --without-lcms \ --without-OpenEXR \ --without-openslide \ @@ -86,6 +85,13 @@ else LIBVIPS_CONF_OPTS += --without-rsvg endif +ifeq ($(BR2_PACKAGE_ORC),y) +LIBVIPS_CONF_OPTS += --with-orc +LIBVIPS_DEPENDENCIES += orc +else +LIBVIPS_CONF_OPTS += --without-orc +endif + ifeq ($(BR2_PACKAGE_POPPLER),y) LIBVIPS_CONF_OPTS += --with-poppler LIBVIPS_DEPENDENCIES += poppler -- 2.30.2