diff options
author | Sven Neumann <s.neumann@raumfeld.com> | 2009-10-18 23:56:21 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-10-20 22:42:25 +0200 |
commit | 0cbfcbe43358ab37f94886b90db70bdb5f8e338c (patch) | |
tree | a543d91433dbe6241192b60ebc3340c896083063 | |
parent | f49ef854ca4b6ab3836ef39cb89027ce5b7bd94b (diff) |
gvfs: build archive backend if libarchive is selected
If BR2_PACKAGE_LIBARCHIVE is enabled, build the gvfs archive
backend.
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | package/gvfs/gvfs.mk | 22 |
1 files changed, 14 insertions, 8 deletions
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 += \ |