package/gcr: enable gobject-introspection support

If gobject-introspection is selected, add the gobject-introspection package to
the dependency list and set the conf opt --with-introspection.

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:28 -07:00 committed by Yann E. MORIN
parent c4ed7dd450
commit d4e7c720aa

View File

@ -23,6 +23,13 @@ GCR_CONF_OPTS = \
GCR_LICENSE = LGPL-2.1+
GCR_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
GCR_DEPENDENCIES += gobject-introspection
GCR_CONF_OPTS += --with-introspection
else
GCR_CONF_OPTS += --without-introspection
endif
# Only the X11 backend is supported for the simple GUI
ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
GCR_DEPENDENCIES += libgtk3