7198N/A#
7198N/A# CDDL HEADER START
7198N/A#
7198N/A# The contents of this file are subject to the terms of the
7198N/A# Common Development and Distribution License (the "License").
7198N/A# You may not use this file except in compliance with the License.
7198N/A#
7198N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7198N/A# or http://www.opensolaris.org/os/licensing.
7198N/A# See the License for the specific language governing permissions
7198N/A# and limitations under the License.
7198N/A#
7198N/A# When distributing Covered Code, include this CDDL HEADER in each
7198N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7198N/A# If applicable, add the following below this CDDL HEADER, with the
7198N/A# fields enclosed by brackets "[]" replaced with your own identifying
7198N/A# information: Portions Copyright [yyyy] [name of copyright owner]
7198N/A#
7198N/A# CDDL HEADER END
7198N/A#
7198N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
7198N/A#
7198N/A
7198N/ABUILD_BITS= 64
7198N/ACOMPILER= gcc
7198N/Ainclude ../../../make-rules/shared-macros.mk
7198N/A
7198N/ACOMPONENT_NAME= vinagre
7198N/ACOMPONENT_VERSION= 3.16.0
7198N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects//$(COMPONENT_NAME)
7198N/ACOMPONENT_ARCHIVE_HASH= \
7198N/A sha256:93d79e18e71509647fe4bc00a0dcef5382b2e3a79c39d2b18a91334195995c34
7198N/ACOMPONENT_BUGDB= gnome/remote-desktop
7198N/A
7198N/ATPNO= 26597
7198N/A
7198N/A# Needs updated glib2, not available on S11.
7198N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
7198N/A
7227N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
7227N/A
7198N/A# Requires XPG4 or later & C99 compatibility, thus XPG6 or later
7198N/ACFLAGS += $(XPG6MODE)
7198N/A
7198N/A# Assumes GNU versions of utilities in PATH (e.g. xgettext).
7198N/ACONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
7198N/ACOMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
7198N/A
7198N/A# RDP support requires freerdp
7198N/ACONFIGURE_OPTIONS += --disable-rdp
7198N/ACONFIGURE_OPTIONS += --with-telepathy=yes
7198N/A
7198N/A# Delete this when build servers are installed with an updated gtk-vnc
7198N/AGTKVNC_BASE = $(WS_COMPONENTS)/gnome/gtk-vnc/build/prototype/$(MACH)
7198N/APKG_CONFIG_PATHS += $(GTKVNC_BASE)$(PKG_CONFIG_PATH.$(BITS))
7198N/A
7198N/ALD_OPTIONS += -L $(GTKVNC_BASE)$(USRLIB.$(BITS))
7198N/A
7198N/ACONFIGURE_ENV += VNC_CFLAGS="-DMESA_EGL_NO_X11_HEADERS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I$(GTKVNC_BASE)/usr/include/gtk-vnc-2.0 -I$(GTKVNC_BASE)/usr/include/gvnc-1.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/$(MACH64)/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng14 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng14 -I/usr/include/glib-2.0 -I/usr/lib/$(MACH64)/glib-2.0/include -I/usr/include/libxml2"
7198N/A
7198N/A# The dependency isn't installed, so add it manually since pkgdepend
7198N/A# can't resolve them yet: 15708323
7198N/ADEPENDED += $(WS_TOP)/components/gnome/gtk-vnc/build/manifest-$(MACH)-gtk-vnc.depend
7198N/A
7198N/A# Temporary until dependencies are all on build machines
7198N/AREQUIRED_PACKAGES += $(shell $(GSED) -n 's/REQUIRED_PACKAGES +=//p' ../gtk-vnc/Makefile)
7198N/A#end Delete
7198N/A
7198N/AREQUIRED_PACKAGES += library/desktop/cairo
7198N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
7198N/AREQUIRED_PACKAGES += library/desktop/gtk-vnc
7198N/AREQUIRED_PACKAGES += library/desktop/gtk3
7198N/AREQUIRED_PACKAGES += library/glib2
7198N/AREQUIRED_PACKAGES += library/gnome/libsecret
7198N/AREQUIRED_PACKAGES += library/libxml2
7198N/AREQUIRED_PACKAGES += library/telepathy-glib
7198N/AREQUIRED_PACKAGES += system/library
7198N/AREQUIRED_PACKAGES += system/library/libdbus-glib