author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 23 Feb 2017 13:46:52 -0800 | |
changeset 7687 | 1093e2a9adbd |
parent 7624 | 50e5cc11a34e |
permissions | -rw-r--r-- |
7325
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
21 |
|
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
7624
50e5cc11a34e
25453912 Undo the temporary Makefile changes made for building gnome/desktop
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7361
diff
changeset
|
23 |
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. |
7325
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
25 |
|
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
26 |
BUILD_BITS= 64 |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
27 |
include ../../../make-rules/shared-macros.mk |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
28 |
|
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= orca |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/Orca |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
31 |
COMPONENT_VERSION= 3.18.2 |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
33 |
sha256:986244af7a0891b758eb8e772bc61d72483808e7e9c790360f9f389045d7262a |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
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:
7624
diff
changeset
|
35 |
COMPONENT_ANITYA_ID= 13156 |
7325
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
36 |
|
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
37 |
TPNO= 25851 |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
38 |
|
7361
c994b30ccafd
25123025 do not publish orca when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
7325
diff
changeset
|
39 |
# Depends on newer intltool than is available in 11.3. |
c994b30ccafd
25123025 do not publish orca when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
7325
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/no-evaluation.mk |
c994b30ccafd
25123025 do not publish orca when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents:
7325
diff
changeset
|
41 |
|
7325
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/gnome-component.mk |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
43 |
|
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
44 |
# Assumes GNU gettext & msgfmt are first in PATH. |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
45 |
CONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)" |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
46 |
COMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)" |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
47 |
|
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
48 |
# Orca requires python >= 3.3 |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
49 |
PYTHON_VERSION = 3.5 |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
50 |
CONFIGURE_ENV += PYTHON="$(PYTHON)" |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
51 |
PKG_MACROS += PYVER="$(PYTHON_VERSION)" PYV="$(PYTHON_VERSION:3.%=3%)" |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
52 |
|
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
53 |
# Ensure Python modules are installed into vendor package directories. |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
54 |
CONFIGURE_ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES:/64=) |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
55 |
CONFIGURE_ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES:/64=) |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
56 |
|
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
57 |
# intltool may or may not be run depending on previous state of build dir |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
58 |
COMPONENT_TEST_TRANSFORMS += "-e '/\/usr\/bin\/intltool-update/d'" |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
59 |
|
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
60 |
REQUIRED_PACKAGES += gnome/gsettings-desktop-schemas |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
61 |
REQUIRED_PACKAGES += library/accessibility/brltty |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
62 |
REQUIRED_PACKAGES += library/desktop/at-spi2-core |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
63 |
REQUIRED_PACKAGES += library/desktop/atk |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
64 |
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
65 |
REQUIRED_PACKAGES += library/desktop/gtk3 |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
66 |
REQUIRED_PACKAGES += library/desktop/libwnck3 |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
67 |
REQUIRED_PACKAGES += library/liblouis |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
68 |
REQUIRED_PACKAGES += library/python/pyatspi2-35 |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
69 |
REQUIRED_PACKAGES += library/python/pygobject-3-35 |
0b231164d7ff
23245348 Move orca to Userland and update to 3.18.2
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff
changeset
|
70 |
REQUIRED_PACKAGES += runtime/python-35 |