From 3525b366994fc43b36f85053f443d3e0b49500f7 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 19 Oct 2018 22:13:14 +0200 Subject: [PATCH] gvfs: add optional gcr support Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/gvfs/gvfs.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/gvfs/gvfs.mk b/package/gvfs/gvfs.mk index b0722ffb00..e34033d5c7 100644 --- a/package/gvfs/gvfs.mk +++ b/package/gvfs/gvfs.mk @@ -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 -- 2.30.2