package/gvfs: enable optional udisks support

Optional udisks support is useful for mounting USB sticks via
pcmanfm.

gvfs meson.build has recognized this udisks2 option for quite
some time, since upstream commit [1] first included in version
1.35.2 (released on 2017-11-13).

[1] cdc33bf54f

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Julien: add comment in commit log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Waldemar Brodkorb
2026-02-13 13:02:37 +01:00
committed by Julien Olivain
parent cff850cfdb
commit 49d1ea93f7

View File

@@ -30,8 +30,7 @@ GVFS_CONF_OPTS = \
-Dgoogle=false \
-Donedrive=false \
-Dmtp=false \
-Dsftp=false \
-Dudisks2=false
-Dsftp=false
ifeq ($(BR2_PACKAGE_AVAHI),y)
GVFS_DEPENDENCIES += avahi
@@ -157,4 +156,11 @@ GVFS_CONF_OPTS += \
-Dtmpfilesdir=no
endif
ifeq ($(BR2_PACKAGE_UDISKS),y)
GVFS_DEPENDENCIES += udisks
GVFS_CONF_OPTS += -Dudisks2=true
else
GVFS_CONF_OPTS += -Dudisks2=false
endif
$(eval $(meson-package))