From: Sven Neumann Date: Sun, 18 Oct 2009 21:56:21 +0000 (+0200) Subject: gvfs: build archive backend if libarchive is selected X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0cbfcbe43358ab37f94886b90db70bdb5f8e338c;p=buildroot.git 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 --- diff --git a/package/gvfs/gvfs.mk b/package/gvfs/gvfs.mk index 5c71fef31d..94a5eb76b7 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 += \