6196N/A#
6196N/A# CDDL HEADER START
6196N/A#
6196N/A# The contents of this file are subject to the terms of the
6196N/A# Common Development and Distribution License (the "License").
6196N/A# You may not use this file except in compliance with the License.
6196N/A#
6196N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6196N/A# or http://www.opensolaris.org/os/licensing.
6196N/A# See the License for the specific language governing permissions
6196N/A# and limitations under the License.
6196N/A#
6196N/A# When distributing Covered Code, include this CDDL HEADER in each
6196N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6196N/A# If applicable, add the following below this CDDL HEADER, with the
6196N/A# fields enclosed by brackets "[]" replaced with your own identifying
6196N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6196N/A#
6196N/A# CDDL HEADER END
6196N/A#
6196N/A
6196N/A#
6196N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6196N/A#
6196N/A
6196N/ABUILD_BITS = 32_and_64
6196N/ACOMPILER = gcc
6196N/Ainclude ../../../make-rules/shared-macros.mk
6196N/A
6196N/ACOMPONENT_NAME= libcanberra
6196N/ACOMPONENT_VERSION= 0.30
6196N/ACOMPONENT_PROJECT_URL= http://0pointer.de/lennart/projects/libcanberra/
6196N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
6196N/ACOMPONENT_ARCHIVE_HASH= \
6196N/A sha256:c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72
6196N/ACOMPONENT_ARCHIVE_URL= http://0pointer.de/lennart/projects/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
6196N/ACOMPONENT_BUGDB= gnome/libraries
6196N/A
6196N/ATPNO= 24163
6196N/A
6196N/ATEST_TARGET= $(NO_TESTS)
6196N/A
6196N/A# Needs updated glib2, not available on S11.
6196N/Aifeq ($(BUILD_TYPE), evaluation)
6196N/ABUILD_32_and_64=
6196N/AINSTALL_32_and_64=
6196N/APUBLISH_STAMP=
6196N/Aendif
6196N/A
6196N/Ainclude $(WS_MAKE_RULES)/common.mk
6196N/A
6196N/A# configure falsely believes ld(1) supports --gc-sections because gcc accepts
6196N/A# the flag.
6196N/ACONFIGURE_ENV += cc_cv_LDFLAGS__Wl___gc_sections=no
6196N/A
6196N/ACONFIGURE_OPTIONS += --enable-gstreamer
6196N/A# For documentation.
6196N/ACONFIGURE_OPTIONS += --enable-lynx
6196N/ACONFIGURE_OPTIONS += --enable-largefile
6196N/ACONFIGURE_OPTIONS += --enable-oss
6196N/ACONFIGURE_OPTIONS += --enable-pulse
6196N/ACONFIGURE_OPTIONS += --enable-gtk
6196N/ACONFIGURE_OPTIONS += --enable-gtk3
6196N/ACONFIGURE_OPTIONS += --with-pic
6196N/A
6738N/AREQUIRED_PACKAGES += codec/libogg
6738N/AREQUIRED_PACKAGES += codec/libvorbis
6196N/AREQUIRED_PACKAGES += codec/ogg-vorbis
6196N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
6196N/AREQUIRED_PACKAGES += developer/vala
6196N/AREQUIRED_PACKAGES += library/audio/pulseaudio
6196N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1
6196N/AREQUIRED_PACKAGES += library/desktop/gtk2
6196N/AREQUIRED_PACKAGES += library/desktop/gtk3
6196N/AREQUIRED_PACKAGES += library/glib2
6196N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
6738N/AREQUIRED_PACKAGES += system/library/math
6196N/AREQUIRED_PACKAGES += web/browser/lynx
6196N/AREQUIRED_PACKAGES += x11/library/libx11