6642N/A#
6642N/A# CDDL HEADER START
6642N/A#
6642N/A# The contents of this file are subject to the terms of the
6642N/A# Common Development and Distribution License (the "License").
6642N/A# You may not use this file except in compliance with the License.
6642N/A#
6642N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6642N/A# or http://www.opensolaris.org/os/licensing.
6642N/A# See the License for the specific language governing permissions
6642N/A# and limitations under the License.
6642N/A#
6642N/A# When distributing Covered Code, include this CDDL HEADER in each
6642N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6642N/A# If applicable, add the following below this CDDL HEADER, with the
6642N/A# fields enclosed by brackets "[]" replaced with your own identifying
6642N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6642N/A#
6642N/A# CDDL HEADER END
6642N/A#
6642N/A
6642N/A#
6642N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
6642N/A#
6642N/A
6642N/ABUILD_BITS = 32_and_64
6642N/A# All components using gobject-introspection must be built with gcc as
6642N/A# gobject-introspection does not produce correct results when using Studio.
6642N/ACOMPILER = gcc
6642N/Ainclude ../../../../make-rules/shared-macros.mk
6642N/A
6642N/ACOMPONENT_NAME= gst-python
6642N/ACOMPONENT_VERSION= 1.4.0
6642N/ACOMPONENT_PROJECT_URL= http://gstreamer.freedesktop.org/
6642N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
6642N/ACOMPONENT_ARCHIVE_HASH= \
6642N/A sha256:b1e40c29ceb41b03f08d38aca6056054f0341d0706276326dceeec6ac8d53d3e
6642N/ACOMPONENT_ARCHIVE_URL= http://gstreamer.freedesktop.org/src/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
6642N/ACOMPONENT_BUGDB= gnome/multimedia
6642N/A
6642N/ATPNO= 24910
6642N/A
6642N/A# Requires pygobject-3 which is currently only built for Python 2.7
6642N/APYTHON_VERSIONS= 2.7
6642N/A
6642N/A# Needs gobject-introspection, not available on S11.
6642N/Aifeq ($(BUILD_TYPE), evaluation)
6642N/ABUILD_32_and_64=
6642N/AINSTALL_32_and_64=
6642N/APUBLISH_STAMP=
6642N/Aendif
6642N/A
6642N/Ainclude $(WS_MAKE_RULES)/common.mk
6642N/A
6642N/ACONFIGURE_OPTIONS += --disable-static
6642N/A
6642N/A# The build process modifies the shebang line to use the version of Python
6642N/A# automatically found; to avoid using the current system default, one is
6642N/A# explicitly specified here.
6642N/ACONFIGURE_ENV += PYTHON=$(PYTHON)
6642N/A
6642N/A# Ensure Python modules are installed into vendor package directories.
6642N/ACONFIGURE_ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES)
6642N/ACONFIGURE_ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES)
6642N/A
6642N/ACONFIGURE_OPTIONS.64 += --with-pygi-overrides-dir=$(PYTHON_VENDOR_PACKAGES.32)/gi/overrides/64
6642N/A
6642N/A# for the tests
6642N/Aunexport SHELLOPTS
6642N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
6642N/A
6642N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1
6642N/AREQUIRED_PACKAGES += library/glib2
6642N/AREQUIRED_PACKAGES += library/python/pygobject-3-27
6642N/AREQUIRED_PACKAGES += runtime/python-27