6333N/A#
6333N/A# CDDL HEADER START
6333N/A#
6333N/A# The contents of this file are subject to the terms of the
6333N/A# Common Development and Distribution License (the "License").
6333N/A# You may not use this file except in compliance with the License.
6333N/A#
6333N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6333N/A# or http://www.opensolaris.org/os/licensing.
6333N/A# See the License for the specific language governing permissions
6333N/A# and limitations under the License.
6333N/A#
6333N/A# When distributing Covered Code, include this CDDL HEADER in each
6333N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6333N/A# If applicable, add the following below this CDDL HEADER, with the
6333N/A# fields enclosed by brackets "[]" replaced with your own identifying
6333N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6333N/A#
6333N/A# CDDL HEADER END
6333N/A#
6333N/A
6333N/A#
6333N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6333N/A#
6333N/A
6333N/ABUILD_BITS = 64_and_32
6333N/A# All components using gobject-introspection must be built with gcc as
6333N/A# gobject-introspection does not produce correct results when using Studio.
6333N/ACOMPILER = gcc
6333N/Ainclude ../../../make-rules/shared-macros.mk
6333N/A
6333N/ACOMPONENT_NAME= libpeas
6333N/ACOMPONENT_VERSION= 1.16.0
6333N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/Libpeas
6333N/ACOMPONENT_ARCHIVE_HASH= \
6333N/A sha256:b093008ecd65f7d55c80517589509698ff15ad41f664b11a3eb88ff461b1454e
6333N/ACOMPONENT_BUGDB= gnome/libraries
6333N/A
6333N/ATPNO= 25272
6333N/A
6333N/A# Needs pygobject3, not available on S11.
7291N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
6333N/A
6333N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6333N/A
6333N/A# Only build Python 2.7 support; most of GNOME still uses Python 2.x. Building
6333N/A# both would lead to the possibility of both Python runtimes being loaded into
6333N/A# the same process space (not a good idea).
6333N/APYTHON_VERSIONS=2.7
6333N/A
6333N/ACONFIGURE_ENV.32 += PYTHON=$(PYTHON.2.7.32)
6333N/ACONFIGURE_ENV.64 += PYTHON=$(PYTHON.2.7.64)
6333N/A
6333N/ACONFIGURE_OPTIONS += --disable-static
6333N/ACONFIGURE_OPTIONS += --enable-gtk
6333N/ACONFIGURE_OPTIONS += --enable-lua5.2
6333N/ACONFIGURE_OPTIONS += --enable-python2
6333N/ACONFIGURE_OPTIONS += --disable-python3
6333N/ACONFIGURE_OPTIONS += --enable-shared
6333N/ACONFIGURE_OPTIONS += --with-pic
6333N/A
6333N/A# Assumes GNU xgettext in PATH
6333N/ACONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
6333N/A
6333N/A# Required due to patches.
6333N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
6333N/A
6333N/A# for the tests
6333N/Aunexport SHELLOPTS
6333N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
6333N/ACOMPONENT_TEST_ARGS = -k -i
6333N/A# Strip pids from test output, since they're always different
6333N/ACOMPONENT_TEST_TRANSFORMS += '-e "s% (pid=[0-9]*)%%"'
6333N/ACOMPONENT_TEST_TRANSFORMS += \
6333N/A '-n ' \
6333N/A '-e "/TEST:/p" ' \
6333N/A '-e "/PASS:/p" ' \
6333N/A '-e "/FAIL:/p" '
6333N/A
6333N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
6333N/AREQUIRED_PACKAGES += developer/documentation-tool/xmlto
6333N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
6333N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
6333N/AREQUIRED_PACKAGES += library/desktop/gtk3
6333N/AREQUIRED_PACKAGES += library/glib2
6377N/AREQUIRED_PACKAGES += library/lua/lgi-52
7291N/AREQUIRED_PACKAGES += library/python/pygobject-3
6333N/AREQUIRED_PACKAGES += runtime/lua
6333N/AREQUIRED_PACKAGES += runtime/python-27