mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
gvfs: enable admin backend
Enable admin backend if libcap and polkit are available Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
87d6d05f15
commit
1f595f3cf6
@ -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
|
# Most of these are missing library support
|
||||||
GVFS_CONF_OPTS = \
|
GVFS_CONF_OPTS = \
|
||||||
--disable-afc \
|
--disable-afc \
|
||||||
--disable-admin \
|
|
||||||
--disable-cdda \
|
--disable-cdda \
|
||||||
--disable-gcr \
|
--disable-gcr \
|
||||||
--disable-gdu \
|
--disable-gdu \
|
||||||
@ -66,6 +65,13 @@ else
|
|||||||
GVFS_CONF_OPTS += --disable-bluray
|
GVFS_CONF_OPTS += --disable-bluray
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_LIBFUSE),y)
|
||||||
GVFS_DEPENDENCIES += libfuse
|
GVFS_DEPENDENCIES += libfuse
|
||||||
GVFS_CONF_OPTS += --enable-fuse
|
GVFS_CONF_OPTS += --enable-fuse
|
||||||
|
Loading…
x
Reference in New Issue
Block a user