6644N/A#
6644N/A# CDDL HEADER START
6644N/A#
6644N/A# The contents of this file are subject to the terms of the
6644N/A# Common Development and Distribution License (the "License").
6644N/A# You may not use this file except in compliance with the License.
6644N/A#
6644N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6644N/A# or http://www.opensolaris.org/os/licensing.
6644N/A# See the License for the specific language governing permissions
6644N/A# and limitations under the License.
6644N/A#
6644N/A# When distributing Covered Code, include this CDDL HEADER in each
6644N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6644N/A# If applicable, add the following below this CDDL HEADER, with the
6644N/A# fields enclosed by brackets "[]" replaced with your own identifying
6644N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6644N/A#
6644N/A# CDDL HEADER END
6644N/A#
6644N/A
6644N/A#
6644N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6644N/A#
6644N/A
6644N/ABUILD_BITS = 64
6644N/ACOMPILER = gcc
6644N/A
6644N/Ainclude ../../../make-rules/shared-macros.mk
6644N/A
6644N/ACOMPONENT_NAME= gnome-calculator
6644N/ACOMPONENT_VERSION= 3.18.2
6644N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Apps/Calculator
6644N/ACOMPONENT_ARCHIVE_HASH= \
6644N/A sha256:c86c5857409ce1d01896904e97ccf0a1a880f3dcf428a524e5c0fec27b274d64
6644N/A
6644N/ATPNO= 25268
6644N/A
6644N/A# Needs updated glib2, not available on S11.
6644N/Aifeq ($(BUILD_TYPE), evaluation)
6644N/ABUILD_64=
6644N/AINSTALL_64=
6644N/APUBLISH_STAMP=
6644N/Aendif
6644N/A
6644N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6644N/A
6644N/ACONFIGURE_OPTIONS += --disable-static
6644N/ACONFIGURE_OPTIONS += --enable-shared
6644N/A
6644N/A# Required due to patches.
6644N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
6644N/A
6644N/A# Assumes GNU msgfmt in PATH.
6644N/ACONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
6644N/ACOMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
6644N/A
6644N/Aunexport SHELLOPTS
6644N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
6644N/ACOMPONENT_TEST_ARGS = -k -i
6644N/ACOMPONENT_TEST_TRANSFORMS += \
6644N/A '-n ' \
6644N/A '-e "/TOTAL:/p" ' \
6644N/A '-e "/SKIP:/p" ' \
6644N/A '-e "/PASS:/p" ' \
6644N/A '-e "/FAIL:/p" ' \
6644N/A '-e "/ERROR:/p" '
6644N/A
6644N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
6644N/AREQUIRED_PACKAGES += developer/vala
6644N/AREQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
6644N/AREQUIRED_PACKAGES += library/desktop/atk
6644N/AREQUIRED_PACKAGES += library/desktop/gtk3
6644N/AREQUIRED_PACKAGES += library/desktop/gtksourceview3
6644N/AREQUIRED_PACKAGES += library/desktop/pango
6644N/AREQUIRED_PACKAGES += library/glib2
6644N/AREQUIRED_PACKAGES += library/gmp
6644N/AREQUIRED_PACKAGES += library/libxml2
6644N/A# We need a later version of mpfr which isn't in userland yet
6644N/A#REQUIRED_PACKAGES += library/mpfr
6644N/AREQUIRED_PACKAGES += system/library/math