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