6323N/A#
6323N/A# CDDL HEADER START
6323N/A#
6323N/A# The contents of this file are subject to the terms of the
6323N/A# Common Development and Distribution License (the "License").
6323N/A# You may not use this file except in compliance with the License.
6323N/A#
6323N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6323N/A# or http://www.opensolaris.org/os/licensing.
6323N/A# See the License for the specific language governing permissions
6323N/A# and limitations under the License.
6323N/A#
6323N/A# When distributing Covered Code, include this CDDL HEADER in each
6323N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6323N/A# If applicable, add the following below this CDDL HEADER, with the
6323N/A# fields enclosed by brackets "[]" replaced with your own identifying
6323N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6323N/A#
6323N/A# CDDL HEADER END
6323N/A#
6323N/A
6323N/A#
6323N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
6323N/A#
6323N/A
6323N/A# gobject-introspection bindings are only built correctly for gtk when building
6323N/A# with gcc, this would otherwise build with Studio.
6323N/ACOMPILER = gcc
6323N/ABUILD_BITS = 32_and_64
6323N/Ainclude ../../../make-rules/shared-macros.mk
6323N/A
6323N/ACOMPONENT_NAME= pygtk
6323N/ACOMPONENT_VERSION= 2.24.0
6323N/ACOMPONENT_PROJECT_URL= http://www.pygtk.org/
6323N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
6323N/ACOMPONENT_ARCHIVE_HASH= \
6323N/A sha256:cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912
6323N/ACOMPONENT_BUGDB= gnome/libraries
6323N/A
6323N/ATPNO= 19936
6323N/A
6323N/A# Only build for 2.7 as pygobject-3 will replace pygtk for python 3.x
6323N/APYTHON_VERSIONS= 2.7
6323N/A
6323N/A# Tests do not yet work with Userland framework - 23712629
6323N/ATEST_TARGET= $(SKIP_TEST)
6323N/A
6373N/A# Needs newer version of gtk2, not available on S11.
6373N/Aifeq ($(BUILD_TYPE), evaluation)
6373N/ABUILD_32_and_64=
6373N/AINSTALL_32_and_64=
6373N/APUBLISH_STAMP=
6373N/Aendif
6373N/A
6323N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6323N/A
6323N/A# Required due to patch to configure.ac.
6323N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv -I m4);
6323N/A
6323N/ACONFIGURE_OPTIONS += --disable-static
6323N/ACONFIGURE_OPTIONS += PYTHON=$(PYTHON)
6323N/A
6323N/A# Ensure Python modules are installed into vendor package directories.
6323N/ACONFIGURE_ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES)
6572N/ACONFIGURE_ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES.32)
6572N/A
6572N/APYTHON_ARCH_SUBDIR.32 =
6572N/APYTHON_ARCH_SUBDIR.64 = /64
6572N/APYTHON_ARCH_SUBDIR = $(PYTHON_ARCH_SUBDIR.$(BITS))
6572N/ACOMPONENT_BUILD_ARGS += pyexecsubdir=$(PYTHON_ARCH_SUBDIR)
6572N/ACOMPONENT_INSTALL_ARGS += pyexecsubdir=$(PYTHON_ARCH_SUBDIR)
6323N/A
6323N/AREQUIRED_PACKAGES += library/desktop/atk
6323N/AREQUIRED_PACKAGES += library/desktop/cairo
6323N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
6323N/AREQUIRED_PACKAGES += library/desktop/gtk2
6323N/AREQUIRED_PACKAGES += library/desktop/libglade
6323N/AREQUIRED_PACKAGES += library/desktop/pango
6323N/AREQUIRED_PACKAGES += library/glib2
6323N/AREQUIRED_PACKAGES += library/python/python-extra-27
6323N/AREQUIRED_PACKAGES += runtime/python-27
6323N/A
6323N/A