components/desktop/libcanberra/Makefile
author Jay Cotton <Jay.Cotton@Oracle.COM>
Tue, 06 Sep 2016 18:35:00 -0700
changeset 6740 b9a930b724d2
parent 6198 0d62f0d9464e
child 7548 ad7417efe433
permissions -rw-r--r--
23245483 Move libvorbis 1.3.3 to Userland PSARC/2010/143 GNOME 2.30 PSARC/2016/514 ogg-vorbis package split
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6198
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
#
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     3
#
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
#
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
#
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
#
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
#
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
#
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS =            32_and_64
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
COMPILER =              gcc
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
include ../../../make-rules/shared-macros.mk
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_NAME=		libcanberra
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_VERSION=	0.30
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	http://0pointer.de/lennart/projects/libcanberra/
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.xz
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_HASH=	\
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
	sha256:c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
COMPONENT_ARCHIVE_URL=	http://0pointer.de/lennart/projects/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
COMPONENT_BUGDB=	gnome/libraries
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
TPNO=			24163
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
TEST_TARGET= $(NO_TESTS)
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
# Needs updated glib2, not available on S11.
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
ifeq ($(BUILD_TYPE), evaluation)
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
BUILD_32_and_64=
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
INSTALL_32_and_64=
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
PUBLISH_STAMP=
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
endif
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
include $(WS_MAKE_RULES)/common.mk
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
# configure falsely believes ld(1) supports --gc-sections because gcc accepts
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
# the flag.
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
CONFIGURE_ENV += cc_cv_LDFLAGS__Wl___gc_sections=no
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
CONFIGURE_OPTIONS += --enable-gstreamer
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
# For documentation.
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    58
CONFIGURE_OPTIONS += --enable-lynx
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    59
CONFIGURE_OPTIONS += --enable-largefile
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    60
CONFIGURE_OPTIONS += --enable-oss
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    61
CONFIGURE_OPTIONS += --enable-pulse
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    62
CONFIGURE_OPTIONS += --enable-gtk
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    63
CONFIGURE_OPTIONS += --enable-gtk3
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
CONFIGURE_OPTIONS += --with-pic
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    65
6740
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents: 6198
diff changeset
    66
REQUIRED_PACKAGES += codec/libogg
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents: 6198
diff changeset
    67
REQUIRED_PACKAGES += codec/libvorbis
6198
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    68
REQUIRED_PACKAGES += codec/ogg-vorbis
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    69
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
REQUIRED_PACKAGES += developer/vala
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
REQUIRED_PACKAGES += library/audio/pulseaudio
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
REQUIRED_PACKAGES += library/desktop/gstreamer-1
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    73
REQUIRED_PACKAGES += library/desktop/gtk2
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    74
REQUIRED_PACKAGES += library/desktop/gtk3
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    75
REQUIRED_PACKAGES += library/glib2
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    76
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
6740
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents: 6198
diff changeset
    77
REQUIRED_PACKAGES += system/library/math
6198
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    78
REQUIRED_PACKAGES += web/browser/lynx
0d62f0d9464e 23245328 Move libcanberra to Userland and update to 0.30
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    79
REQUIRED_PACKAGES += x11/library/libx11