From 83f9a46e695037ef3e9ad06d9a69ff62fb4107de Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Tue, 31 Mar 2020 17:21:30 -0700 Subject: [PATCH] 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 --- package/atk/atk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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)) -- 2.30.2