components/gnome/gtk-vnc/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 7199 6688ad419cab
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7199
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     1
#
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     3
#
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     7
#
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    12
#
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    18
#
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    20
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7199
diff changeset
    21
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
7199
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    22
#
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    23
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    24
BUILD_BITS=            	64_and_32
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    25
COMPILER=		gcc
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    27
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		gtk-vnc
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	0.5.4
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL=  https://wiki.gnome.org/Projects/$(COMPONENT_NAME)
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_HASH= \
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    32
	sha256:488aa97a76ce6868160699cd45d4a0ee0fe6f0ad4631737c6ddd84450f6c9ce7
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    33
COMPONENT_BUGDB=	gnome/remote-desktop
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7199
diff changeset
    34
COMPONENT_ANITYA_ID=	13142
7199
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    35
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    36
TPNO=			29178	
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    37
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    38
TEST_TARGET= $(NO_TESTS)
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    39
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    40
# Needs updated glib2, not available on S11.
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    41
include $(WS_MAKE_RULES)/no-evaluation.mk
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    42
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/gnome-component.mk
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    44
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    45
# Force use of gnutls-3 pkgconfig during 2.x->3.x transition
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    46
PKG_CONFIG_PATHS.32 += $(PKG_CONFIG_PATH.32)/gnutls-3
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    47
PKG_CONFIG_PATHS.64 += $(PKG_CONFIG_PATH.64)/gnutls-3
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    48
PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    49
LD_OPTIONS.32 += -L $(USRLIB.32)/gnutls-3 -R $(USRLIB.32)/gnutls-3
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    50
LD_OPTIONS.64 += -L $(USRLIB.64)/gnutls-3 -R $(USRLIB.64)/gnutls-3
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    51
LD_OPTIONS += $(LD_OPTIONS.$(BITS))
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    52
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    53
LD_OPTIONS += -z gnu-version-script-compat
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    54
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    55
CONFIGURE_OPTIONS += --without-python
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    56
CONFIGURE_OPTIONS += --with-gtk=3.0
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    57
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    58
# Assumes GNU xgettext is first in $PATH.
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    59
CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    60
# Assumes pod2man can be found somewhere in $PATH
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    61
COMPONENT_BUILD_ENV += PATH="$(PATH):/usr/perl5/$(PERL_VERSION)/bin"
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    62
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    63
REQUIRED_PACKAGES += library/audio/pulseaudio
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    64
REQUIRED_PACKAGES += library/desktop/cairo
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    65
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    66
REQUIRED_PACKAGES += library/desktop/gtk3
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    67
REQUIRED_PACKAGES += library/glib2
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    68
REQUIRED_PACKAGES += library/gnutls-3
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    69
REQUIRED_PACKAGES += library/zlib
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    70
REQUIRED_PACKAGES += runtime/perl-522
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    71
REQUIRED_PACKAGES += system/library/security/libgcrypt
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    72
REQUIRED_PACKAGES += system/library/security/libsasl2
6688ad419cab 23245473 Move gtk-vnc to Userland and update to 0.5.4
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
diff changeset
    73
REQUIRED_PACKAGES += x11/library/libx11