components/gnome/gnome-calendar/Makefile
changeset 7217 3944ab989650
child 7624 50e5cc11a34e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnome/gnome-calendar/Makefile	Mon Oct 10 22:23:05 2016 -0700
@@ -0,0 +1,71 @@
+#
+# 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=		64
+COMPILER=		gcc
+include ../../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		gnome-calendar
+COMPONENT_VERSION=	3.18.1
+COMPONENT_PROJECT_URL=	https://wiki.gnome.org/Apps/Calendar
+COMPONENT_ARCHIVE_HASH= \
+	sha256:96f307c79952fa55bfdfc2b256085c568384dde2312b2815ee5e8e21e6adf2b9
+COMPONENT_BUGDB=	gnome/applications
+
+TPNO=			25846
+
+TEST_TARGET= $(NO_TESTS)
+
+# Needs updated evolution-data-server, not available on S11.
+include $(WS_MAKE_RULES)/no-evaluation.mk
+
+include $(WS_MAKE_RULES)/gnome-component.mk
+
+# Assumes GNU msgfmt in PATH.
+CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
+
+# Delete this when build servers are installed with libical
+ICAL_BASE = $(WS_COMPONENTS)/desktop/libical/build/prototype/$(MACH)
+PKG_CONFIG_PATHS += $(ICAL_BASE)$(PKG_CONFIG_PATH.$(BITS))
+LD_OPTIONS += -L $(ICAL_BASE)$(USRLIB)
+CPPFLAGS += -I$(ICAL_BASE)$(USRINCDIR)/libical
+
+DEPENDED += $(WS_TOP)/components/desktop/libical/build/manifest-$(MACH)-libical.depend
+REQUIRED_PACKAGES += $(shell $(GSED) -n -e 's/REQUIRED_PACKAGES += //p' ../../desktop/libical/Makefile)
+# end Delete
+
+
+# evolution-data-server requires nss/nspr, but Solaris doesn't include a 64-bit
+# pkg-config file for it, so we workaround this by using the one-off copy in the
+# evolution-data-server component directory
+PKG_CONFIG_PATHS += $(WS_COMPONENTS)/gnome/evolution-data-server
+
+REQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
+REQUIRED_PACKAGES += library/desktop/cairo
+REQUIRED_PACKAGES += library/desktop/evolution-data-server
+REQUIRED_PACKAGES += library/desktop/gtk3
+REQUIRED_PACKAGES += library/desktop/pango
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/gnome/gnome-online-accounts
+REQUIRED_PACKAGES += library/libical
+REQUIRED_PACKAGES += system/library/math