diff options
author | Sven Neumann <s.neumann@raumfeld.com> | 2009-09-27 23:19:40 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-09-27 23:21:50 +0200 |
commit | bc95b3ad3b02cc23d9efd89654b52492e492b959 (patch) | |
tree | eaf1dac6224fb20369002954d39bda3bcf5990cf /package/gvfs/gvfs.mk | |
parent | 255c8ea89c50a7ebc25d0202aef6f6ae53afdd51 (diff) | |
download | buildroot-novena-bc95b3ad3b02cc23d9efd89654b52492e492b959.tar.gz buildroot-novena-bc95b3ad3b02cc23d9efd89654b52492e492b959.zip |
package: add gvfs
Closes #303.
Peter: Fix Kconfig (largefile, expat, indentation)
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gvfs/gvfs.mk')
-rw-r--r-- | package/gvfs/gvfs.mk | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/package/gvfs/gvfs.mk b/package/gvfs/gvfs.mk new file mode 100644 index 000000000..9a6562b98 --- /dev/null +++ b/package/gvfs/gvfs.mk @@ -0,0 +1,73 @@ +############################################################# +# +# gvfs +# +############################################################# +GVFS_VERSION_MAJOR = 1.2 +GVFS_VERSION_MINOR = 2 +GVFS_VERSION = $(GVFS_VERSION_MAJOR).$(GVFS_VERSION_MINOR) +GVFS_SOURCE = gvfs-$(GVFS_VERSION).tar.gz +GVFS_SITE = http://ftp.gnome.org/pub/GNOME/sources/gvfs/$(GVFS_VERSION_MAJOR) + +GVFS_INSTALL_STAGING = NO +GVFS_INSTALL_TARGET = YES +GVFS_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install + +GVFS_AUTORECONF = NO +GVFS_DEPENDENCIES = uclibc host-pkgconfig host-libglib2 libglib2 dbus-glib shared-mime-info + +GVFS_CONF_OPT = \ + --disable-gconf \ + --disable-cdda \ + --disable-obexftp \ + --disable-gphoto2 \ + --disable-keyring \ + --disable-archive \ + --disable-bash-completion \ + +ifeq ($(BR2_PACKAGE_AVAHI),y) +GVFS_DEPENDENCIES += avahi +GVFS_CONF_OPT += --enable-avahi +else +GVFS_CONF_OPT += --disable-avahi +endif + +ifeq ($(BR2_PACKAGE_LIBFUSE),y) +GVFS_DEPENDENCIES += libfuse +GVFS_CONF_OPT += --enable-fuse +else +GVFS_CONF_OPT += --disable-fuse +endif + +ifeq ($(BR2_PACKAGE_LIBSOUP),y) +GVFS_DEPENDENCIES += libsoup +GVFS_CONF_OPT += --enable-http +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 += \ + --enable-samba \ + ac_cv_lib_smbclient_smbc_option_get=yes +else +GVFS_CONF_OPT += --disable-samba +endif + +$(eval $(call AUTOTARGETS,package,gvfs)) + +$(GVFS_HOOK_POST_INSTALL): $(GVFS_TARGET_INSTALL_TARGET) + rm $(TARGET_DIR)/usr/bin/gvfs-less +ifneq ($(BR2_ENABLE_DEBUG),y) + $(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/bin/gvfs* + $(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/libexec/gvfs* +endif + touch $@ |