5415N/A#
5415N/A# CDDL HEADER START
5415N/A#
5415N/A# The contents of this file are subject to the terms of the
5415N/A# Common Development and Distribution License (the "License").
5415N/A# You may not use this file except in compliance with the License.
5415N/A#
5415N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5415N/A# or http://www.opensolaris.org/os/licensing.
5415N/A# See the License for the specific language governing permissions
5415N/A# and limitations under the License.
5415N/A#
5415N/A# When distributing Covered Code, include this CDDL HEADER in each
5415N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5415N/A# If applicable, add the following below this CDDL HEADER, with the
5415N/A# fields enclosed by brackets "[]" replaced with your own identifying
5415N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5415N/A#
5415N/A# CDDL HEADER END
5415N/A#
5415N/A
5415N/A#
5424N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
5415N/A#
7290N/ABUILD_BITS= 64_and_32
5680N/A# For now, all things built for C++11 require gcc.
7290N/ACOMPILER= gcc
5415N/Ainclude ../../../make-rules/shared-macros.mk
5415N/A
5415N/ACOMPONENT_NAME= harfbuzz
5415N/ACOMPONENT_VERSION= 1.0.6
5415N/ACOMPONENT_PROJECT_URL= http://www.freedesktop.org/wiki/Software/HarfBuzz/
5415N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
5415N/ACOMPONENT_ARCHIVE_HASH= \
5415N/A sha256:f616a7fbdc78a627043f9029000bf08c0c71df59cde4143fc92a014f6a993b26
5415N/ACOMPONENT_ARCHIVE_URL= http://www.freedesktop.org/software/harfbuzz/release/$(COMPONENT_ARCHIVE)
5415N/ACOMPONENT_BUGDB= library/harfbuzz
5415N/A
5415N/ATPNO= 25623
5415N/A
5424N/A# Requires newer version of gobject-introspection from Desktop, available in
5424N/A# S12 but not 11.3, so do not publish.
7290N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
5424N/A
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
5415N/A
5415N/ACXXFLAGS += -std=c++11
5415N/A
5469N/A# For components using gobject-introspection, don't cache results in $HOME
5469N/ACOMPONENT_BUILD_ENV += GI_SCANNER_DISABLE_CACHE=yes
5469N/A
5415N/ACONFIGURE_ENV += CC="$(CC) $(CC_BITS)"
5415N/A# Required by other components.
5415N/ACONFIGURE_OPTIONS += --enable-introspection
5415N/A# Required by other components.
5415N/ACONFIGURE_OPTIONS += --with-glib
5415N/A# Required by other components.
5415N/ACONFIGURE_OPTIONS += --with-gobject
5415N/A# Requires GNU-ABI compatible build of ICU.
5415N/ACONFIGURE_OPTIONS += --with-icu
5415N/A# build the API documentation
5415N/ACONFIGURE_OPTIONS += --enable-gtk-doc
5415N/A
5415N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
5415N/ACOMPONENT_TEST_ARGS = -k -i
5415N/ACOMPONENT_TEST_TRANSFORMS += \
5415N/A '-n ' \
5415N/A '-e "/TOTAL:/p" ' \
5415N/A '-e "/SKIP:/p" ' \
5415N/A '-e "/PASS:/p" ' \
5415N/A '-e "/FAIL:/p" ' \
5415N/A '-e "/XFAIL:/p" ' \
5415N/A '-e "/XERROR:/p" ' \
5415N/A '-e "/ERROR:/p" '
5415N/A
5415N/AREQUIRED_PACKAGES += developer/build/autoconf
5415N/AREQUIRED_PACKAGES += developer/build/automake
5415N/AREQUIRED_PACKAGES += developer/build/gnu-make
5415N/AREQUIRED_PACKAGES += developer/build/pkg-config
5660N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
5415N/AREQUIRED_PACKAGES += developer/icu
5415N/AREQUIRED_PACKAGES += library/desktop/cairo
5415N/AREQUIRED_PACKAGES += library/glib2
5415N/AREQUIRED_PACKAGES += library/icu
5415N/AREQUIRED_PACKAGES += system/library/freetype-2
5415N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
5415N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
5415N/AREQUIRED_PACKAGES += system/library/math