From 0cbfcbe43358ab37f94886b90db70bdb5f8e338c Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Sun, 18 Oct 2009 23:56:21 +0200 Subject: gvfs: build archive backend if libarchive is selected If BR2_PACKAGE_LIBARCHIVE is enabled, build the gvfs archive backend. Signed-off-by: Sven Neumann Signed-off-by: Peter Korsgaard --- package/gvfs/gvfs.mk | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'package/gvfs') diff --git a/package/gvfs/gvfs.mk b/package/gvfs/gvfs.mk index 5c71fef31..94a5eb76b 100644 --- a/package/gvfs/gvfs.mk +++ b/package/gvfs/gvfs.mk @@ -22,7 +22,6 @@ GVFS_CONF_OPT = \ --disable-obexftp \ --disable-gphoto2 \ --disable-keyring \ - --disable-archive \ --disable-bash-completion \ ifeq ($(BR2_PACKAGE_AVAHI),y) @@ -32,6 +31,20 @@ else GVFS_CONF_OPT += --disable-avahi endif +ifeq ($(BR2_PACKAGE_HAL),y) +GVFS_DEPENDENCIES += hal +GVFS_CONF_OPT += --enable-hal +else +GVFS_CONF_OPT += --disable-hal +endif + +ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) +GVFS_DEPENDENCIES += libarchive +GVFS_CONF_OPT += --enable-archive +else +GVFS_CONF_OPT += --disable-archive +endif + ifeq ($(BR2_PACKAGE_LIBFUSE),y) GVFS_DEPENDENCIES += libfuse GVFS_CONF_OPT += --enable-fuse @@ -46,13 +59,6 @@ else GVFS_CONF_OPT += --disable-http endif -ifeq ($(BR2_PACKAGE_HAL),y) -GVFS_DEPENDENCIES += hal -GVFS_CONF_OPT += --enable-hal -else -GVFS_CONF_OPT += --disable-hal -endif - ifeq ($(BR2_PACKAGE_SAMBA_LIBSMBCLIENT),y) GVFS_DEPENDENCIES += samba GVFS_CONF_OPT += \ -- cgit v1.2.3