Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: app-accessibility/orca/
Date: Sat, 02 May 2015 18:42:05
Message-Id: 1430591385.deb21bdeff79b3b1f0fc7f239ec3339b594e9d34.eva@gentoo
1 commit: deb21bdeff79b3b1f0fc7f239ec3339b594e9d34
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 2 18:15:03 2015 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sat May 2 18:29:45 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=deb21bde
7
8 app-accessibility/orca: 3.14.4 → 3.16.1
9
10 app-accessibility/orca/orca-3.16.1.ebuild | 77 +++++++++++++++++++++++++++++++
11 1 file changed, 77 insertions(+)
12
13 diff --git a/app-accessibility/orca/orca-3.16.1.ebuild b/app-accessibility/orca/orca-3.16.1.ebuild
14 new file mode 100644
15 index 0000000..3044c69
16 --- /dev/null
17 +++ b/app-accessibility/orca/orca-3.16.1.ebuild
18 @@ -0,0 +1,77 @@
19 +# Copyright 1999-2015 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/orca/orca-3.14.4.ebuild,v 1.1 2015/03/28 10:10:17 pacho Exp $
22 +
23 +EAPI="5"
24 +GCONF_DEBUG="no"
25 +GNOME2_LA_PUNT="yes"
26 +PYTHON_COMPAT=( python3_{3,4} )
27 +PYTHON_REQ_USE="threads"
28 +
29 +inherit gnome2 python-r1
30 +
31 +DESCRIPTION="Extensible screen reader that provides access to the desktop"
32 +HOMEPAGE="https://wiki.gnome.org/Projects/Orca"
33 +
34 +LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
35 +SLOT="0"
36 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
37 +
38 +IUSE="+braille"
39 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
40 +
41 +# liblouis is not in portage yet
42 +# it is used to provide contracted braille support
43 +# XXX: Check deps for correctness
44 +COMMON_DEPEND="${PYTHON_DEPS}
45 + >=app-accessibility/at-spi2-atk-2.10:2
46 + >=app-accessibility/at-spi2-core-2.10:2[introspection]
47 + >=dev-libs/atk-2.10
48 + >=dev-libs/glib-2.28:2
49 + >=dev-python/pygobject-3.10:3[${PYTHON_USEDEP}]
50 + >=x11-libs/gtk+-3.6.2:3[introspection]
51 + braille? (
52 + >=app-accessibility/brltty-5.0-r3[python,${PYTHON_USEDEP}]
53 + dev-libs/liblouis[python,${PYTHON_USEDEP}] )
54 +"
55 +RDEPEND="${COMMON_DEPEND}
56 + >=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}]
57 + dev-libs/atk[introspection]
58 + dev-python/pyatspi[${PYTHON_USEDEP}]
59 + dev-python/setproctitle[${PYTHON_USEDEP}]
60 + x11-libs/libwnck:3[introspection]
61 + x11-libs/pango[introspection]
62 +"
63 +DEPEND="${COMMON_DEPEND}
64 + >=dev-util/intltool-0.50
65 + virtual/pkgconfig
66 +"
67 +# app-text/yelp-tools
68 +
69 +src_prepare() {
70 + gnome2_src_prepare
71 +
72 + python_copy_sources
73 +}
74 +
75 +src_configure() {
76 + python_foreach_impl run_in_build_dir gnome2_src_configure \
77 + ITSTOOL="$(type -P true)" \
78 + $(use_with braille liblouis)
79 +}
80 +
81 +src_compile() {
82 + python_foreach_impl run_in_build_dir gnome2_src_compile
83 +}
84 +
85 +src_install() {
86 + DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO"
87 + installing() {
88 + gnome2_src_install
89 + # Massage shebang to make python_doscript happy
90 + sed -e 's:#!'"${PYTHON}:#!/usr/bin/python:" \
91 + -i src/orca/orca || die
92 + python_doscript src/orca/orca
93 + }
94 + python_foreach_impl run_in_build_dir installing
95 +}