Makefile revision 7209
39135a3e07243519dbe40a68e86a7ef524eb3f1bmfloryan#
39135a3e07243519dbe40a68e86a7ef524eb3f1bmfloryan# CDDL HEADER START
0d6fa07e7377403fbf27889a37d22f67166074dbbuliabyak#
0d6fa07e7377403fbf27889a37d22f67166074dbbuliabyak# The contents of this file are subject to the terms of the
8435052ef25dc903d1d438b137a9348ec681020bmfloryan# Common Development and Distribution License (the "License").
8435052ef25dc903d1d438b137a9348ec681020bmfloryan# You may not use this file except in compliance with the License.
9a382cc3da6ab60dd7178a4f864a72d0973305e6mfloryan#
0d6fa07e7377403fbf27889a37d22f67166074dbbuliabyak# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9a382cc3da6ab60dd7178a4f864a72d0973305e6mfloryan# or http://www.opensolaris.org/os/licensing.
0d6fa07e7377403fbf27889a37d22f67166074dbbuliabyak# See the License for the specific language governing permissions
0d6fa07e7377403fbf27889a37d22f67166074dbbuliabyak# and limitations under the License.
8435052ef25dc903d1d438b137a9348ec681020bmfloryan#
0d6fa07e7377403fbf27889a37d22f67166074dbbuliabyak# When distributing Covered Code, include this CDDL HEADER in each
0d6fa07e7377403fbf27889a37d22f67166074dbbuliabyak# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
#
BUILD_BITS = 64_and_32
COMPILER = gcc
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME= GConf
COMPONENT_VERSION= 3.2.6
COMPONENT_PROJECT_URL= https://projects.gnome.org/gconf/
COMPONENT_ARCHIVE_HASH= \
sha256:1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c
COMPONENT_BUGDB= gnome/libraries
TPNO= 26337
# While there is a tests subdirectory, it's not setup for automated use
# on a headless system, and isn't even built unless you manually do it.
TEST_TARGET = $(NO_TESTS)
# Needs gobject-introspection, not available on S11.
include $(WS_MAKE_RULES)/no-evaluation.mk
include $(WS_MAKE_RULES)/gnome-component.mk
CONFIGURE_OPTIONS += --disable-defaults-service
CONFIGURE_OPTIONS += --enable-gsettings_backend
CONFIGURE_OPTIONS += --disable-orbit
CONFIGURE_OPTIONS += --with-gtk=3.0
CONFIGURE_OPTIONS += --without-openldap
CONFIGURE_OPTIONS += --disable-static
CONFIGURE_OPTIONS += --enable-shared
# Assumes GNU xgettext in PATH
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
# Need to convert "#! /usr/bin/env python" to actual path for pkgdepend to work
PYTHON_SCRIPTS += $(PROTO_DIR)$(CONFIGURE_BINDIR.$(BITS))/gsettings-schema-convert
PKG_MACROS += PYVER="$(PYTHON_VERSION)"
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += library/libxml2
REQUIRED_PACKAGES += library/python/lxml-27
REQUIRED_PACKAGES += runtime/python-27
REQUIRED_PACKAGES += system/library/libdbus
REQUIRED_PACKAGES += system/library/libdbus-glib