Enable keyring if libsecret is available
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
--disable-gdu \
--disable-goa \
--disable-google \
- --disable-keyring \
--disable-libmtp \
--disable-udisks2
GVFS_CONF_OPTS += --disable-nfs
endif
+ifeq ($(BR2_PACKAGE_LIBSECRET),y)
+GVFS_DEPENDENCIES += libsecret
+GVFS_CONF_OPTS += --enable-keyring
+else
+GVFS_CONF_OPTS += --disable-keyring
+endif
+
ifeq ($(BR2_PACKAGE_LIBSOUP)$(BR2_PACKAGE_LIBXML2),yy)
GVFS_DEPENDENCIES += libsoup libxml2
GVFS_CONF_OPTS += --enable-http