1620N/A#
1620N/A# CDDL HEADER START
1620N/A#
1620N/A# The contents of this file are subject to the terms of the
1620N/A# Common Development and Distribution License (the "License").
1620N/A# You may not use this file except in compliance with the License.
1620N/A#
1620N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1620N/A# or http://www.opensolaris.org/os/licensing.
1620N/A# See the License for the specific language governing permissions
1620N/A# and limitations under the License.
1620N/A#
1620N/A# When distributing Covered Code, include this CDDL HEADER in each
1620N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1620N/A# If applicable, add the following below this CDDL HEADER, with the
1620N/A# fields enclosed by brackets "[]" replaced with your own identifying
1620N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1620N/A#
1620N/A# CDDL HEADER END
1620N/A#
1620N/A
1620N/A#
1620N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
1620N/A#
1620N/A
1620N/ABUILD_BITS= 32_and_64
1620N/ACOMPILER= gcc
1620N/Ainclude ../../../make-rules/shared-macros.mk
1620N/A
1620N/ACOMPONENT_NAME= gtk-engines
1620N/ACOMPONENT_VERSION= 2.20.2
1620N/ACOMPONENT_PROJECT_URL= http://www.gtk.org/
1620N/ACOMPONENT_ARCHIVE= gtk-engines-2.20.2.tar.bz2
1620N/ACOMPONENT_ARCHIVE_HASH= \
1620N/A sha256:15b680abca6c773ecb85253521fa100dd3b8549befeecc7595b10209d62d66b5
1620N/ACOMPONENT_BUGDB= gnome/libraries
1620N/A
1620N/ATPNO= 8678
1620N/A
1620N/A# Requires updated version of gtk2, not available on S11.
1620N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
1620N/A
1620N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
1620N/A
1620N/A# 32-bit gcc builds cause segfaults; see bug 21393975.
1620N/Agcc_OPT.i386.32 = -O2
1620N/A
1620N/ACONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
1620N/ACOMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
1620N/A
1620N/ACOMPONENT_BUILD_ENV += LD_SHARED_OPTIONS="$(LD_OPTIONS_SO) -lm"
1620N/A
1620N/ACONFIGURE_OPTIONS += --disable-lua
1620N/ACONFIGURE_OPTIONS += --disable-static
1620N/ACONFIGURE_OPTIONS += --enable-all
1620N/ACONFIGURE_OPTIONS += --enable-animation
1620N/A# --disable-deprecated actually disables the -D *_DISABLE_DEPRECATED flags
1620N/A# that hide deprecated functions in the headers, thus enabling the engines
1620N/A# to build properly
1620N/ACONFIGURE_OPTIONS += --disable-deprecated
1620N/ACONFIGURE_OPTIONS += --enable-shared
1620N/ACONFIGURE_OPTIONS += --with-pic
1620N/A
1620N/Aunexport SHELLOPTS
1620N/ACOMPONENT_TEST_TRANSFORMS += '-e "s|$(PROTO_DIR)|\\$$(PROTO_DIR)|g"'
1620N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
1620N/ACOMPONENT_TEST_ARGS = -k -i
1620N/ACOMPONENT_TEST_TRANSFORMS += \
1620N/A '-n ' \
1620N/A '-e "/TOTAL:/p" ' \
1620N/A '-e "/SKIP:/p" ' \
1620N/A '-e "/PASS:/p" ' \
1620N/A '-e "/FAIL:/p" ' \
1620N/A '-e "/ERROR:/p" '
1620N/A
1620N/AREQUIRED_PACKAGES += library/desktop/cairo
1620N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
1620N/AREQUIRED_PACKAGES += library/desktop/gtk2
1620N/AREQUIRED_PACKAGES += library/glib2
1620N/AREQUIRED_PACKAGES += system/library/math
1630N/A