components/gnome/gtk-engines/Makefile
changeset 6745 6df92253f5ac
child 6893 134b9e6008d4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/gtk-engines/Makefile	Wed Sep 07 09:33:48 2016 -0700
@@ -0,0 +1,75 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# 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=            	32_and_64
+COMPILER=		gcc
+include ../../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		gtk-engines
+COMPONENT_VERSION=	2.20.2
+COMPONENT_PROJECT_URL=	http://www.gtk.org/
+COMPONENT_ARCHIVE=	gtk-engines-2.20.2.tar.bz2
+COMPONENT_ARCHIVE_OVERRIDE=	true
+COMPONENT_ARCHIVE_HASH=	\
+	sha256:15b680abca6c773ecb85253521fa100dd3b8549befeecc7595b10209d62d66b5
+COMPONENT_BUGDB=	gnome/libraries
+
+TPNO=			8678
+
+# Requires updated version of gtk2, not available on S11.
+include $(WS_MAKE_RULES)/no-evaluation.mk
+
+include $(WS_MAKE_RULES)/gnome-component.mk
+
+# 32-bit gcc builds cause segfaults; see bug 21393975.
+gcc_OPT.i386.32 = -O2
+
+CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
+COMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
+
+CONFIGURE_OPTIONS += --disable-lua
+CONFIGURE_OPTIONS += --disable-static
+CONFIGURE_OPTIONS += --enable-all
+CONFIGURE_OPTIONS += --enable-animation
+CONFIGURE_OPTIONS += --enable-deprecated
+CONFIGURE_OPTIONS += --enable-shared
+CONFIGURE_OPTIONS += --with-pic
+
+unexport SHELLOPTS
+COMPONENT_TEST_TRANSFORMS += '-e "s|$(PROTO_DIR)|\\$$(PROTO_DIR)|g"'
+COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
+COMPONENT_TEST_ARGS =   -k -i
+COMPONENT_TEST_TRANSFORMS += \
+        '-n ' \
+        '-e "/TOTAL:/p" ' \
+        '-e "/SKIP:/p" ' \
+        '-e "/PASS:/p" ' \
+        '-e "/FAIL:/p" ' \
+        '-e "/ERROR:/p" '
+
+REQUIRED_PACKAGES += library/desktop/cairo
+REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
+REQUIRED_PACKAGES += library/desktop/gtk2
+REQUIRED_PACKAGES += library/glib2