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