6384N/A#
6384N/A# CDDL HEADER START
6384N/A#
6384N/A# The contents of this file are subject to the terms of the
6384N/A# Common Development and Distribution License (the "License").
6384N/A# You may not use this file except in compliance with the License.
6384N/A#
6384N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6384N/A# or http://www.opensolaris.org/os/licensing.
6384N/A# See the License for the specific language governing permissions
6384N/A# and limitations under the License.
6384N/A#
6384N/A# When distributing Covered Code, include this CDDL HEADER in each
6384N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6384N/A# If applicable, add the following below this CDDL HEADER, with the
6384N/A# fields enclosed by brackets "[]" replaced with your own identifying
6384N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6384N/A#
6384N/A# CDDL HEADER END
6384N/A#
6384N/A
6384N/A#
6384N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6384N/A#
6384N/A
6384N/ABUILD_BITS = 64_and_32
6384N/A# All components using gobject-introspection must be built with gcc as
6384N/A# gobject-introspection does not produce correct results when using Studio.
6384N/ACOMPILER = gcc
6384N/Ainclude ../../../make-rules/shared-macros.mk
6384N/A
6384N/ACOMPONENT_NAME= gjs
6384N/ACOMPONENT_VERSION= 1.43.3
6384N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/Gjs
6384N/ACOMPONENT_ARCHIVE_HASH= \
6384N/A sha256:82b54dd4590ea1622d19b2e27978bcb9c2c5b46922e1e1780ea79b6a28aa1c4e
6384N/ACOMPONENT_BUGDB= gnome/libraries
6384N/A
6384N/ATPNO= 25284
6384N/A
6384N/A# Tests do not work in Solaris yet
6384N/ATEST_TARGET = $(SKIP_TEST)
6384N/A
6384N/A# Needs updated glib2, not available on S11.
6384N/Aifeq ($(BUILD_TYPE), evaluation)
6384N/ABUILD_32_and_64=
6384N/AINSTALL_32_and_64=
6384N/APUBLISH_STAMP=
6384N/Aendif
6384N/A
6384N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6384N/A
6384N/ACXXFLAGS += -std=c++11
6384N/A
6384N/ACONFIGURE_OPTIONS += --disable-static
6384N/ACONFIGURE_OPTIONS += --enable-shared
6384N/ACONFIGURE_OPTIONS += --with-cairo
6384N/ACONFIGURE_OPTIONS += --with-gtk
6384N/ACONFIGURE_OPTIONS += --with-pic
6384N/A
7151N/A# Workaround the mozjs issue described in 24935318
7151N/ACOMPONENT_BUILD_ENV.64 += LD_OPTIONS="$(LD_OPTIONS) -M$(PWD)/mapfile"
7151N/A
6384N/A# Required due to patches.
6384N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
6384N/A
6384N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
6384N/AREQUIRED_PACKAGES += library/desktop/cairo
6384N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
6384N/AREQUIRED_PACKAGES += library/desktop/gtk3
6384N/AREQUIRED_PACKAGES += library/glib2
6384N/AREQUIRED_PACKAGES += library/libffi
6384N/AREQUIRED_PACKAGES += library/libmozjs-24
6384N/AREQUIRED_PACKAGES += library/ncurses
6384N/AREQUIRED_PACKAGES += library/readline
6384N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
6384N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
6384N/AREQUIRED_PACKAGES += x11/library/libx11