6338N/A#
6338N/A# CDDL HEADER START
6338N/A#
6338N/A# The contents of this file are subject to the terms of the
6338N/A# Common Development and Distribution License (the "License").
6338N/A# You may not use this file except in compliance with the License.
6338N/A#
6338N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6338N/A# or http://www.opensolaris.org/os/licensing.
6338N/A# See the License for the specific language governing permissions
6338N/A# and limitations under the License.
6338N/A#
6338N/A# When distributing Covered Code, include this CDDL HEADER in each
6338N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6338N/A# If applicable, add the following below this CDDL HEADER, with the
6338N/A# fields enclosed by brackets "[]" replaced with your own identifying
6338N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6338N/A#
6338N/A# CDDL HEADER END
6338N/A#
6338N/A
6338N/A#
6338N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6338N/A#
6338N/A
6338N/ABUILD_BITS = 32_and_64
6338N/A# All components using gobject-introspection must be built with gcc as
6338N/A# gobject-introspection does not produce correct results when using Studio.
6338N/ACOMPILER = gcc
6338N/Ainclude ../../../make-rules/shared-macros.mk
6338N/A
6338N/ACOMPONENT_NAME= librsvg
6338N/ACOMPONENT_VERSION= 2.40.12
6338N/ACOMPONENT_MAJOR_MINOR= $(basename $(COMPONENT_VERSION))
6338N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/LibRsvg
6338N/ACOMPONENT_ARCHIVE_HASH= \
6338N/A sha256:ffe40c4378bf3899f4d679a475726bab03a127a5bdccddec86404cc329ffb550
6338N/ACOMPONENT_BUGDB= library/librsvg
6338N/A
6338N/ATPNO= 26339
6338N/A
6338N/A# Needs gobject-introspection, not available on S11.
6338N/Aifeq ($(BUILD_TYPE), evaluation)
6338N/ABUILD_32_and_64=
6338N/AINSTALL_32_and_64=
6338N/APUBLISH_STAMP=
6338N/Aendif
6338N/A
6338N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6338N/A
6338N/ACONFIGURE_OPTIONS += --disable-Bsymbolic
6338N/ACONFIGURE_OPTIONS += --disable-static
6338N/A# Required for other components.
6338N/ACONFIGURE_OPTIONS += --enable-introspection
6338N/ACONFIGURE_OPTIONS += --enable-vala
6338N/A
6338N/A# Requires a reconf due to patch to configure.ac.
6338N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
6338N/A
6338N/A# for the tests
6338N/Aunexport SHELLOPTS
6338N/A# Ignore whether the test code was already built or not
6338N/ACOMPONENT_TEST_TRANSFORMS += "-e '/^ CC.*/d'"
6338N/ACOMPONENT_TEST_TRANSFORMS += "-e '/^make.* is up to date\.$$/d'"
6338N/A
6338N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
6338N/AREQUIRED_PACKAGES += developer/vala
6338N/AREQUIRED_PACKAGES += library/desktop/cairo
6338N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
6338N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
6338N/AREQUIRED_PACKAGES += library/desktop/gtk3
6338N/AREQUIRED_PACKAGES += library/desktop/pango
6338N/AREQUIRED_PACKAGES += library/glib2
6338N/AREQUIRED_PACKAGES += library/libcroco
6338N/AREQUIRED_PACKAGES += library/libxml2
6338N/AREQUIRED_PACKAGES += runtime/perl-522
6338N/AREQUIRED_PACKAGES += runtime/python-34
6338N/AREQUIRED_PACKAGES += system/library/math