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