6214N/A#
6214N/A# CDDL HEADER START
6214N/A#
6214N/A# The contents of this file are subject to the terms of the
6214N/A# Common Development and Distribution License (the "License").
6214N/A# You may not use this file except in compliance with the License.
6214N/A#
6214N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6214N/A# or http://www.opensolaris.org/os/licensing.
6214N/A# See the License for the specific language governing permissions
6214N/A# and limitations under the License.
6214N/A#
6214N/A# When distributing Covered Code, include this CDDL HEADER in each
6214N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6214N/A# If applicable, add the following below this CDDL HEADER, with the
6214N/A# fields enclosed by brackets "[]" replaced with your own identifying
6214N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6214N/A#
6214N/A# CDDL HEADER END
6214N/A#
6214N/A
6214N/A#
6214N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6214N/A#
6214N/A
6214N/ABUILD_BITS = 64_and_32
6214N/A# Also, all components using gobject-introspection must be built with gcc as
6214N/A# gobject-introspection does not produce correct results when using Studio.
6214N/ACOMPILER = gcc
6214N/Ainclude ../../../make-rules/shared-macros.mk
6214N/A
6214N/ACOMPONENT_NAME= cogl
6214N/ACOMPONENT_VERSION= 1.22.0
6214N/ACOMPONENT_PROJECT_URL= https://developer.gnome.org/cogl/
6214N/ACOMPONENT_ARCHIVE_HASH= \
6214N/A sha256:689dfb5d14fc1106e9d2ded0f7930dcf7265d0bc84fa846b4f03941633eeaa91
6214N/ACOMPONENT_BUGDB= gnome/libraries
6214N/A
6214N/ATPNO= 25267
6214N/A
6214N/A# Needs gobject-introspection, not available on S11.
6214N/Aifeq ($(BUILD_TYPE), evaluation)
6214N/ABUILD_32_and_64=
6214N/AINSTALL_32_and_64=
6214N/APUBLISH_STAMP=
6214N/Aendif
6214N/A
6214N/A# Enable tests once all dependencies are install on the build server
6214N/ATEST_TARGET = $(SKIP_TEST)
6214N/A
6214N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6214N/A
7335N/A# Workaround build failures when /usr/include/GL points to Nvidia's headers
7335N/ACOMPONENT_PREP_ACTION += $(SYMLINK) /usr/include/mesa $(@D)/GL ;
7335N/A
6214N/ACONFIGURE_OPTION += --disable-static
6214N/A# Required for other components.
6214N/ACONFIGURE_OPTIONS += --enable-glib
6214N/A# Required for other components.
6214N/ACONFIGURE_OPTIONS += --enable-cogl-pango
6214N/A# Required for other components.
6214N/ACONFIGURE_OPTIONS += --enable-cogl-gst
6214N/A# Required for other components.
6214N/ACONFIGURE_OPTIONS += --enable-cogl-path
6214N/A# Required for other components.
6214N/ACONFIGURE_OPTIONS += --enable-gdk-pixbuf
6214N/A# Required for other components.
6214N/ACONFIGURE_OPTIONS += --enable-gl
6214N/A# Required for other components.
6214N/ACONFIGURE_OPTIONS += --enable-glx
6214N/A# Required for other components.
6214N/ACONFIGURE_OPTIONS += --enable-introspection
6214N/ACONFIGURE_OPTIONS += --enable-shared
6214N/ACONFIGURE_OPTIONS += --with-pic
6214N/ACONFIGURE_OPTIONS += --with-x
6214N/A
6214N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
6214N/AREQUIRED_PACKAGES += library/desktop/cairo
6214N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
6214N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
6214N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1
6214N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1/gst-plugins-base
6214N/AREQUIRED_PACKAGES += library/desktop/pango
6214N/AREQUIRED_PACKAGES += library/glib2
6214N/AREQUIRED_PACKAGES += service/opengl/ogl-select
6214N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
6214N/AREQUIRED_PACKAGES += system/library/math
6214N/AREQUIRED_PACKAGES += x11/library/libx11
6214N/AREQUIRED_PACKAGES += x11/library/libx11
6214N/AREQUIRED_PACKAGES += x11/library/libxdamage
6214N/AREQUIRED_PACKAGES += x11/library/libxext
6214N/AREQUIRED_PACKAGES += x11/library/libxfixes
6214N/AREQUIRED_PACKAGES += x11/library/libxrandr