1 |
commit: 9fbc38f8dc6efe1db3ffe3619e7894fe25d7f880 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 30 09:28:36 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 30 10:49:03 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fbc38f8 |
7 |
|
8 |
app-accessibility/caribou: Version bump |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
app-accessibility/caribou/Manifest | 1 + |
13 |
app-accessibility/caribou/caribou-0.4.21.ebuild | 92 +++++++++++++++++++++++++ |
14 |
2 files changed, 93 insertions(+) |
15 |
|
16 |
diff --git a/app-accessibility/caribou/Manifest b/app-accessibility/caribou/Manifest |
17 |
index c789286..db74795 100644 |
18 |
--- a/app-accessibility/caribou/Manifest |
19 |
+++ b/app-accessibility/caribou/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST caribou-0.4.20.tar.xz 415148 SHA256 3a6664d5698c2b62a6c1c115743630d339ac237a7324bb354f2e5d55b4bb50d9 SHA512 e72a18462268278e0c07f178085eeff0e65ece6a9bf2f667c4ca66a66d173b39c68843c537ba6e8bd056c21575be592cece5f4f752f324c7f0db44fe28c45504 WHIRLPOOL e718ab799dcb8474c813e22fae1445d5a299d6c14dfa880cbe3da55793db867a8e5b5ef442a99e184a75a5b6fbf4d5719821a901d75ba69dba74db1d3473c437 |
22 |
+DIST caribou-0.4.21.tar.xz 426516 SHA256 9c43d9f4bd30f4fea7f780d4e8b14f7589107c52e9cb6bd202bd0d1c2064de55 SHA512 5fc0cf54a1cad50d41e659adbbb932b51d69d18951562f87497e99aaae17ac72b453b759dd7289ff8f68a79574dfce510b9de6bedc61408c14cb48b83eaf08da WHIRLPOOL 530a1b061cdadb12c31ad2e7b5686ca21db3da8066579fc6ba25a2b26418febeb58224eda61f27977507ed46db1cdbfd6afe4b555a970acdf9a580b30ac2174e |
23 |
|
24 |
diff --git a/app-accessibility/caribou/caribou-0.4.21.ebuild b/app-accessibility/caribou/caribou-0.4.21.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..8b7dee1 |
27 |
--- /dev/null |
28 |
+++ b/app-accessibility/caribou/caribou-0.4.21.ebuild |
29 |
@@ -0,0 +1,92 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+GNOME2_LA_PUNT="yes" |
36 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
37 |
+PYTHON_REQ_USE="xml" |
38 |
+ |
39 |
+inherit gnome2 python-r1 |
40 |
+ |
41 |
+DESCRIPTION="Input assistive technology intended for switch and pointer users" |
42 |
+HOMEPAGE="https://wiki.gnome.org/Projects/Caribou" |
43 |
+ |
44 |
+LICENSE="LGPL-2.1" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
47 |
+ |
48 |
+IUSE="" |
49 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
50 |
+ |
51 |
+COMMON_DEPEND=" |
52 |
+ app-accessibility/at-spi2-core |
53 |
+ >=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}] |
54 |
+ >=x11-libs/gtk+-3:3[introspection] |
55 |
+ x11-libs/gtk+:2 |
56 |
+ >=dev-libs/gobject-introspection-0.10.7:= |
57 |
+ dev-libs/libgee:0.8 |
58 |
+ dev-libs/libxml2 |
59 |
+ >=media-libs/clutter-1.5.11:1.0[introspection] |
60 |
+ x11-libs/libX11 |
61 |
+ x11-libs/libxklavier |
62 |
+ x11-libs/libXtst |
63 |
+" |
64 |
+# gsettings-desktop-schemas is needed for the 'toolkit-accessibility' key |
65 |
+# pyatspi-2.1.90 needed to run caribou if pygobject:3 is installed |
66 |
+# librsvg needed to load svg images in css styles |
67 |
+RDEPEND="${COMMON_DEPEND} |
68 |
+ dev-libs/glib[dbus] |
69 |
+ >=dev-python/pyatspi-2.1.90[${PYTHON_USEDEP}] |
70 |
+ >=gnome-base/gsettings-desktop-schemas-3 |
71 |
+ gnome-base/librsvg:2 |
72 |
+ sys-apps/dbus |
73 |
+" |
74 |
+DEPEND="${COMMON_DEPEND} |
75 |
+ dev-libs/libxslt |
76 |
+ >=dev-util/intltool-0.35.5 |
77 |
+ virtual/pkgconfig |
78 |
+" |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ # FIXME: Now this supports python3 too... |
82 |
+ # delete custom PYTHONPATH, useless on Gentoo and potential bug source |
83 |
+ # + caribou is python2 only so fix the shell scripts |
84 |
+# sed -e '/export PYTHONPATH=.*python/ d' \ |
85 |
+# -e "s:@PYTHON@:${EPREFIX}/usr/bin/python2:" \ |
86 |
+# -i bin/{antler-keyboard,caribou-preferences}.in || |
87 |
+# die "sed failed" |
88 |
+ |
89 |
+ gnome2_src_prepare |
90 |
+ |
91 |
+ prepare_caribou() { |
92 |
+ mkdir -p "${BUILD_DIR}" || die |
93 |
+ } |
94 |
+ python_foreach_impl prepare_caribou |
95 |
+} |
96 |
+ |
97 |
+src_configure() { |
98 |
+ ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir \ |
99 |
+ gnome2_src_configure \ |
100 |
+ --disable-docs \ |
101 |
+ --disable-static \ |
102 |
+ --enable-gtk3-module \ |
103 |
+ --enable-gtk2-module \ |
104 |
+ VALAC=$(type -P true) |
105 |
+ # vala is not needed for tarball builds, but configure checks for it... |
106 |
+} |
107 |
+ |
108 |
+src_compile() { |
109 |
+ python_foreach_impl run_in_build_dir gnome2_src_compile |
110 |
+} |
111 |
+ |
112 |
+src_test() { |
113 |
+ python_foreach_impl run_in_build_dir default |
114 |
+} |
115 |
+ |
116 |
+src_install() { |
117 |
+ python_foreach_impl run_in_build_dir gnome2_src_install |
118 |
+ |
119 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=769323 |
120 |
+ dodoc AUTHORS NEWS README # ChangeLog simply points to git log |
121 |
+} |