From 8bcae68f37d2c608e9e151fb983f16c09c11f85e Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 30 Mar 2022 19:32:37 +0200 Subject: [PATCH] package/upower: add gobject-introspection optional dependency gobject-introspection is an optional dependency which is enabled by default since https://gitlab.freedesktop.org/upower/upower/-/commit/0d7bf34ed6702c60028fa80e5d481621e9741d09 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/upower/upower.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/upower/upower.mk b/package/upower/upower.mk index 8989ca9f5d..a6f39d2f46 100644 --- a/package/upower/upower.mk +++ b/package/upower/upower.mk @@ -22,4 +22,11 @@ UPOWER_DEPENDENCIES = \ UPOWER_CONF_OPTS = --disable-man-pages --disable-tests +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +UPOWER_CONF_OPTS += --enable-introspection +UPOWER_DEPENDENCIES += gobject-introspection +else +UPOWER_CONF_OPTS += --disable-introspection +endif + $(eval $(autotools-package))