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