gvfs: add optional gcr support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2018-10-19 22:13:14 +02:00 committed by Peter Korsgaard
parent 7aef10f631
commit 3525b36699

View 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