gvfs: enable keyring
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 21 Oct 2018 16:45:51 +0000 (18:45 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 21 Oct 2018 17:11:20 +0000 (19:11 +0200)
Enable keyring if libsecret is available

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gvfs/gvfs.mk

index 0fdb9e1267aa61d37db752079d7560ff63976be9..47fbe0e8586e05e5d354afc2f1d5dc2e377d4149 100644 (file)
@@ -23,7 +23,6 @@ GVFS_CONF_OPTS = \
        --disable-gdu \
        --disable-goa \
        --disable-google \
-       --disable-keyring \
        --disable-libmtp \
        --disable-udisks2
 
@@ -119,6 +118,13 @@ 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