6208N/A#
6208N/A# CDDL HEADER START
6208N/A#
6208N/A# The contents of this file are subject to the terms of the
6208N/A# Common Development and Distribution License (the "License").
6208N/A# You may not use this file except in compliance with the License.
6208N/A#
6208N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6208N/A# or http://www.opensolaris.org/os/licensing.
6208N/A# See the License for the specific language governing permissions
6208N/A# and limitations under the License.
6208N/A#
6208N/A# When distributing Covered Code, include this CDDL HEADER in each
6208N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6208N/A# If applicable, add the following below this CDDL HEADER, with the
6208N/A# fields enclosed by brackets "[]" replaced with your own identifying
6208N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6208N/A#
6208N/A# CDDL HEADER END
6208N/A#
6208N/A
6208N/A#
6208N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6208N/A#
6208N/A
6208N/ABUILD_BITS = 64_and_32
6208N/A# All components using gobject-introspection must be built with gcc as
6208N/A# gobject-introspection does not produce correct results when using Studio.
6208N/ACOMPILER = gcc
6208N/Ainclude ../../../make-rules/shared-macros.mk
6208N/A
6208N/ACOMPONENT_NAME= gom
6208N/ACOMPONENT_VERSION= 0.3.1
6208N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/Gom
6208N/ACOMPONENT_ARCHIVE_HASH= \
6208N/A sha256:7951eb46ee784cbdbee6e3f2da084ffbf776c11ca1c904404b05feafe37e38f5
6208N/ACOMPONENT_BUGDB= gnome/libraries
6208N/A
6208N/ATPNO= 25360
6208N/A
6208N/A# Needs updated glib2 and gobject-introspection, not available on S11.
6208N/Aifeq ($(BUILD_TYPE), evaluation)
6208N/ABUILD_32_and_64=
6208N/AINSTALL_32_and_64=
6208N/APUBLISH_STAMP=
6208N/Aendif
6208N/A
6208N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6208N/A
6208N/A# Assumes GNU xgettext in PATH.
6208N/ACONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
6208N/A
6208N/ACONFIGURE_OPTIONS += --disable-static
6208N/A# Required for other components.
6208N/ACONFIGURE_OPTIONS += --enable-introspection
6208N/ACONFIGURE_OPTIONS += --enable-shared
6208N/ACONFIGURE_OPTIONS += --with-pic
6208N/A
6208N/A# Required due to patches.
6208N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
6208N/A
6208N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
6208N/ACOMPONENT_TEST_ARGS = -k -i
6208N/ACOMPONENT_TEST_TRANSFORMS += \
6208N/A '-n ' \
6208N/A '-e "/TOTAL:/p" ' \
6208N/A '-e "/SKIP:/p" ' \
6208N/A '-e "/PASS:/p" ' \
6208N/A '-e "/FAIL:/p" ' \
6208N/A '-e "/ok/p" ' \
6208N/A '-e "/ERROR:/p" '
6208N/A
6208N/AREQUIRED_PACKAGES += database/sqlite-3
6208N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
6208N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
6208N/AREQUIRED_PACKAGES += library/glib2