6332N/A#
6332N/A# CDDL HEADER START
6332N/A#
6332N/A# The contents of this file are subject to the terms of the
6332N/A# Common Development and Distribution License (the "License").
6332N/A# You may not use this file except in compliance with the License.
6332N/A#
6332N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6332N/A# or http://www.opensolaris.org/os/licensing.
6332N/A# See the License for the specific language governing permissions
6332N/A# and limitations under the License.
6332N/A#
6332N/A# When distributing Covered Code, include this CDDL HEADER in each
6332N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6332N/A# If applicable, add the following below this CDDL HEADER, with the
6332N/A# fields enclosed by brackets "[]" replaced with your own identifying
6332N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6332N/A#
6332N/A# CDDL HEADER END
6332N/A#
6332N/A
6332N/A#
6332N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6332N/A#
6332N/A
6332N/ABUILD_BITS = 64_and_32
6332N/A# All components using gobject-introspection must be built with gcc as
6332N/A# gobject-introspection does not produce correct results when using Studio.
6332N/ACOMPILER = gcc
6332N/Ainclude ../../../make-rules/shared-macros.mk
6332N/A
6332N/ACOMPONENT_NAME= gcr
6332N/ACOMPONENT_VERSION= 3.18.0
6332N/ACOMPONENT_PROJECT_URL= https://github.com/GNOME/gcr
6332N/ACOMPONENT_ARCHIVE_HASH= \
6332N/A sha256:d4d16da5af55148a694055835ccd07ad34daf0ad03bdad929bf7cad15637ce00
6332N/ACOMPONENT_BUGDB= gnome/security
6332N/A
6332N/ATPNO= 25465
6332N/A
6332N/A# Test results differ on sparc/x86, disabling for now
6332N/ATEST_TARGET = $(SKIP_TEST)
6332N/A
6332N/A# Needs gobject-introspection, not available on S11.
6332N/Aifeq ($(BUILD_TYPE), evaluation)
6332N/ABUILD_32_and_64=
6332N/AINSTALL_32_and_64=
6332N/APUBLISH_STAMP=
6332N/Aendif
6332N/A
6332N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6332N/A
6332N/A# Assumes GNU xgettext in PATH.
6332N/ACONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
6332N/A
6332N/A# Requires a reconf due to patch to autoconf and automake-related files.
6332N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
6332N/A
6332N/A# Uses GNU extension for void function returns.
6332N/ACFLAGS.studio += $(studio_FEATURES_EXTENSIONS)
6332N/A
6332N/A# Not available on Solaris.
6332N/ACONFIGURE_OPTIONS += --disable-valgrind
6332N/A# Required for other components.
6332N/ACONFIGURE_OPTIONS += --enable-introspection
6332N/A# Required for other components.
6332N/ACONFIGURE_OPTIONS += --enable-vala
6332N/A# Fix 64-bit builds.
6332N/ACONFIGURE_OPTIONS.64 += ac_cv_path_LIBGCRYPT_CONFIG=$(USRBINDIR64)/libgcrypt-config
6332N/A
6332N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
6332N/ACOMPONENT_TEST_ARGS = -k -i
6332N/ACOMPONENT_TEST_TRANSFORMS += \
6332N/A '-n ' \
6332N/A '-e "/TOTAL:/p" ' \
6332N/A '-e "/SKIP:/p" ' \
6332N/A '-e "/PASS:/p" ' \
6332N/A '-e "/FAIL:/p" ' \
6332N/A '-e "/ERROR:/p" '
6332N/A
6332N/AREQUIRED_PACKAGES += crypto/gnupg
6332N/AREQUIRED_PACKAGES += developer/documentation-tool/doxygen
6332N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
6332N/AREQUIRED_PACKAGES += developer/vala
6332N/AREQUIRED_PACKAGES += library/desktop/cairo
6332N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
6332N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
6332N/AREQUIRED_PACKAGES += library/desktop/gtk3
6332N/AREQUIRED_PACKAGES += library/desktop/p11-kit
6332N/AREQUIRED_PACKAGES += library/desktop/pango
6332N/AREQUIRED_PACKAGES += library/glib2
6332N/AREQUIRED_PACKAGES += library/security/libgpg-error
6332N/AREQUIRED_PACKAGES += system/library/security/libgcrypt