• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/gvfs/gvfs.mk
Markos ChandrasMarkos Chandras committed 953430bc4dc21 Jun 2013
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# gvfs
4
#
5
################################################################################
6
​
7
GVFS_VERSION_MAJOR = 1.16
8
GVFS_VERSION_MINOR = 2
9
GVFS_VERSION = $(GVFS_VERSION_MAJOR).$(GVFS_VERSION_MINOR)
10
GVFS_SOURCE = gvfs-$(GVFS_VERSION).tar.xz
11
GVFS_SITE = http://ftp.gnome.org/pub/GNOME/sources/gvfs/$(GVFS_VERSION_MAJOR)
12
GVFS_INSTALL_STAGING = YES
13
GVFS_DEPENDENCIES = host-pkgconf host-libglib2 libglib2 dbus shared-mime-info
14
​
15
# Export ac_cv_path_LIBGCRYPT_CONFIG unconditionally to prevent
16
# build system from searching the host paths.
17
GVFS_CONF_ENV = ac_cv_path_LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
18
​
19
GVFS_CONF_OPT = \
20
    --disable-gconf         \
21
    --disable-cdda          \
22
    --disable-obexftp       \
23
    --disable-gphoto2       \
24
    --disable-keyring       \
25
    --disable-bash-completion   \
26
    --disable-hal
27
​
28
ifeq ($(BR2_PACKAGE_AVAHI),y)
29
GVFS_DEPENDENCIES += avahi
30
GVFS_CONF_OPT += --enable-avahi
31
else
32
GVFS_CONF_OPT += --disable-avahi
33
endif
34
​
35
ifeq ($(BR2_PACKAGE_LIBARCHIVE),y)
36
GVFS_DEPENDENCIES += libarchive
37
GVFS_CONF_OPT += --enable-archive
38
else
39
GVFS_CONF_OPT += --disable-archive
40
endif
41
​
42
ifeq ($(BR2_PACKAGE_LIBFUSE),y)
43
GVFS_DEPENDENCIES += libfuse
44
GVFS_CONF_OPT += --enable-fuse
45
else
46
GVFS_CONF_OPT += --disable-fuse
47
endif
48
​
49
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
50
GVFS_DEPENDENCIES += libgcrypt
51
endif
52
​
53
ifeq ($(BR2_PACKAGE_LIBSOUP),y)
54
GVFS_DEPENDENCIES += libsoup
55
GVFS_CONF_OPT += --enable-http
56
else
57
GVFS_CONF_OPT += --disable-http
58
endif
59
​
60
ifeq ($(BR2_PACKAGE_SAMBA_LIBSMBCLIENT),y)
61
GVFS_DEPENDENCIES += samba
62
GVFS_CONF_OPT += \
63
    --enable-samba \
64
    --with-samba-includes=$(STAGING_DIR)/usr/include \
65
    --with-samba-libs=$(STAGING_DIR)/usr/lib \
66
    ac_cv_lib_smbclient_smbc_option_get=yes
67
else
68
GVFS_CONF_OPT += --disable-samba
69
endif
70
​
71
define GVFS_REMOVE_USELESS_BINARY
72
    rm $(TARGET_DIR)/usr/bin/gvfs-less
73
endef
74
​
75
define GVFS_REMOVE_TARGET_SCHEMAS
76
    rm $(TARGET_DIR)/usr/share/glib-2.0/schemas/*.xml
77
endef
78
​
79
define GVFS_COMPILE_SCHEMAS
80
    $(HOST_DIR)/usr/bin/glib-compile-schemas --targetdir=$(TARGET_DIR)/usr/share/glib-2.0/schemas $(STAGING_DIR)/usr/share/glib-2.0/schemas
81
endef
82
​
83
GVFS_POST_INSTALL_TARGET_HOOKS += \
84
    GVFS_REMOVE_USELESS_BINARY  \
85
    GVFS_REMOVE_TARGET_SCHEMAS  \
86
    GVFS_COMPILE_SCHEMAS
87
​
88
$(eval $(autotools-package))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.