|
| 1 | +# Copyright 1999-2020 Gentoo Authors |
| 2 | +# Distributed under the terms of the GNU General Public License v2 |
| 3 | + |
| 4 | +EAPI=6 |
| 5 | +GNOME2_LA_PUNT="yes" |
| 6 | +PYTHON_COMPAT=( python3_6 ) |
| 7 | +PYTHON_REQ_USE="threads" |
| 8 | + |
| 9 | +inherit gnome2 python-single-r1 |
| 10 | + |
| 11 | +DESCRIPTION="Extensible screen reader that provides access to the desktop" |
| 12 | +HOMEPAGE="https://wiki.gnome.org/Projects/Orca" |
| 13 | + |
| 14 | +LICENSE="LGPL-2.1+ CC-BY-SA-3.0" |
| 15 | +SLOT="0" |
| 16 | +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
| 17 | + |
| 18 | +IUSE="+braille" |
| 19 | +REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
| 20 | + |
| 21 | +COMMON_DEPEND="${PYTHON_DEPS} |
| 22 | + >=app-accessibility/at-spi2-atk-2.32:2 |
| 23 | + >=app-accessibility/at-spi2-core-2.32:2[introspection] |
| 24 | + >=dev-libs/atk-2.32 |
| 25 | + >=dev-libs/glib-2.28:2 |
| 26 | + media-libs/gstreamer:1.0[introspection] |
| 27 | + >=x11-libs/gtk+-3.6.2:3[introspection] |
| 28 | + $(python_gen_cond_dep ' |
| 29 | + dev-python/gst-python:1.0[${PYTHON_MULTI_USEDEP}] |
| 30 | + >=dev-python/pygobject-3.18:3[${PYTHON_MULTI_USEDEP}] |
| 31 | + ') |
| 32 | + braille? ( |
| 33 | + $(python_gen_cond_dep ' |
| 34 | + >=app-accessibility/brltty-5.0-r3[python,${PYTHON_MULTI_USEDEP}] |
| 35 | + dev-libs/liblouis[python,${PYTHON_MULTI_USEDEP}] |
| 36 | + ') |
| 37 | + ) |
| 38 | +" |
| 39 | +RDEPEND="${COMMON_DEPEND} |
| 40 | + dev-libs/atk[introspection] |
| 41 | + $(python_gen_cond_dep ' |
| 42 | + >=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_MULTI_USEDEP}] |
| 43 | + >=dev-python/pyatspi-2.32[${PYTHON_MULTI_USEDEP}] |
| 44 | + dev-python/setproctitle[${PYTHON_MULTI_USEDEP}] |
| 45 | + ') |
| 46 | + x11-libs/libwnck:3[introspection] |
| 47 | + x11-libs/pango[introspection] |
| 48 | +" |
| 49 | +DEPEND="${COMMON_DEPEND} |
| 50 | + dev-util/itstool |
| 51 | + >=sys-devel/gettext-0.19.8 |
| 52 | + virtual/pkgconfig |
| 53 | +" |
| 54 | +# app-text/yelp-tools |
| 55 | + |
| 56 | +src_configure() { |
| 57 | + gnome2_src_configure \ |
| 58 | + $(use_with braille liblouis) |
| 59 | +} |
0 commit comments