[Buildroot] [git commit] package/rygel: enable gobject-introspection support

Yann E. MORIN yann.morin.1998 at free.fr
Mon Apr 6 20:35:42 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=c89c2234bcc0df315745eafc9e0808573a8ba485
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
 package/rygel/rygel.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/rygel/rygel.mk b/package/rygel/rygel.mk
index c43030d69f..21c8ebee6a 100644
--- a/package/rygel/rygel.mk
+++ b/package/rygel/rygel.mk
@@ -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 \


More information about the buildroot mailing list