1 |
commit: 5382c38de4dee0e2502acb600f87ac6445d76b37 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 31 21:50:06 2016 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 31 21:57:49 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5382c38d |
7 |
|
8 |
app-accessibility/orca: fix dependency on gstreamer |
9 |
|
10 |
Requires introspection, also gst-python needed for complete introspection support. |
11 |
Drop outdated comment. |
12 |
|
13 |
Package-Manager: portage-2.3.0 |
14 |
|
15 |
app-accessibility/orca/orca-3.20.3-r1.ebuild | 73 ++++++++++++++++++++++++++++ |
16 |
1 file changed, 73 insertions(+) |
17 |
|
18 |
diff --git a/app-accessibility/orca/orca-3.20.3-r1.ebuild b/app-accessibility/orca/orca-3.20.3-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000..ce568b8 |
21 |
--- /dev/null |
22 |
+++ b/app-accessibility/orca/orca-3.20.3-r1.ebuild |
23 |
@@ -0,0 +1,73 @@ |
24 |
+# Copyright 1999-2016 Gentoo Foundation |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+# $Id$ |
27 |
+ |
28 |
+EAPI=6 |
29 |
+GNOME2_LA_PUNT="yes" |
30 |
+PYTHON_COMPAT=( python3_{3,4,5} ) |
31 |
+PYTHON_REQ_USE="threads" |
32 |
+ |
33 |
+inherit gnome2 python-r1 |
34 |
+ |
35 |
+DESCRIPTION="Extensible screen reader that provides access to the desktop" |
36 |
+HOMEPAGE="https://wiki.gnome.org/Projects/Orca" |
37 |
+ |
38 |
+LICENSE="LGPL-2.1+ CC-BY-SA-3.0" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
41 |
+ |
42 |
+IUSE="+braille" |
43 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
44 |
+ |
45 |
+COMMON_DEPEND="${PYTHON_DEPS} |
46 |
+ >=app-accessibility/at-spi2-atk-2.12:2 |
47 |
+ >=app-accessibility/at-spi2-core-2.12:2[introspection] |
48 |
+ >=dev-libs/atk-2.10 |
49 |
+ >=dev-libs/glib-2.28:2 |
50 |
+ dev-python/gst-python:1.0[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/pygobject-3.10:3[${PYTHON_USEDEP}] |
52 |
+ media-libs/gstreamer:1.0[introspection] |
53 |
+ >=x11-libs/gtk+-3.6.2:3[introspection] |
54 |
+ braille? ( |
55 |
+ >=app-accessibility/brltty-5.0-r3[python,${PYTHON_USEDEP}] |
56 |
+ dev-libs/liblouis[python,${PYTHON_USEDEP}] ) |
57 |
+" |
58 |
+RDEPEND="${COMMON_DEPEND} |
59 |
+ >=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}] |
60 |
+ dev-libs/atk[introspection] |
61 |
+ dev-python/pyatspi[${PYTHON_USEDEP}] |
62 |
+ dev-python/setproctitle[${PYTHON_USEDEP}] |
63 |
+ x11-libs/libwnck:3[introspection] |
64 |
+ x11-libs/pango[introspection] |
65 |
+" |
66 |
+DEPEND="${COMMON_DEPEND} |
67 |
+ >=dev-util/intltool-0.50 |
68 |
+ dev-util/itstool |
69 |
+ virtual/pkgconfig |
70 |
+" |
71 |
+# app-text/yelp-tools |
72 |
+ |
73 |
+src_prepare() { |
74 |
+ gnome2_src_prepare |
75 |
+ python_copy_sources |
76 |
+} |
77 |
+ |
78 |
+src_configure() { |
79 |
+ python_foreach_impl run_in_build_dir gnome2_src_configure \ |
80 |
+ $(use_with braille liblouis) |
81 |
+} |
82 |
+ |
83 |
+src_compile() { |
84 |
+ python_foreach_impl run_in_build_dir gnome2_src_compile |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ installing() { |
89 |
+ gnome2_src_install |
90 |
+ # Massage shebang to make python_doscript happy |
91 |
+ sed -e 's:#!'"${PYTHON}:#!/usr/bin/python:" \ |
92 |
+ -i src/orca/orca || die |
93 |
+ python_doscript src/orca/orca |
94 |
+ } |
95 |
+ python_foreach_impl run_in_build_dir installing |
96 |
+} |