5941N/A#
5941N/A# CDDL HEADER START
5941N/A#
5941N/A# The contents of this file are subject to the terms of the
5941N/A# Common Development and Distribution License (the "License").
5941N/A# You may not use this file except in compliance with the License.
5941N/A#
5941N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5941N/A# or http://www.opensolaris.org/os/licensing.
5941N/A# See the License for the specific language governing permissions
5941N/A# and limitations under the License.
5941N/A#
5941N/A# When distributing Covered Code, include this CDDL HEADER in each
5941N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5941N/A# If applicable, add the following below this CDDL HEADER, with the
5941N/A# fields enclosed by brackets "[]" replaced with your own identifying
5941N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5941N/A#
5941N/A# CDDL HEADER END
5941N/A#
5941N/A
5941N/A#
5941N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5941N/A#
5941N/A
5941N/A# All components using gobject-introspection must be built with gcc as
5941N/A# gobject-introspection does not produce correct results when using Studio.
5941N/ACOMPILER = gcc
5941N/ABUILD_BITS = 64_and_32
5941N/Ainclude ../../../make-rules/shared-macros.mk
5941N/A
5941N/ACOMPONENT_NAME= pango
5941N/ACOMPONENT_VERSION= 1.38.0
5941N/ACOMPONENT_PROJECT_URL= http://www.pango.org/
5941N/ACOMPONENT_ARCHIVE_HASH= \
5941N/A sha256:1d4e75974bad853ee9ac5fc5caee5e7ab235abbd945d51d01f3806e04e7c226c
5941N/ACOMPONENT_BUGDB= gnome/pango
5941N/A
5941N/ATPNO= 24871
5941N/A
6006N/A# Requires harfbuzz, which we cannot build on 11.3, so do not publish.
6006N/Aifeq ($(BUILD_TYPE), evaluation)
6006N/ABUILD_32_and_64=
6006N/AINSTALL_32_and_64=
6006N/APUBLISH_STAMP=
6006N/Aendif
6006N/A
5941N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
5941N/A
5941N/ACONFIGURE_OPTIONS += --enable-gtk-doc
5941N/A# Required for other components.
5941N/ACONFIGURE_OPTIONS += --enable-introspection
5941N/A
5941N/A# Workaround for build failures due to pango Makefiles not passing CFLAGS or
5941N/A# LDFLAGS, especially the -m32/64 flag, to g-ir-scanner
5941N/ACOMPONENT_BUILD_ENV += CFLAGS="$(strip $(CFLAGS))"
5941N/ACOMPONENT_BUILD_ENV += LDFLAGS="$(strip $(LDFLAGS))"
5941N/A
5941N/A# Needed for "gmake test" to work successfully.
5941N/Aunexport SHELLOPTS
5941N/ACOMPONENT_TEST_ARGS += -k
5941N/A
5941N/A# Standard automake test framework results transform
5941N/ACOMPONENT_TEST_TRANSFORMS += \
5941N/A '-n ' \
5941N/A '-e "/TOTAL/p" ' \
5941N/A '-e "/SKIP/p" ' \
5941N/A '-e "/PASS/p" ' \
5941N/A '-e "/FAIL/p" ' \
5941N/A '-e "/ERROR/p" '
5941N/A
5941N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
5941N/A
5941N/AREQUIRED_PACKAGES += library/desktop/cairo
5941N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
5941N/AREQUIRED_PACKAGES += library/desktop/harfbuzz
5941N/AREQUIRED_PACKAGES += library/glib2
5941N/A# Needs fontconfig version >= 2.10.91
5941N/AREQUIRED_PACKAGES += system/library/fontconfig
5941N/AREQUIRED_PACKAGES += system/library/freetype-2
5941N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
5941N/AREQUIRED_PACKAGES += system/library/math
5941N/AREQUIRED_PACKAGES += x11/library/libxft
5941N/AREQUIRED_PACKAGES += x11/library/libx11
5941N/AREQUIRED_PACKAGES += x11/library/libxrender
5941N/AREQUIRED_PACKAGES += x11/server/xorg