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 <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Adam Duskett 2020-03-31 17:21:30 -07:00 committed by Yann E. MORIN
parent 0609aeed7c
commit 83f9a46e69

View File

@ -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))