1 ################################################################################
5 ################################################################################
7 GVFS_VERSION_MAJOR = 1.16
8 GVFS_VERSION = $(GVFS_VERSION_MAJOR).2
9 GVFS_SOURCE = gvfs-$(GVFS_VERSION).tar.xz
10 GVFS_SITE = http://ftp.gnome.org/pub/GNOME/sources/gvfs/$(GVFS_VERSION_MAJOR)
11 GVFS_INSTALL_STAGING = YES
12 GVFS_DEPENDENCIES = host-pkgconf host-libglib2 libglib2 dbus shared-mime-info
13 GVFS_LICENSE = LGPLv2+
14 GVFS_LICENSE_FILES = COPYING
16 # Export ac_cv_path_LIBGCRYPT_CONFIG unconditionally to prevent
17 # build system from searching the host paths.
18 GVFS_CONF_ENV = ac_cv_path_LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
26 --disable-bash-completion \
29 ifeq ($(BR2_PACKAGE_AVAHI),y)
30 GVFS_DEPENDENCIES += avahi
31 GVFS_CONF_OPTS += --enable-avahi
33 GVFS_CONF_OPTS += --disable-avahi
36 ifeq ($(BR2_PACKAGE_LIBARCHIVE),y)
37 GVFS_DEPENDENCIES += libarchive
38 GVFS_CONF_OPTS += --enable-archive
40 GVFS_CONF_OPTS += --disable-archive
43 ifeq ($(BR2_PACKAGE_LIBFUSE),y)
44 GVFS_DEPENDENCIES += libfuse
45 GVFS_CONF_OPTS += --enable-fuse
47 GVFS_CONF_OPTS += --disable-fuse
50 ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
51 GVFS_DEPENDENCIES += libgcrypt
54 ifeq ($(BR2_PACKAGE_LIBSOUP),y)
55 GVFS_DEPENDENCIES += libsoup
56 GVFS_CONF_OPTS += --enable-http
58 GVFS_CONF_OPTS += --disable-http
61 ifeq ($(BR2_PACKAGE_SAMBA4),y)
62 GVFS_DEPENDENCIES += samba4
65 --with-samba-includes=$(STAGING_DIR)/usr/include/samba-4.0 \
66 --with-samba-libs=$(STAGING_DIR)/usr/lib \
67 ac_cv_lib_smbclient_smbc_option_get=yes
69 GVFS_CONF_OPTS += --disable-samba
72 define GVFS_REMOVE_USELESS_BINARY
73 rm $(TARGET_DIR)/usr/bin/gvfs-less
76 define GVFS_REMOVE_TARGET_SCHEMAS
77 rm $(TARGET_DIR)/usr/share/glib-2.0/schemas/*.xml
80 define GVFS_COMPILE_SCHEMAS
81 $(HOST_DIR)/usr/bin/glib-compile-schemas --targetdir=$(TARGET_DIR)/usr/share/glib-2.0/schemas $(STAGING_DIR)/usr/share/glib-2.0/schemas
84 GVFS_POST_INSTALL_TARGET_HOOKS += \
85 GVFS_REMOVE_USELESS_BINARY \
86 GVFS_REMOVE_TARGET_SCHEMAS \
89 $(eval $(autotools-package))