6193N/A#
6193N/A# CDDL HEADER START
6193N/A#
6193N/A# The contents of this file are subject to the terms of the
6193N/A# Common Development and Distribution License (the "License").
6193N/A# You may not use this file except in compliance with the License.
6193N/A#
6193N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6193N/A# or http://www.opensolaris.org/os/licensing.
6193N/A# See the License for the specific language governing permissions
6193N/A# and limitations under the License.
6193N/A#
6193N/A# When distributing Covered Code, include this CDDL HEADER in each
6193N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6193N/A# If applicable, add the following below this CDDL HEADER, with the
6193N/A# fields enclosed by brackets "[]" replaced with your own identifying
6193N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6193N/A#
6193N/A# CDDL HEADER END
6193N/A#
6193N/A
6193N/A#
6193N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6193N/A#
6193N/A
6193N/ABUILD_BITS = 32_and_64
6193N/A# All components using gobject-introspection must be built with gcc as
6193N/A# gobject-introspection does not produce correct results when using Studio.
6193N/ACOMPILER = gcc
6193N/Ainclude ../../../../make-rules/shared-macros.mk
6193N/A
6193N/ACOMPONENT_NAME= gst-plugins-base
6193N/ACOMPONENT_VERSION= 1.4.5
6193N/ACOMPONENT_PROJECT_URL= http://gstreamer.freedesktop.org/
6193N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
6193N/ACOMPONENT_ARCHIVE_HASH= \
6193N/A sha256:77bd8199e7a312d3d71de9b7ddf761a3b78560a2c2a80829d0815ca39cbd551d
6193N/ACOMPONENT_ARCHIVE_URL= http://gstreamer.freedesktop.org/src/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
6193N/ACOMPONENT_BUGDB= gnome/multimedia
6193N/A
6193N/ATPNO= 25636
6193N/A
6193N/A# Only build for 2.7 for now as we need 32-bit and 64-bit support; all of the
6193N/A# GNOME and desktop components must be built for Python 2.7 for now.
6193N/APYTHON_VERSIONS= 2.7
6193N/A
6193N/A# The results-all.master check passes on jagrafess but fails on slitheen
6193N/A# Disabling for now
6193N/ATEST_TARGET= $(SKIP_TEST)
6193N/A
6193N/A# Needs gobject-introspection, not available on S11.
6193N/Aifeq ($(BUILD_TYPE), evaluation)
6193N/ABUILD_32_and_64=
6193N/AINSTALL_32_and_64=
6193N/APUBLISH_STAMP=
6193N/Aendif
6193N/A
6193N/Ainclude $(WS_MAKE_RULES)/common.mk
6193N/A
6193N/ACFLAGS += -DHAVE_FIONREAD_IN_SYS_FILIO
6193N/A
6193N/ACONFIGURE_OPTIONS += --disable-static
6193N/ACONFIGURE_OPTIONS += --enable-ogg
6193N/ACONFIGURE_OPTIONS += --enable-theora
6193N/ACONFIGURE_OPTIONS += --enable-vorbis
6193N/ACONFIGURE_OPTIONS += --with-x
6193N/A
6193N/A# The build process modifies the shebang line to use the version of Python
6193N/A# automatically found; to avoid using the current system default, one is
6193N/A# explicitly specified here.
6193N/ACONFIGURE_ENV += PYTHON="$(PYTHON.2.7)"
6193N/A
6193N/A# Ensure Python modules are installed into vendor package directories.
6193N/ACONFIGURE_ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES)
6193N/ACONFIGURE_ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES)
6193N/A
6193N/A# Required due to patches.
6193N/ACOMPONENT_PREP_ACTION += ( cd $(@D) ; NOCONFIGURE=1 $(CONFIG_SHELL) autogen.sh );
6193N/A
6193N/A# for the tests
6193N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
6193N/ACOMPONENT_TEST_ARGS = -k -i
6193N/ACOMPONENT_TEST_TRANSFORMS += \
6193N/A '-n ' \
6193N/A '-e "/TOTAL:/p" ' \
6193N/A '-e "/SKIP:/p" ' \
6193N/A '-e "/PASS:/p" ' \
6193N/A '-e "/FAIL:/p" ' \
6193N/A '-e "/ERROR:/p" '
6193N/A
6738N/AREQUIRED_PACKAGES += codec/libogg
6193N/AREQUIRED_PACKAGES += codec/libtheora
6738N/AREQUIRED_PACKAGES += codec/libvorbis
6193N/AREQUIRED_PACKAGES += codec/ogg-vorbis
6193N/AREQUIRED_PACKAGES += library/desktop/cairo
6193N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
6193N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1
6193N/AREQUIRED_PACKAGES += library/desktop/libvisual
6193N/AREQUIRED_PACKAGES += library/desktop/orc
6193N/AREQUIRED_PACKAGES += library/desktop/pango
6193N/AREQUIRED_PACKAGES += library/glib2
6193N/AREQUIRED_PACKAGES += library/zlib
6193N/AREQUIRED_PACKAGES += runtime/python-27
6193N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
6193N/AREQUIRED_PACKAGES += system/library/math
6193N/AREQUIRED_PACKAGES += x11/library/libx11
6193N/AREQUIRED_PACKAGES += x11/library/libxext
6193N/AREQUIRED_PACKAGES += x11/library/libxv