From: Fabrice Fontaine Date: Sun, 4 Apr 2021 14:30:46 +0000 (+0200) Subject: package/libvips: add lcms2 optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f26d142e35b15b63e0de0b3550e0e05a952e181e;p=buildroot.git package/libvips: add lcms2 optional dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/libvips/libvips.mk b/package/libvips/libvips.mk index 304861ab83..494392de7b 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-lcms \ --without-OpenEXR \ --without-openslide \ --without-matio \ @@ -71,6 +70,13 @@ else LIBVIPS_CONF_OPTS += --without-jpeg endif +ifeq ($(BR2_PACKAGE_LCMS2),y) +LIBVIPS_CONF_OPTS += --with-lcms +LIBVIPS_DEPENDENCIES += lcms2 +else +LIBVIPS_CONF_OPTS += --without-lcms +endif + ifeq ($(BR2_PACKAGE_LIBPNG),y) LIBVIPS_CONF_OPTS += --with-png LIBVIPS_DEPENDENCIES += libpng