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