From c57106165a74db50201833d283fc7a3bfbacba7c Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 7 Jun 2020 00:36:49 +0200 Subject: [PATCH] package/libvips: add gobject-introspection support Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- 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 001a148a7e..169fda9b10 100644 --- a/package/libvips/libvips.mk +++ b/package/libvips/libvips.mk @@ -21,7 +21,6 @@ LIBVIPS_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) $(LIBVIPS_CXXFLAGS)" \ LIBS=$(TARGET_NLS_LIBS) LIBVIPS_CONF_OPTS = \ - --disable-introspection \ --without-dmalloc \ --without-gsf \ --without-magick \ @@ -41,6 +40,13 @@ LIBVIPS_DEPENDENCIES = \ host-pkgconf expat libglib2 \ $(TARGET_NLS_DEPENDENCIES) +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBVIPS_CONF_OPTS += --enable-introspection +LIBVIPS_DEPENDENCIES += gobject-introspection +else +LIBVIPS_CONF_OPTS += --disable-introspection +endif + ifeq ($(BR2_PACKAGE_JPEG),y) LIBVIPS_CONF_OPTS += --with-jpeg LIBVIPS_DEPENDENCIES += jpeg -- 2.30.2