git: 00646779248e - main - filesystems/gvfs: split and exclude OneDrive option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Mar 2026 18:57:33 UTC
The branch main has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=00646779248e6f9432990e02397ee4a042373c44
commit 00646779248e6f9432990e02397ee4a042373c44
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2026-03-02 18:55:41 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-03-02 18:55:41 +0000
filesystems/gvfs: split and exclude OneDrive option
...until port is updated to 1.58, due to net/msgraph API break:
Run-time dependency msgraph-0.1 found: NO (tried pkgconfig)
meson.build:434:16: ERROR: Dependency "msgraph-0.1" not found, tried pkgconfig
While here, sort OPTIONS_DEFINE
---
filesystems/gvfs/Makefile | 15 ++++++++++-----
filesystems/gvfs/pkg-plist | 4 ++--
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/filesystems/gvfs/Makefile b/filesystems/gvfs/Makefile
index 1272366c0d4a..a32f6ba3a7e5 100644
--- a/filesystems/gvfs/Makefile
+++ b/filesystems/gvfs/Makefile
@@ -37,14 +37,16 @@ MESON_ARGS= -Dsystemduserunitdir=no \
PORTSCOUT= limitw:1,even
-OPTIONS_DEFINE= AVAHI FUSE AFC GOA SMB CDDA GOOGLE GPHOTO MTP NFS BLURAY
-OPTIONS_DEFAULT=AVAHI SMB CDDA GPHOTO MTP NFS BLURAY
+OPTIONS_DEFINE= AFC AVAHI BLURAY CDDA FUSE GOA GOOGLE GPHOTO MTP NFS ONEDRIVE SMB
+OPTIONS_DEFAULT= AVAHI SMB CDDA GPHOTO MTP NFS BLURAY
+OPTIONS_EXCLUDE= ONEDRIVE
OPTIONS_SUB= yes
AFC_DESC= Apple device support
BLURAY_DESC= Blu-ray metadata support
GOA_DESC= GNOME Online Accounts volume monitor support
GOOGLE_DESC= Google backend
+ONEDRIVE_DESC= OneDrive backend
AFC_LIB_DEPENDS= libimobiledevice-1.0.so:comms/libimobiledevice \
libplist-2.0.so:devel/libplist
@@ -64,9 +66,8 @@ CDDA_MESON_TRUE= cdda
FUSE_USES= fuse:3
FUSE_MESON_TRUE= fuse
-GOA_LIB_DEPENDS= libgoa-1.0.so:net/gnome-online-accounts \
- libmsgraph-1.so:net/msgraph
-GOA_MESON_TRUE= goa onedrive
+GOA_LIB_DEPENDS= libgoa-1.0.so:net/gnome-online-accounts
+GOA_MESON_TRUE= goa
GOOGLE_IMPLIES= GOA
GOOGLE_LIB_DEPENDS= libgdata.so:devel/libgdata
@@ -81,6 +82,10 @@ MTP_MESON_TRUE= mtp
NFS_LIB_DEPENDS= libnfs.so:net/libnfs
NFS_MESON_TRUE= nfs
+ONEDRIVE_IMPLIES= GOA
+ONEDRIVE_LIB_DEPENDS= libmsgraph-1.so:net/msgraph
+ONEDRIVE_MESON_TRUE= onedrive
+
SMB_USES= samba:lib
SMB_MESON_TRUE= smb
SMB_VARS= GLIB_SCHEMAS+=org.gnome.system.smb.gschema.xml
diff --git a/filesystems/gvfs/pkg-plist b/filesystems/gvfs/pkg-plist
index 1828c96b26d1..338b5ee7f213 100644
--- a/filesystems/gvfs/pkg-plist
+++ b/filesystems/gvfs/pkg-plist
@@ -26,7 +26,7 @@ libexec/gvfsd-metadata
%%MTP%%libexec/gvfsd-mtp
libexec/gvfsd-network
%%NFS%%libexec/gvfsd-nfs
-%%GOA%%libexec/gvfsd-onedrive
+%%ONEDRIVE%%libexec/gvfsd-onedrive
libexec/gvfsd-recent
libexec/gvfsd-sftp
%%SMB%%libexec/gvfsd-smb
@@ -62,7 +62,7 @@ share/glib-2.0/schemas/org.gnome.system.wsdd.gschema.xml
%%MTP%%%%DATADIR%%/mounts/mtp.mount
%%DATADIR%%/mounts/network.mount
%%NFS%%%%DATADIR%%/mounts/nfs.mount
-%%GOA%%%%DATADIR%%/mounts/onedrive.mount
+%%ONEDRIVE%%%%DATADIR%%/mounts/onedrive.mount
%%DATADIR%%/mounts/recent.mount
%%DATADIR%%/mounts/sftp.mount
%%SMB%%%%DATADIR%%/mounts/smb-browse.mount