json-glib: update to 1.10.6
[oi-userland.git] / components / library / gvfs / Makefile
blob802768fbe2480bda566871eeec7766763c67eb04
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Alexander Pyhalov
16 BUILD_BITS= 64_and_32
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= gvfs
20 COMPONENT_VERSION= 1.26.0
21 COMPONENT_REVISION= 7
22 COMPONENT_SUMMARY= GNOME virtual file system framework
23 COMPONENT_PROJECT_URL= https://www.gnome.org
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
26 COMPONENT_ARCHIVE_HASH= sha256:6d43e8b33a5c1588525875f9d3979b515f648da1d567d0ce3d337a18f5ff8c32
27 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/1.26/$(COMPONENT_ARCHIVE)
28 COMPONENT_FMRI= library/gnome/gvfs
29 COMPONENT_CLASSIFICATION=Desktop (GNOME)/Libraries
30 COMPONENT_LICENSE= LGPLv2
31 COMPONENT_LICENSE_FILE= COPYING
33 include $(WS_MAKE_RULES)/common.mk
35 PATH= $(PATH.gnu)
37 COMPONENT_PREP_ACTION= ( cd $(@D) && \
38 autoreconf -if)
40 CPPFLAGS += -D_XPG4_2 -D__EXTENSIONS__
41 LDFLAGS += -lxml2 -L/usr/lib/libsmbclient/$(MACH64) -R/usr/lib/libsmbclient/$(MACH64)
43 CONFIGURE_OPTIONS += --sysconfdir=/etc
44 CONFIGURE_OPTIONS += --disable-fuse
45 CONFIGURE_OPTIONS += --disable-static
46 CONFIGURE_OPTIONS += --enable-avahi
47 CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
48 CONFIGURE_OPTIONS += --enable-archive
49 CONFIGURE_OPTIONS += --enable-bash-completion
50 CONFIGURE_OPTIONS += --enable-documentation
51 CONFIGURE_OPTIONS += --enable-goa
52 CONFIGURE_OPTIONS += --disable-gphoto2
53 CONFIGURE_OPTIONS += --disable-bluray
54 CONFIGURE_OPTIONS += --enable-gtk
55 CONFIGURE_OPTIONS += --enable-http
56 CONFIGURE_OPTIONS += --enable-keyring
57 CONFIGURE_OPTIONS += --enable-shared
58 CONFIGURE_OPTIONS += --with-pic
59 CONFIGURE_OPTIONS += --with-samba-includes=/usr/include/libsmbclient
61 CONFIGURE_OPTIONS.32 += --without-samba
62 CONFIGURE_OPTIONS.64 += --with-samba
63 #CONFIGURE_OPTIONS.64 += --with-samba-libs=/usr/lib/libsmbclient/$(MACH64)
64 CONFIGURE_OPTIONS += $(CONFIGURE_OPTIONS.$(BITS))
66 CONFIGURE_ENV+= PERL=$(PERL)
67 CONFIGURE_ENV+= GLIB_COMPILE_SCHEMAS=/usr/bin/glib-compile-schemas
69 # Build dependencies
70 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
72 # Auto-generated dependencies
73 REQUIRED_PACKAGES += gnome/gnome-mount
74 REQUIRED_PACKAGES += library/desktop/gtk3
75 REQUIRED_PACKAGES += library/glib2
76 REQUIRED_PACKAGES += library/gnome/gcr
77 REQUIRED_PACKAGES += library/libarchive
78 REQUIRED_PACKAGES += library/libsecret
79 REQUIRED_PACKAGES += library/libsoup
80 REQUIRED_PACKAGES += library/libxml2
81 REQUIRED_PACKAGES += library/samba/libsmbclient
82 REQUIRED_PACKAGES += service/hal
83 REQUIRED_PACKAGES += shell/ksh93
84 REQUIRED_PACKAGES += system/library
85 REQUIRED_PACKAGES += system/library/libdbus
86 REQUIRED_PACKAGES += system/library/security/libgcrypt
87 REQUIRED_PACKAGES += system/network/avahi