libfuse3 is an optional dependency since version 1.41.1 and
https://github.com/GNOME/gvfs/commit/
7a0a06186b6fef07b8fce2360c04fd075fc84ed1
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
# Most of these are missing library support
GVFS_CONF_OPTS = \
-Dafc=false \
- -Dfuse=false \
-Dgoa=false \
-Dgoogle=false \
-Dmtp=false \
GVFS_CONF_OPTS += -Dcdda=false
endif
+ifeq ($(BR2_PACKAGE_LIBFUSE3),y)
+GVFS_DEPENDENCIES += libfuse3
+GVFS_CONF_OPTS += -Dfuse=true
+else
+GVFS_CONF_OPTS += -Dfuse=false
+endif
+
# AFP support is anon-only without libgcrypt which isn't very useful
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
GVFS_CONF_OPTS += \