From: Adam Duskett Date: Wed, 1 Apr 2020 00:21:30 +0000 (-0700) Subject: package/atk: enable gobject-introspection support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=83f9a46e695037ef3e9ad06d9a69ff62fb4107de;p=buildroot.git package/atk: enable gobject-introspection support If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt -Dintrospection=true. Signed-off-by: Adam Duskett Signed-off-by: Yann E. MORIN --- diff --git a/package/atk/atk.mk b/package/atk/atk.mk index 7039666059..a16143d2c0 100644 --- a/package/atk/atk.mk +++ b/package/atk/atk.mk @@ -13,7 +13,13 @@ ATK_LICENSE_FILES = COPYING ATK_INSTALL_STAGING = YES ATK_DEPENDENCIES = libglib2 $(TARGET_NLS_DEPENDENCIES) -ATK_CONF_OPTS = -Dintrospection=false +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +ATK_CONF_OPTS += -Dintrospection=true +ATK_DEPENDENCIES += gobject-introspection +else +ATK_CONF_OPTS += -Dintrospection=false +endif + ATK_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) $(eval $(meson-package))