components/gnome/gnome-control-center/Makefile
changeset 7185 e0e4e1a6d658
child 7624 50e5cc11a34e
equal deleted inserted replaced
7184:55b3c10e4be9 7185:e0e4e1a6d658
       
     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
       
    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-control-center
       
    33 COMPONENT_VERSION=	3.18.2
       
    34 COMPONENT_PROJECT_URL=  https://git.gnome.org/browse/gnome-control-center
       
    35 COMPONENT_ARCHIVE_HASH= \
       
    36 	sha256:36fe6157247d2b7c8a98dbb3dbcde1c3a6f9e5e8fcc9ccf357e2b2417578f8ad
       
    37 COMPONENT_BUGDB=	gnome/preferences
       
    38 
       
    39 TPNO=			25823
       
    40 
       
    41 TEST_TARGET = $(NO_TESTS)
       
    42 
       
    43 # Needs gobject-introspection, not available on S11.
       
    44 include $(WS_MAKE_RULES)/no-evaluation.mk
       
    45 
       
    46 include $(WS_MAKE_RULES)/gnome-component.mk
       
    47 
       
    48 CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
       
    49 
       
    50 CONFIGURE_OPTIONS += --disable-cups
       
    51 CONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)
       
    52 CONFIGURE_OPTIONS += --disable-static
       
    53 CONFIGURE_OPTIONS += --disable-update-mimedb
       
    54 CONFIGURE_OPTIONS += --enable-documentation
       
    55 CONFIGURE_OPTIONS += --enable-ibus
       
    56 # Required for other components.
       
    57 CONFIGURE_OPTIONS += --enable-shared
       
    58 CONFIGURE_OPTIONS += --with-pic
       
    59 CONFIGURE_OPTIONS += --with-x
       
    60 # No webcam support.
       
    61 CONFIGURE_OPTIONS += --without-cheese
       
    62 
       
    63 # Needed due to patch to configure.ac.
       
    64 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
       
    65 
       
    66 # Delete this when build servers are installed with gnome-settings-daemon
       
    67 GSD_BASE = $(WS_COMPONENTS)/gnome/gnome-settings-daemon/build/prototype/$(MACH)
       
    68 PKG_CONFIG_PATHS += $(GSD_BASE)$(PKG_CONFIG_PATH.$(BITS))
       
    69 CPPFLAGS += -I$(GSD_BASE)/usr/include/gnome-settings-daemon-3.0
       
    70 LD_OPTIONS += -L $(GSD_BASE)$(USRLIB.$(BITS))
       
    71 
       
    72 UNINSTALLED_DEPS = gnome-settings-daemon libgweather
       
    73 DEPENDED += $(UNINSTALLED_DEPS:%=../%/build/manifest-$(MACH)-*.depend)
       
    74 REQUIRED_PACKAGES += $(shell $(GSED) -n -e '/GSED/d' -e 's/REQUIRED_PACKAGES += //p' $(UNINSTALLED_DEPS:%=../%/Makefile))
       
    75 #end Delete
       
    76 
       
    77 
       
    78 # Use the GNOME 3 libnotify even though the GNOME 2 one is still the default
       
    79 PKG_CONFIG_PATHS.32 += /usr/lib/pkgconfig/libnotify-4
       
    80 PKG_CONFIG_PATHS.64 += /usr/lib/$(MACH64)/pkgconfig/libnotify-4
       
    81 PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
       
    82 LD_OPTIONS.32 += -L /usr/lib/libnotify-4 -R /usr/lib/libnotify-4
       
    83 LD_OPTIONS.64 += -L /usr/lib/$(MACH64)/libnotify-4 -R /usr/lib/$(MACH64)/libnotify-4
       
    84 LD_OPTIONS += $(LD_OPTIONS.$(BITS))
       
    85 
       
    86 REQUIRED_PACKAGES += gnome/gnome-settings-daemon
       
    87 REQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
       
    88 REQUIRED_PACKAGES += library/audio/pulseaudio
       
    89 REQUIRED_PACKAGES += library/desktop/atk
       
    90 REQUIRED_PACKAGES += library/desktop/cairo
       
    91 REQUIRED_PACKAGES += library/desktop/clutter
       
    92 REQUIRED_PACKAGES += library/desktop/clutter/clutter-gtk
       
    93 REQUIRED_PACKAGES += library/desktop/colord-gtk
       
    94 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
       
    95 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
       
    96 REQUIRED_PACKAGES += library/desktop/grilo
       
    97 REQUIRED_PACKAGES += library/desktop/gtk3
       
    98 REQUIRED_PACKAGES += library/desktop/pango
       
    99 REQUIRED_PACKAGES += library/desktop/xdg/libcanberra
       
   100 REQUIRED_PACKAGES += library/glib2
       
   101 REQUIRED_PACKAGES += library/gnome/gnome-desktop
       
   102 REQUIRED_PACKAGES += library/gnome/gnome-online-accounts
       
   103 REQUIRED_PACKAGES += library/libgtop
       
   104 REQUIRED_PACKAGES += library/libsoup
       
   105 REQUIRED_PACKAGES += library/libxml2
       
   106 REQUIRED_PACKAGES += service/image/colord
       
   107 REQUIRED_PACKAGES += service/opengl/ogl-select
       
   108 REQUIRED_PACKAGES += system/input-method/ibus
       
   109 REQUIRED_PACKAGES += system/library/accountsservice
       
   110 REQUIRED_PACKAGES += system/library/fontconfig
       
   111 REQUIRED_PACKAGES += system/library/libv12n
       
   112 REQUIRED_PACKAGES += system/library/math
       
   113 REQUIRED_PACKAGES += system/library/polkit
       
   114 REQUIRED_PACKAGES += system/library/upower
       
   115 REQUIRED_PACKAGES += x11/library/libx11
       
   116 REQUIRED_PACKAGES += x11/library/libxi
       
   117 REQUIRED_PACKAGES += x11/library/mesa