package/rygel: 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:33 -07:00 committed by Yann E. MORIN
parent 10d807181a
commit c89c2234bc

View File

@ -33,6 +33,13 @@ ifeq ($(BR2_PACKAGE_GDK_PIXBUF),y)
RYGEL_DEPENDENCIES += gdk-pixbuf
endif
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
RYGEL_CONF_OPTS += --enable-introspection
RYGEL_DEPENDENCIES += gobject-introspection
else
RYGEL_CONF_OPTS += --disable-introspection
endif
ifeq ($(BR2_PACKAGE_RYGEL_MEDIA_ENGINE_GSTREAMER1),y)
RYGEL_CONF_OPTS += \
--with-media-engine=gstreamer \