package/libmediaart: enable gobject-introspection support

If gobject-introspection is selected, add the gobject-introspection package to
the dependency list and set the conf opt --enable-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:32 -07:00 committed by Yann E. MORIN
parent 3915e17e77
commit 10d807181a

View File

@ -33,4 +33,11 @@ LIBMEDIAART_CONF_OPTS += \
--disable-qt --disable-qt
endif endif
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
LIBMEDIAART_CONF_OPTS += --enable-introspection
LIBMEDIAART_DEPENDENCIES += gobject-introspection
else
LIBMEDIAART_CONF_OPTS += --disable-introspection
endif
$(eval $(autotools-package)) $(eval $(autotools-package))