6194N/A#
6194N/A# CDDL HEADER START
6194N/A#
6194N/A# The contents of this file are subject to the terms of the
6194N/A# Common Development and Distribution License (the "License").
6194N/A# You may not use this file except in compliance with the License.
6194N/A#
6194N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6194N/A# or http://www.opensolaris.org/os/licensing.
6194N/A# See the License for the specific language governing permissions
6194N/A# and limitations under the License.
6194N/A#
6194N/A# When distributing Covered Code, include this CDDL HEADER in each
6194N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6194N/A# If applicable, add the following below this CDDL HEADER, with the
6194N/A# fields enclosed by brackets "[]" replaced with your own identifying
6194N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6194N/A#
6194N/A# CDDL HEADER END
6194N/A#
6194N/A
6194N/A#
6194N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6194N/A#
6194N/A
6194N/ABUILD_BITS = 32_and_64
6194N/A# All components using gobject-introspection must be built with gcc as
6194N/A# gobject-introspection does not produce correct results when using Studio.
6194N/ACOMPILER = gcc
6194N/Ainclude ../../../../make-rules/shared-macros.mk
6194N/A
6194N/ACOMPONENT_NAME= gst-plugins-good
6194N/ACOMPONENT_VERSION= 1.4.5
6194N/ACOMPONENT_PROJECT_URL= http://gstreamer.freedesktop.org/
6194N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
6194N/ACOMPONENT_ARCHIVE_HASH= \
6194N/A sha256:79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641
6194N/ACOMPONENT_ARCHIVE_URL= http://gstreamer.freedesktop.org/src/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
6194N/ACOMPONENT_BUGDB= gnome/multimedia
6194N/A
6194N/ATPNO= 25637
6194N/A
6194N/A# Hook up tests after build servers are installed with dependencies
6194N/ATEST_TARGET= $(SKIP_TEST)
6194N/A
6194N/A# Only build for 2.7 for now as we need 32-bit and 64-bit support; all of the
6194N/A# GNOME and desktop components must be built for Python 2.7 for now.
6194N/APYTHON_VERSIONS= 2.7
6194N/A
6194N/A# Needs gobject-introspection, not available on S11.
7291N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
6194N/A
6194N/Ainclude $(WS_MAKE_RULES)/common.mk
6194N/A
6194N/ACXXFLAGS += -std=c++11
6194N/A
6194N/A# configure script uses AC_CHECK_PROG erroneously; AC_CHECK_PROG looks for a
6194N/A# program in $PATH by default, and fails even if you provide an absolute path
6194N/A# to the command (no idea why); override the failed check.
6194N/ACONFIGURE_ENV += ac_cv_prog_HAVE_CXX=yes
6194N/A
6194N/A# No need for firewire support.
6194N/ACONFIGURE_OPTIONS += --disable-dv1394
6194N/A# Linux only; requires ALSA.
6194N/ACONFIGURE_OPTIONS += --disable-monoscope
6194N/ACONFIGURE_OPTIONS += --disable-static
6194N/A# sunaudio no longer builds; interfaces used in gstreamer are gone (mixer.h).
6194N/ACONFIGURE_OPTIONS += --disable-sunaudio
6194N/ACONFIGURE_OPTIONS += --enable-bz2
6194N/ACONFIGURE_OPTIONS += --enable-cairo
6194N/ACONFIGURE_OPTIONS += --enable-jpeg
6194N/ACONFIGURE_OPTIONS += --enable-libpng
6194N/ACONFIGURE_OPTIONS += --enable-oss
6194N/ACONFIGURE_OPTIONS += --enable-oss4
6194N/ACONFIGURE_OPTIONS += --enable-pulse
6194N/ACONFIGURE_OPTIONS += --enable-soup
6194N/ACONFIGURE_OPTIONS += --enable-speex
6194N/ACONFIGURE_OPTIONS += --enable-taglib
6194N/ACONFIGURE_OPTIONS += --enable-vpx
6194N/ACONFIGURE_OPTIONS += --enable-x
6194N/ACONFIGURE_OPTIONS += --enable-xshm
6194N/ACONFIGURE_OPTIONS += --enable-zlib
6194N/ACONFIGURE_OPTIONS += --with-x
6194N/A
6194N/A# Ensure system-default python is not used.
6194N/ACONFIGURE_ENV += PYTHON="$(PYTHON.2.7)"
6194N/A
6194N/A# Ensure Python modules are installed into vendor package directories.
6194N/ACONFIGURE_ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES)
6194N/ACONFIGURE_ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES)
6194N/A
6194N/A# Required due to patches.
6194N/ACOMPONENT_PREP_ACTION += ( cd $(@D) ; NOCONFIGURE=1 $(CONFIG_SHELL) autogen.sh );
6194N/A
6194N/AREQUIRED_PACKAGES += codec/flac
6738N/AREQUIRED_PACKAGES += codec/libogg
6194N/AREQUIRED_PACKAGES += codec/libtheora
6738N/AREQUIRED_PACKAGES += codec/libvorbis
6194N/AREQUIRED_PACKAGES += codec/libvpx
6194N/AREQUIRED_PACKAGES += codec/ogg-vorbis
6194N/AREQUIRED_PACKAGES += codec/speex
6194N/AREQUIRED_PACKAGES += image/library/libjpeg
6194N/AREQUIRED_PACKAGES += image/library/libpng
6194N/AREQUIRED_PACKAGES += library/aalib
6194N/AREQUIRED_PACKAGES += library/audio/pulseaudio
6194N/AREQUIRED_PACKAGES += library/audio/taglib
6194N/AREQUIRED_PACKAGES += library/desktop/cairo
6194N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
6194N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
6194N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1
6194N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1/gst-plugins-base
6194N/AREQUIRED_PACKAGES += library/desktop/libvisual
6194N/AREQUIRED_PACKAGES += library/desktop/orc
6194N/AREQUIRED_PACKAGES += library/desktop/pango
6194N/AREQUIRED_PACKAGES += library/glib2
6194N/AREQUIRED_PACKAGES += library/libsoup
6194N/AREQUIRED_PACKAGES += library/zlib
6194N/AREQUIRED_PACKAGES += runtime/python-27
6194N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
6194N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
6194N/AREQUIRED_PACKAGES += system/library/math
6194N/AREQUIRED_PACKAGES += x11/library/libx11
6194N/AREQUIRED_PACKAGES += x11/library/libxdamage
6194N/AREQUIRED_PACKAGES += x11/library/libxext
6194N/AREQUIRED_PACKAGES += x11/library/libxfixes
6194N/AREQUIRED_PACKAGES += x11/library/libxv