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