From: Fabrice Fontaine Date: Fri, 19 Oct 2018 20:13:12 +0000 (+0200) Subject: gvfs: enable admin backend X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f595f3cf6af9867322b2b631cec3dbda42a43c7;p=buildroot.git gvfs: enable admin backend Enable admin backend if libcap and polkit are available Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- diff --git a/package/gvfs/gvfs.mk b/package/gvfs/gvfs.mk index 82683d7da1..4ad66b8a6a 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-admin \ --disable-cdda \ --disable-gcr \ --disable-gdu \ @@ -66,6 +65,13 @@ else GVFS_CONF_OPTS += --disable-bluray endif +ifeq ($(BR2_PACKAGE_LIBCAP)$(BR2_PACKAGE_POLKIT),yy) +GVFS_DEPENDENCIES += libcap polkit +GVFS_CONF_OPTS += --enable-admin +else +GVFS_CONF_OPTS += --disable-admin +endif + ifeq ($(BR2_PACKAGE_LIBFUSE),y) GVFS_DEPENDENCIES += libfuse GVFS_CONF_OPTS += --enable-fuse