components/gnome/gnome-desktop/Makefile
changeset 6339 4f4066ccad14
child 6379 d9146784951c
equal deleted inserted replaced
6338:79adef6ce508 6339:4f4066ccad14
       
     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 =            64_and_32
       
    27 # All components using gobject-introspection must be built with gcc as
       
    28 # gobject-introspection does not produce correct results when using Studio.
       
    29 COMPILER =              gcc
       
    30 include ../../../make-rules/shared-macros.mk
       
    31 
       
    32 COMPONENT_NAME=		gnome-desktop
       
    33 COMPONENT_VERSION=	3.18.0
       
    34 COMPONENT_PROJECT_URL= 	http://wiki.gnome.org
       
    35 COMPONENT_ARCHIVE_HASH=	\
       
    36 	sha256:44c806b16ea7d38bdc0e6343f2cb6be97afd7f64490f30c0cb5c3373e89a9d44
       
    37 COMPONENT_BUGDB=	gnome/libraries
       
    38 
       
    39 TPNO=			24892
       
    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)/gnome-component.mk
       
    51 
       
    52 CONFIGURE_OPTIONS += --disable-static
       
    53 CONFIGURE_OPTIONS += --enable-desktop-docs
       
    54 # Required for other components.
       
    55 CONFIGURE_OPTIONS += --enable-introspection
       
    56 CONFIGURE_OPTIONS += --enable-shared
       
    57 CONFIGURE_OPTIONS += --with-gnome-distributor=Oracle
       
    58 CONFIGURE_OPTIONS += --with-pic
       
    59 CONFIGURE_OPTIONS += --with-x
       
    60 
       
    61 # Required due to patches.
       
    62 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
       
    63 
       
    64 # Assumes GNU versions of various utilities in PATH (e.g. msgfmt).
       
    65 COMPONENT_BUILD_ENV += PATH=$(GNUBIN):$(PATH)
       
    66 CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
       
    67 
       
    68 REQUIRED_PACKAGES += library/desktop/cairo
       
    69 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
       
    70 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
       
    71 REQUIRED_PACKAGES += library/desktop/gtk3
       
    72 REQUIRED_PACKAGES += library/glib2
       
    73 REQUIRED_PACKAGES += library/gnome/yelp-tools
       
    74 REQUIRED_PACKAGES += library/gnome/yelp-xsl
       
    75 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
       
    76 REQUIRED_PACKAGES += system/library/math
       
    77 REQUIRED_PACKAGES += x11/library/libx11