Makefile revision 6006
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync#
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# CDDL HEADER START
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync#
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# The contents of this file are subject to the terms of the
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# Common Development and Distribution License (the "License").
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# You may not use this file except in compliance with the License.
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync#
7eaaa8a4480370b82ef3735994f986f338fb4df2vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# or http://www.opensolaris.org/os/licensing.
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# See the License for the specific language governing permissions
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# and limitations under the License.
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync#
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# When distributing Covered Code, include this CDDL HEADER in each
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# If applicable, add the following below this CDDL HEADER, with the
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync#
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# CDDL HEADER END
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync#
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync#
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
9040f019271f91b98e1320c0a8c38a42636e3979vboxsync#
9040f019271f91b98e1320c0a8c38a42636e3979vboxsync
9040f019271f91b98e1320c0a8c38a42636e3979vboxsync# All components using gobject-introspection must be built with gcc as
9040f019271f91b98e1320c0a8c38a42636e3979vboxsync# gobject-introspection does not produce correct results when using Studio.
9040f019271f91b98e1320c0a8c38a42636e3979vboxsyncCOMPILER = gcc
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncBUILD_BITS = 64_and_32
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncinclude ../../../make-rules/shared-macros.mk
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncCOMPONENT_NAME= pango
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncCOMPONENT_VERSION= 1.38.0
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncCOMPONENT_PROJECT_URL= http://www.pango.org/
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncCOMPONENT_ARCHIVE_HASH= \
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync sha256:1d4e75974bad853ee9ac5fc5caee5e7ab235abbd945d51d01f3806e04e7c226c
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncCOMPONENT_BUGDB= gnome/pango
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncTPNO= 24871
9040f019271f91b98e1320c0a8c38a42636e3979vboxsync
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# Requires harfbuzz, which we cannot build on 11.3, so do not publish.
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncifeq ($(BUILD_TYPE), evaluation)
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncBUILD_32_and_64=
9040f019271f91b98e1320c0a8c38a42636e3979vboxsyncINSTALL_32_and_64=
9040f019271f91b98e1320c0a8c38a42636e3979vboxsyncPUBLISH_STAMP=
9040f019271f91b98e1320c0a8c38a42636e3979vboxsyncendif
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncinclude $(WS_MAKE_RULES)/gnome-component.mk
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncCONFIGURE_OPTIONS += --enable-gtk-doc
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# Required for other components.
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncCONFIGURE_OPTIONS += --enable-introspection
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# Workaround for build failures due to pango Makefiles not passing CFLAGS or
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# LDFLAGS, especially the -m32/64 flag, to g-ir-scanner
9040f019271f91b98e1320c0a8c38a42636e3979vboxsyncCOMPONENT_BUILD_ENV += CFLAGS="$(strip $(CFLAGS))"
9040f019271f91b98e1320c0a8c38a42636e3979vboxsyncCOMPONENT_BUILD_ENV += LDFLAGS="$(strip $(LDFLAGS))"
9040f019271f91b98e1320c0a8c38a42636e3979vboxsync
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# Needed for "gmake test" to work successfully.
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncunexport SHELLOPTS
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncCOMPONENT_TEST_ARGS += -k
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# Standard automake test framework results transform
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncCOMPONENT_TEST_TRANSFORMS += \
99be02f9e15a3ca61b6a7c207cc7eb68dbd04817vboxsync '-n ' \
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync '-e "/TOTAL/p" ' \
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync '-e "/SKIP/p" ' \
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync '-e "/PASS/p" ' \
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync '-e "/FAIL/p" ' \
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync '-e "/ERROR/p" '
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncCOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncREQUIRED_PACKAGES += library/desktop/cairo
bbf3d430bae83177ab9ce3097f49d89cc873e7c0vboxsyncREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
bbf3d430bae83177ab9ce3097f49d89cc873e7c0vboxsyncREQUIRED_PACKAGES += library/desktop/harfbuzz
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncREQUIRED_PACKAGES += library/glib2
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync# Needs fontconfig version >= 2.10.91
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncREQUIRED_PACKAGES += system/library/fontconfig
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncREQUIRED_PACKAGES += system/library/freetype-2
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncREQUIRED_PACKAGES += system/library/math
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncREQUIRED_PACKAGES += x11/library/libxft
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncREQUIRED_PACKAGES += x11/library/libx11
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncREQUIRED_PACKAGES += x11/library/libxrender
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsyncREQUIRED_PACKAGES += x11/server/xorg
c1f5ec452b23d55c71e6f07628b84ac5e97cf551vboxsync