From: Fabrice Fontaine Date: Sat, 6 Jun 2020 22:36:49 +0000 (+0200) Subject: package/libvips: add gobject-introspection support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c57106165a74db50201833d283fc7a3bfbacba7c;p=buildroot.git package/libvips: add gobject-introspection support Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- 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