6199N/A#
6199N/A# CDDL HEADER START
6199N/A#
6199N/A# The contents of this file are subject to the terms of the
6199N/A# Common Development and Distribution License (the "License").
6199N/A# You may not use this file except in compliance with the License.
6199N/A#
6199N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6199N/A# or http://www.opensolaris.org/os/licensing.
6199N/A# See the License for the specific language governing permissions
6199N/A# and limitations under the License.
6199N/A#
6199N/A# When distributing Covered Code, include this CDDL HEADER in each
6199N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6199N/A# If applicable, add the following below this CDDL HEADER, with the
6199N/A# fields enclosed by brackets "[]" replaced with your own identifying
6199N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6199N/A#
6199N/A# CDDL HEADER END
6199N/A#
6199N/A
6199N/A#
6199N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6199N/A#
6199N/A
6199N/ABUILD_BITS = 32_and_64
6199N/ACOMPILER = gcc
6199N/Ainclude ../../../make-rules/shared-macros.mk
6199N/A
6199N/ACOMPONENT_NAME= pulseaudio
6199N/ACOMPONENT_VERSION= 6.0
6199N/ACOMPONENT_PROJECT_URL= http://freedesktop.org/software/pulseaudio
6199N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
6199N/ACOMPONENT_ARCHIVE_HASH= \
6199N/A sha256:b50640e0b80b1607600accfad2e45aabb79d379bf6354c9671efa2065477f6f6
6199N/ACOMPONENT_ARCHIVE_URL= http://freedesktop.org/software/$(COMPONENT_NAME)/releases/$(COMPONENT_ARCHIVE)
6199N/ACOMPONENT_BUGDB= gnome/multimedia
6199N/A
6199N/ATPNO= 25017
6199N/A
6199N/A# Only build for 2.7 for now as we need 32-bit and 64-bit support; all of the
6199N/A# GNOME and desktop components must be built for Python 2.7 for now.
6199N/APYTHON_VERSIONS= 2.7
6199N/A
6199N/A# Needs updated glib2, not available on S11.
6199N/Aifeq ($(BUILD_TYPE), evaluation)
6199N/ABUILD_32_and_64=
6199N/AINSTALL_32_and_64=
6199N/APUBLISH_STAMP=
6199N/Aendif
6199N/A
6199N/Ainclude $(WS_MAKE_RULES)/common.mk
6199N/A
6199N/A# Assumes GNU xgettext in PATH
6199N/ACONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
6199N/A
6199N/A# No one should be using esd anymore.
6199N/ACONFIGURE_OPTIONS += --disable-esound
6199N/ACONFIGURE_OPTIONS += --disable-force-preopen
6199N/A# Solaris has native OSS; don't use PulseAudio wrapper.
6199N/ACONFIGURE_OPTIONS += --disable-oss-wrapper
6199N/ACONFIGURE_OPTIONS += --disable-static
6199N/ACONFIGURE_OPTIONS += --enable-avahi
6199N/ACONFIGURE_OPTIONS += --enable-dbus
6199N/ACONFIGURE_OPTIONS += --disable-gconf
6199N/ACONFIGURE_OPTIONS += --enable-glib2
6199N/ACONFIGURE_OPTIONS += --enable-gtk3
6199N/ACONFIGURE_OPTIONS += --enable-hal-compat
6199N/ACONFIGURE_OPTIONS += --enable-ipv6
6199N/ACONFIGURE_OPTIONS += --enable-manpages
6199N/ACONFIGURE_OPTIONS += --enable-openssl
6199N/ACONFIGURE_OPTIONS += --enable-orc
6199N/ACONFIGURE_OPTIONS += --enable-oss-output
6199N/ACONFIGURE_OPTIONS += --enable-solaris
6199N/ACONFIGURE_OPTIONS += --with-database=gdbm
6199N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
6199N/ACONFIGURE_OPTIONS += --with-zsh-completion-dir=/usr/share/zsh/5.2/functions/Completion/Unix
6199N/A
6199N/A# To avoid using the current system default, one is explicitly specified here.
6199N/ACONFIGURE_ENV += PYTHON=$(PYTHON)
6199N/A
6199N/A# Required due to patches; must use special bootstrap script and not standard
6199N/A# autoreconf due to use of both gettext and intltool in the same project! If
6199N/A# you use standard autoreconf, configure will fail.
6199N/ACOMPONENT_PREP_ACTION += ( cd $(@D) ; NOCONFIGURE=1 $(CONFIG_SHELL) bootstrap.sh );
6199N/A
6199N/Aunexport SHELLOPTS
6199N/ACOMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D));
6199N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH)-$(BITS).master
6199N/ACOMPONENT_TEST_ARGS = -k -i
6199N/ACOMPONENT_TEST_TRANSFORMS += \
6199N/A '-n ' \
6199N/A '-e "/TOTAL:/p" ' \
6199N/A '-e "/SKIP:/p" ' \
6199N/A '-e "/PASS:/p" ' \
6199N/A '-e "/FAIL:/p" ' \
6199N/A '-e "/ERROR:/p" '
6199N/A
6199N/A# qpaeq (equalizer gui) needs Qt4 and PyQt4 so is omitted from p5m for now.
6199N/AREQUIRED_PACKAGES += codec/speex
6199N/AREQUIRED_PACKAGES += library/database/gdbm
6199N/AREQUIRED_PACKAGES += library/desktop/orc
6199N/AREQUIRED_PACKAGES += library/fftw-3
6199N/AREQUIRED_PACKAGES += library/glib2
6199N/AREQUIRED_PACKAGES += library/json-c
6199N/AREQUIRED_PACKAGES += library/libsndfile
6199N/AREQUIRED_PACKAGES += library/pcre
6199N/AREQUIRED_PACKAGES += library/security/openssl
6199N/AREQUIRED_PACKAGES += runtime/python-27
6199N/AREQUIRED_PACKAGES += system/library/math
6199N/AREQUIRED_PACKAGES += system/network/avahi
6199N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
6199N/AREQUIRED_PACKAGES += system/library/libdbus
6199N/AREQUIRED_PACKAGES += x11/library/libice
6199N/AREQUIRED_PACKAGES += x11/library/libsm
6199N/AREQUIRED_PACKAGES += x11/library/libxcb
6199N/AREQUIRED_PACKAGES += x11/library/libx11
6199N/AREQUIRED_PACKAGES += x11/library/libxtst