7203N/A#
7203N/A# CDDL HEADER START
7203N/A#
7203N/A# The contents of this file are subject to the terms of the
7203N/A# Common Development and Distribution License (the "License").
7203N/A# You may not use this file except in compliance with the License.
7203N/A#
7203N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7203N/A# or http://www.opensolaris.org/os/licensing.
7203N/A# See the License for the specific language governing permissions
7203N/A# and limitations under the License.
7203N/A#
7203N/A# When distributing Covered Code, include this CDDL HEADER in each
7203N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7203N/A# If applicable, add the following below this CDDL HEADER, with the
7203N/A# fields enclosed by brackets "[]" replaced with your own identifying
7203N/A# information: Portions Copyright [yyyy] [name of copyright owner]
7203N/A#
7203N/A# CDDL HEADER END
7203N/A#
7203N/A
7203N/A#
7203N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
7203N/A#
7203N/A
7203N/ABUILD_BITS = 64
7203N/A# All components using gobject-introspection must be built with gcc as
7203N/A# gobject-introspection does not produce correct results when using Studio.
7203N/ACOMPILER = gcc
7203N/Ainclude ../../../make-rules/shared-macros.mk
7203N/A
7203N/ACOMPONENT_NAME= folks
7203N/ACOMPONENT_VERSION= 0.11.1
7203N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/Folks
7203N/ACOMPONENT_ARCHIVE_HASH= \
7203N/A sha256:6740d9074be911959904b40e7264d298bb5622995098ddfa1751dcd2bc4c917d
7203N/ACOMPONENT_BUGDB= gnome/libraries
7203N/A
7203N/ATPNO= 25282
7203N/A
7203N/A# Tests do not yet work with Userland framework
7203N/ATEST_TARGET = $(SKIP_TEST)
7203N/A
7203N/A# Needs gobject-introspection, not available on S11.
7203N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
7203N/A
7203N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
7203N/A
7203N/A# __EXTENSIONS__ required for various non-standard function usages.
7203N/ACFLAGS += -D__EXTENSIONS__
7203N/A# Not compiled as an xpg6 application, but configure defines this, so we
7203N/A# override and undefine it to avoid feature_tests.h failures; unclear what the
7203N/A# correct fix is.
7203N/ACFLAGS += -U_POSIX_SOURCE
7203N/A
7203N/A# A pkg-config file isn't shipped in Solaris for nss/nspr 64-bit, so we
7203N/A# workaround this by using the one-off copy in the evolution-data-server
7203N/A# component directory
7203N/APKG_CONFIG_PATHS.64 += $(WS_COMPONENTS)/gnome/evolution-data-server
7203N/APKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
7203N/A
7203N/ACONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
7203N/A
7203N/A# Requires valadoc.
7203N/ACONFIGURE_OPTIONS += --disable-docs
7203N/ACONFIGURE_OPTIONS += --disable-schemas-compile
7203N/ACONFIGURE_OPTIONS += --disable-static
7203N/A# Linux-specific bluetooth support.
7203N/ACONFIGURE_OPTIONS += --disable-bluez-backend
7203N/A# GSM Telephony Support (unnecessary).
7203N/ACONFIGURE_OPTIONS += --disable-ofono-backend
7203N/A# Not currently shipping libsocialweb (https://github.com/GNOME/libsocialweb).
7203N/ACONFIGURE_OPTIONS += --disable-libsocialweb-backend
7203N/A# Not currently shipping zeitgeist (http://zeitgeist-project.com/), so disable
7203N/A# support.
7203N/ACONFIGURE_OPTIONS += --disable-zeitgeist
7203N/ACONFIGURE_OPTIONS += --enable-eds-backend
7203N/ACONFIGURE_OPTIONS += --enable-import-tool
7203N/ACONFIGURE_OPTIONS += --enable-inspect-tool
7203N/ACONFIGURE_OPTIONS += --enable-shared
7203N/ACONFIGURE_OPTIONS += --enable-telepathy-backend
7203N/A# Required for other components.
7203N/ACONFIGURE_OPTIONS += --enable-tracker-backend
7203N/A# Required for other components.
7203N/ACONFIGURE_OPTIONS += --enable-vala
7203N/ACONFIGURE_OPTIONS += --with-pic
7203N/ACONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)
7203N/A
7203N/A# Requires tracker and evolution data server be installed on the build servers
7203N/A
7203N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
7203N/AREQUIRED_PACKAGES += developer/vala
7203N/AREQUIRED_PACKAGES += library/desktop/evolution-data-server
7203N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
7203N/AREQUIRED_PACKAGES += library/desktop/libgee
7203N/AREQUIRED_PACKAGES += library/desktop/search/tracker
7203N/AREQUIRED_PACKAGES += library/glib2
7203N/AREQUIRED_PACKAGES += library/libxml2
7203N/AREQUIRED_PACKAGES += library/ncurses
7203N/AREQUIRED_PACKAGES += library/readline
7203N/AREQUIRED_PACKAGES += library/telepathy-glib