6112N/A#
6112N/A# CDDL HEADER START
6112N/A#
6112N/A# The contents of this file are subject to the terms of the
6112N/A# Common Development and Distribution License (the "License").
6112N/A# You may not use this file except in compliance with the License.
6112N/A#
6112N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6112N/A# or http://www.opensolaris.org/os/licensing.
6112N/A# See the License for the specific language governing permissions
6112N/A# and limitations under the License.
6112N/A#
6112N/A# When distributing Covered Code, include this CDDL HEADER in each
6112N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6112N/A# If applicable, add the following below this CDDL HEADER, with the
6112N/A# fields enclosed by brackets "[]" replaced with your own identifying
6112N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6112N/A#
6112N/A# CDDL HEADER END
6112N/A#
6112N/A
6112N/A#
6112N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6112N/A#
6112N/A
6112N/ABUILD_BITS = 32_and_64
6112N/A# All components using gobject-introspection must be built with gcc as
6112N/A# gobject-introspection does not produce correct results when using Studio.
6112N/ACOMPILER=gcc
6112N/Ainclude ../../../../make-rules/shared-macros.mk
6112N/A
6112N/A# gstreamer has an ancient 0.10 version supported by many applications and the
6112N/A# newest version which has no backwards API compatibility and we likely need to
6112N/A# ship both, hence the odd name.
6112N/ACOMPONENT_NAME= gstreamer
6112N/ACOMPONENT_VERSION= 1.4.5
6112N/ACOMPONENT_PROJECT_URL= http://gstreamer.freedesktop.org/
6112N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6112N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
6112N/ACOMPONENT_ARCHIVE_HASH= \
6112N/A sha256:40801aa7f979024526258a0e94707ba42b8ab6f7d2206e56adbc4433155cb0ae
6112N/ACOMPONENT_ARCHIVE_URL= http://gstreamer.freedesktop.org/src/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
6112N/ACOMPONENT_BUGDB= gnome/multimedia
6112N/A
6112N/ATPNO= 25634
6112N/A
6136N/A# Needs gobject-introspection, not available on S11.
6136N/Aifeq ($(BUILD_TYPE), evaluation)
6136N/ABUILD_32_and_64=
6136N/AINSTALL_32_and_64=
6136N/APUBLISH_STAMP=
6136N/Aendif
6136N/A
6112N/A# Supports Python 2.x only.
6112N/APYTHON_VERSIONS= 2.7
6112N/A
6112N/A# The results-all.master check passes on jagrafess but fails on slitheen
6112N/A# Disabling for now
6112N/ATEST_TARGET= $(SKIP_TEST)
6112N/A
6112N/Ainclude $(WS_MAKE_RULES)/common.mk
6112N/A
6112N/ACONFIGURE_OPTIONS += --disable-static
6112N/A# Build documentation (man pages).
6112N/ACONFIGURE_OPTIONS += --enable-docbook
6112N/A# Required for other components.
6112N/ACONFIGURE_OPTIONS += --enable-introspection
6112N/ACONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
6112N/A
6112N/A# The build process modifies the shebang line to use the version of Python
6112N/A# automatically found; to avoid using the current system default, one is
6112N/A# explicitly specified here.
6112N/ACONFIGURE_ENV += PYTHON="$(PYTHON.2.7)"
6112N/A
6112N/A# Required due to patches.
6112N/ACOMPONENT_PREP_ACTION += ( cd $(@D) ; NOCONFIGURE=1 $(CONFIG_SHELL) autogen.sh );
6112N/A
6112N/A# for the tests
6112N/Aunexport SHELLOPTS
6112N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
6112N/ACOMPONENT_TEST_ARGS = -k -i
6112N/ACOMPONENT_TEST_TRANSFORMS += \
6112N/A '-n ' \
6112N/A '-e "/TOTAL:/p" ' \
6112N/A '-e "/SKIP:/p" ' \
6112N/A '-e "/PASS:/p" ' \
6112N/A '-e "/FAIL:/p" ' \
6112N/A '-e "/ERROR:/p" '
6112N/A
6112N/AREQUIRED_PACKAGES += data/docbook/docbook-dtds
6112N/AREQUIRED_PACKAGES += data/docbook/docbook-style-dsssl
6112N/AREQUIRED_PACKAGES += data/docbook/docbook-style-xsl
6112N/AREQUIRED_PACKAGES += library/glib2
6112N/AREQUIRED_PACKAGES += library/libxslt
6112N/AREQUIRED_PACKAGES += runtime/python-27
6112N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
6112N/AREQUIRED_PACKAGES += system/library/math