325N/A#
325N/A# CDDL HEADER START
1339N/A#
325N/A# The contents of this file are subject to the terms of the
1339N/A# Common Development and Distribution License (the "License").
325N/A# You may not use this file except in compliance with the License.
325N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A
919N/A#
919N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
919N/A#
325N/A
325N/ABUILD_BITS= 64
325N/Ainclude ../../../make-rules/shared-macros.mk
325N/A
493N/ACOMPONENT_NAME= orca
325N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/Orca
970N/ACOMPONENT_VERSION= 3.18.2
970N/ACOMPONENT_ARCHIVE_HASH= \
970N/A sha256:986244af7a0891b758eb8e772bc61d72483808e7e9c790360f9f389045d7262a
970N/ACOMPONENT_BUGDB= gnome/accessibility
325N/A
1370N/ATPNO= 25851
325N/A
911N/A# Depends on newer intltool than is available in 11.3.
1370N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
1370N/A
1370N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
911N/A
325N/A# Assumes GNU gettext & msgfmt are first in PATH.
325N/ACONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
325N/ACOMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
325N/A
1179N/A# Orca requires python >= 3.3
493N/APYTHON_VERSION = 3.5
325N/ACONFIGURE_ENV += PYTHON="$(PYTHON)"
970N/APKG_MACROS += PYVER="$(PYTHON_VERSION)" PYV="$(PYTHON_VERSION:3.%=3%)"
970N/A
970N/A# Ensure Python modules are installed into vendor package directories.
325N/ACONFIGURE_ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES:/64=)
325N/ACONFIGURE_ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES:/64=)
# intltool may or may not be run depending on previous state of build dir
COMPONENT_TEST_TRANSFORMS += "-e '/\/usr\/bin\/intltool-update/d'"
# Delete once build servers have new versions of brltty & liblouis installed
UNINSTALLED_DEPS = desktop/brltty desktop/liblouis
DEPEND_BASES = $(UNINSTALLED_DEPS:%=$(WS_COMPONENTS)/%/build/prototype/$(MACH))
PYTHON_PATHS = $(DEPEND_BASES:%=%/usr/lib/python$(PYTHON_VERSION)/vendor-packages)
LIBRARY_PATHS = $(DEPEND_BASES:%=%$(USRLIBDIR64))
CONFIGURE_ENV += \
PYTHONPATH=$(subst $(space),:,$(strip $(PYTHON_PATHS))) \
LD_LIBRARY_PATH_64=$(subst $(space),:,$(strip $(LIBRARY_PATHS)))
DEPENDED += $(UNINSTALLED_DEPS:%=$(WS_COMPONENTS)/%/build/manifest-$(MACH)-*.depend)
REQUIRED_PACKAGES += $(shell $(GSED) -n -e '/GSED/d' -e 's/REQUIRED_PACKAGES += //p' $(UNINSTALLED_DEPS:%=$(WS_COMPONENTS)/%/Makefile))
#end Delete
REQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
REQUIRED_PACKAGES += library/accessibility/brltty
REQUIRED_PACKAGES += library/desktop/at-spi2-core
REQUIRED_PACKAGES += library/desktop/atk
REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
REQUIRED_PACKAGES += library/desktop/gtk3
REQUIRED_PACKAGES += library/desktop/libwnck3
REQUIRED_PACKAGES += library/liblouis
REQUIRED_PACKAGES += library/python/pyatspi2-35
REQUIRED_PACKAGES += library/python/pygobject-3-35
REQUIRED_PACKAGES += runtime/python-35