Skip to contentSkip to conversation

package/gvfs: enable optional udisks support

PATCH In review Waldemar Brodkorb 2 participants 2 messages Feb 13

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gvfs: enable optional udisks support

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

---
 package/gvfs/gvfs.mk | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
package/gvfs/gvfs.mk +8 -2
index 6eff3bd859..c92e91c8fb 100644
@@ -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))
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot