components/gnome/pango/Makefile
changeset 5943 c081bc16736d
child 6008 b325e8629cb1
equal deleted inserted replaced
5942:31e5d1792d2f 5943:c081bc16736d
       
     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) 2016, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 # All components using gobject-introspection must be built with gcc as
       
    27 # gobject-introspection does not produce correct results when using Studio.
       
    28 COMPILER =		gcc
       
    29 BUILD_BITS =		64_and_32
       
    30 include ../../../make-rules/shared-macros.mk
       
    31 
       
    32 COMPONENT_NAME=		pango
       
    33 COMPONENT_VERSION=	1.38.0
       
    34 COMPONENT_PROJECT_URL=	http://www.pango.org/
       
    35 COMPONENT_ARCHIVE_HASH= \
       
    36     sha256:1d4e75974bad853ee9ac5fc5caee5e7ab235abbd945d51d01f3806e04e7c226c
       
    37 COMPONENT_BUGDB=	gnome/pango
       
    38 
       
    39 TPNO=			24871
       
    40 
       
    41 include $(WS_MAKE_RULES)/gnome-component.mk
       
    42 
       
    43 CONFIGURE_OPTIONS += --enable-gtk-doc
       
    44 # Required for other components.
       
    45 CONFIGURE_OPTIONS += --enable-introspection
       
    46 
       
    47 # Workaround for build failures due to pango Makefiles not passing CFLAGS or
       
    48 # LDFLAGS, especially the -m32/64 flag, to g-ir-scanner
       
    49 COMPONENT_BUILD_ENV += CFLAGS="$(strip $(CFLAGS))"
       
    50 COMPONENT_BUILD_ENV += LDFLAGS="$(strip $(LDFLAGS))"
       
    51 
       
    52 # Needed for "gmake test" to work successfully.
       
    53 unexport SHELLOPTS
       
    54 COMPONENT_TEST_ARGS += -k
       
    55 
       
    56 # Standard automake test framework results transform
       
    57 COMPONENT_TEST_TRANSFORMS += \
       
    58         '-n ' \
       
    59         '-e "/TOTAL/p" ' \
       
    60         '-e "/SKIP/p" ' \
       
    61         '-e "/PASS/p" ' \
       
    62         '-e "/FAIL/p" ' \
       
    63         '-e "/ERROR/p" '
       
    64 
       
    65 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
       
    66 
       
    67 REQUIRED_PACKAGES += library/desktop/cairo
       
    68 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
       
    69 REQUIRED_PACKAGES += library/desktop/harfbuzz
       
    70 REQUIRED_PACKAGES += library/glib2
       
    71 # Needs fontconfig version >= 2.10.91
       
    72 REQUIRED_PACKAGES += system/library/fontconfig
       
    73 REQUIRED_PACKAGES += system/library/freetype-2
       
    74 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
       
    75 REQUIRED_PACKAGES += system/library/math
       
    76 REQUIRED_PACKAGES += x11/library/libxft
       
    77 REQUIRED_PACKAGES += x11/library/libx11
       
    78 REQUIRED_PACKAGES += x11/library/libxrender
       
    79 REQUIRED_PACKAGES += x11/server/xorg