[Buildroot] [PATCH 1/1] gvfs: enable keyring
Fabrice Fontaine
fontaine.fabrice at gmail.com
Sat Oct 20 20:00:32 UTC 2018
Enable keyring if libsecret is available
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
package/gvfs/gvfs.mk | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/package/gvfs/gvfs.mk b/package/gvfs/gvfs.mk
index 0fdb9e1267..45f01fc564 100644
--- a/package/gvfs/gvfs.mk
+++ b/package/gvfs/gvfs.mk
@@ -23,7 +23,6 @@ GVFS_CONF_OPTS = \
--disable-gdu \
--disable-goa \
--disable-google \
- --disable-keyring \
--disable-libmtp \
--disable-udisks2
@@ -119,8 +118,14 @@ else
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
else
GVFS_CONF_OPTS += --disable-http
--
2.17.1
More information about the buildroot
mailing list