components/gnome/accerciser/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 7228 2d4b503f0914
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7219
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     1
#
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     3
#
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     7
#
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    12
#
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    18
#
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    20
#
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    21
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7228
diff changeset
    23
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
7219
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    24
#
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    25
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS=		NO_ARCH
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    27
include ../../../make-rules/shared-macros.mk
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    28
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_NAME=		accerciser
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_VERSION=	3.14.0
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_PROJECT_URL=	https://wiki.gnome.org/Apps/Accerciser
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH= \
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    33
	sha256:f5a5915d475e9241396414ccd167724c88807e77e69151cf0b40b32bd57d0574
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_BUGDB= 	gnome/accessibility
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7228
diff changeset
    35
COMPONENT_ANITYA_ID=	13116
7219
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    36
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    37
TPNO=			25184
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    38
7228
2d4b503f0914 25029083 do not publish accerciser when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 7219
diff changeset
    39
# Needs gtk3, not available in S11.
2d4b503f0914 25029083 do not publish accerciser when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 7219
diff changeset
    40
include $(WS_MAKE_RULES)/no-evaluation.mk
2d4b503f0914 25029083 do not publish accerciser when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 7219
diff changeset
    41
7219
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    42
include $(WS_MAKE_RULES)/gnome-component.mk
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    43
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    44
# Assumes GNU gettext & msgfmt are first in PATH.
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    45
CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    46
COMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    47
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    48
# Accerciser requires python >= 3.2
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    49
PYTHON_VERSION = 3.5
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    50
CONFIGURE_ENV += PYTHON="$(PYTHON)"
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    51
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    52
# Ensure Python modules are installed into vendor package directories.
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    53
CONFIGURE_ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES)
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    54
CONFIGURE_ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES)
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    55
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    56
# intltool may or may not be run depending on previous state of build dir
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    57
COMPONENT_TEST_TRANSFORMS += "-e '/\/usr\/bin\/intltool-update/d'"
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    58
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    59
REQUIRED_PACKAGES += developer/documentation-tool/itstool
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    60
REQUIRED_PACKAGES += developer/intltool
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    61
REQUIRED_PACKAGES += library/desktop/at-spi2-core
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    62
REQUIRED_PACKAGES += library/desktop/atk
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    63
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    64
REQUIRED_PACKAGES += library/desktop/gtk3
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    65
REQUIRED_PACKAGES += library/desktop/libwnck3
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    66
REQUIRED_PACKAGES += library/desktop/pango
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    67
REQUIRED_PACKAGES += library/libxml2
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    68
REQUIRED_PACKAGES += library/python/pyatspi2-35
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    69
REQUIRED_PACKAGES += library/python/pygobject-3-35
ed371e14667e 23245276 Move accerciser to Userland and update to 3.14.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    70
REQUIRED_PACKAGES += runtime/python-35