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