gvfs: add optional gcr support
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 19 Oct 2018 20:13:14 +0000 (22:13 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 20 Oct 2018 16:04:30 +0000 (18:04 +0200)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gvfs/gvfs.mk

index b0722ffb00e93f515ad837efdd02ded1751809d1..e34033d5c73178aa252dd9d9fba223d85fc597cf 100644 (file)
@@ -20,7 +20,6 @@ GVFS_CONF_ENV = ac_cv_path_LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-con
 # Most of these are missing library support
 GVFS_CONF_OPTS = \
        --disable-afc \
-       --disable-gcr \
        --disable-gdu \
        --disable-goa \
        --disable-google \
@@ -36,6 +35,13 @@ else
 GVFS_CONF_OPTS += --disable-avahi
 endif
 
+ifeq ($(BR2_PACKAGE_GCR),y)
+GVFS_DEPENDENCIES += gcr
+GVFS_CONF_OPTS += --enable-gcr
+else
+GVFS_CONF_OPTS += --disable-gcr
+endif
+
 ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
 GVFS_DEPENDENCIES += udev
 endif