blob: e5fe42cc7fcdb4e28912118363f8e9904e5c7eb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{13..14} )
inherit gnome2 meson python-single-r1 virtualx
DESCRIPTION="Extensible screen reader that provides access to the desktop"
HOMEPAGE="https://orca.gnome.org/"
LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86"
IUSE="+braille test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
DEPEND="${PYTHON_DEPS}
>=app-accessibility/at-spi2-core-2.56.0[introspection]
>=dev-libs/glib-2.28:2
media-libs/gstreamer:1.0[introspection]
>=x11-libs/gtk+-3.6.2:3[introspection]
$(python_gen_cond_dep '
dev-python/gst-python:1.0[${PYTHON_USEDEP}]
>=dev-python/pygobject-3.18:3[${PYTHON_USEDEP}]
dev-python/dasbus[${PYTHON_USEDEP}]
')
braille? (
$(python_gen_cond_dep '
>=app-accessibility/brltty-5.0-r3[python,${PYTHON_USEDEP}]
dev-libs/liblouis[tools(+),${PYTHON_SINGLE_USEDEP}]
')
)
"
RDEPEND="${DEPEND}
$(python_gen_cond_dep '
>=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}]
>=dev-python/pyatspi-2.46[${PYTHON_USEDEP}]
dev-python/setproctitle[${PYTHON_USEDEP}]
')
x11-libs/libwnck:3[introspection]
x11-libs/pango[introspection]
"
BDEPEND="
$(python_gen_cond_dep '
test? (
dev-python/pytest-mock[${PYTHON_USEDEP}]
)'
)
dev-util/itstool
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
"
# app-text/yelp-tools
src_configure() {
local emesonargs=(
-Dspiel=false # spiel not yet in gentoo
)
meson_src_configure
}
src_test() {
# test_structural_navigator needs more time
virtx meson_src_test --timeout-multiplier=10
}
src_install() {
meson_src_install
python_fix_shebang "${ED}"
python_optimize
}
pkg_postinst(){
gnome2_schemas_update
xdg_icon_cache_update
}
pkg_postrm(){
gnome2_schemas_update
xdg_icon_cache_update
}
|