1 |
teiresias 14/02/09 18:55:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: brltty-5.0.ebuild |
5 |
Log: |
6 |
New upstream version. |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x6521e06d) |
9 |
|
10 |
Revision Changes Path |
11 |
1.145 app-accessibility/brltty/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/brltty/ChangeLog?rev=1.145&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/brltty/ChangeLog?rev=1.145&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/brltty/ChangeLog?r1=1.144&r2=1.145 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-accessibility/brltty/ChangeLog,v |
20 |
retrieving revision 1.144 |
21 |
retrieving revision 1.145 |
22 |
diff -u -r1.144 -r1.145 |
23 |
--- ChangeLog 19 Jan 2014 10:17:26 -0000 1.144 |
24 |
+++ ChangeLog 9 Feb 2014 18:55:59 -0000 1.145 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for app-accessibility/brltty |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/ChangeLog,v 1.144 2014/01/19 10:17:26 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/ChangeLog,v 1.145 2014/02/09 18:55:59 teiresias Exp $ |
30 |
+ |
31 |
+*brltty-5.0 (09 Feb 2014) |
32 |
+ |
33 |
+ 09 Feb 2014; Christopher Brannon <teiresias@g.o> +brltty-5.0.ebuild, |
34 |
+ +files/brltty-5.0-fix-ldflags.patch, +files/brltty-5.0-respect-AR.patch, |
35 |
+ +files/brltty-5.0-udev.patch: |
36 |
+ New upstream version. |
37 |
|
38 |
19 Jan 2014; Agostino Sarubbo <ago@g.o> brltty-4.5-r3.ebuild: |
39 |
Stable for ppc64, wrt bug #495312 |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-accessibility/brltty/brltty-5.0.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/brltty/brltty-5.0.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/brltty/brltty-5.0.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: brltty-5.0.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/brltty-5.0.ebuild,v 1.1 2014/02/09 18:55:59 teiresias Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
FINDLIB_USE="ocaml" |
57 |
|
58 |
inherit findlib eutils multilib toolchain-funcs java-pkg-opt-2 flag-o-matic \ |
59 |
autotools udev systemd |
60 |
|
61 |
DESCRIPTION="Daemon that provides access to the Linux/Unix console for a blind person" |
62 |
HOMEPAGE="http://mielke.cc/brltty/" |
63 |
SRC_URI="http://mielke.cc/brltty/archive/${P}.tar.xz" |
64 |
|
65 |
LICENSE="GPL-2 LGPL-2.1" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86" |
68 |
IUSE="+api +beeper bluetooth +contracted-braille doc +fm gpm iconv icu |
69 |
java +learn-mode +midi ncurses nls ocaml +pcm python usb +speech |
70 |
tcl X" |
71 |
REQUIRED_USE="doc? ( api ) |
72 |
java? ( api ) |
73 |
ocaml? ( api ) |
74 |
python? ( api ) |
75 |
tcl? ( api )" |
76 |
|
77 |
COMMON_DEP="bluetooth? ( net-wireless/bluez ) |
78 |
gpm? ( >=sys-libs/gpm-1.20 ) |
79 |
iconv? ( virtual/libiconv ) |
80 |
icu? ( dev-libs/icu:= ) |
81 |
ncurses? ( sys-libs/ncurses ) |
82 |
nls? ( virtual/libintl ) |
83 |
python? ( >=dev-python/cython-0.16 ) |
84 |
tcl? ( >=dev-lang/tcl-8.4.15 ) |
85 |
usb? ( virtual/libusb:0 ) |
86 |
X? ( x11-libs/libXaw )" |
87 |
DEPEND="virtual/pkgconfig |
88 |
java? ( >=virtual/jdk-1.4 ) |
89 |
${COMMON_DEP}" |
90 |
RDEPEND="java? ( >=virtual/jre-1.4 ) |
91 |
${COMMON_DEP}" |
92 |
|
93 |
src_prepare() { |
94 |
epatch "${FILESDIR}"/${P}-fix-ldflags.patch \ |
95 |
"${FILESDIR}"/${P}-udev.patch \ |
96 |
"${FILESDIR}"/${P}-respect-AR.patch |
97 |
|
98 |
java-pkg-opt-2_src_prepare |
99 |
|
100 |
# We run eautoconf instead of using eautoreconf because brltty uses |
101 |
# a custom build system that uses autoconf without the rest of the |
102 |
# autotools. |
103 |
eautoconf |
104 |
} |
105 |
|
106 |
src_configure() { |
107 |
tc-export AR LD |
108 |
# override prefix in order to install into / |
109 |
# braille terminal needs to be available as soon in the boot process as |
110 |
# possible |
111 |
# Also override localstatedir so that the lib/brltty directory is installed |
112 |
# correctly. |
113 |
# Disable stripping since we do that ourselves. |
114 |
econf \ |
115 |
--prefix=/ \ |
116 |
--includedir=/usr/include \ |
117 |
--localstatedir=/var \ |
118 |
--disable-stripping \ |
119 |
--with-install-root="${D}" \ |
120 |
$(use_enable api) \ |
121 |
$(use_enable beeper beeper-support) \ |
122 |
$(use_enable contracted-braille) \ |
123 |
$(use_enable fm fm-support) \ |
124 |
$(use_enable gpm) \ |
125 |
$(use_enable iconv) \ |
126 |
$(use_enable icu) \ |
127 |
$(use_enable java java-bindings) \ |
128 |
$(use_enable learn-mode) \ |
129 |
$(use_enable midi midi-support) \ |
130 |
$(use_enable nls i18n) \ |
131 |
$(use_enable ocaml ocaml-bindings) \ |
132 |
$(use_enable pcm pcm-support) \ |
133 |
$(use_enable python python-bindings) \ |
134 |
$(use_enable speech speech-support) \ |
135 |
$(use_enable tcl tcl-bindings) \ |
136 |
$(use_enable X x) \ |
137 |
$(use_with bluetooth bluetooth-package) \ |
138 |
$(use_with ncurses curses) \ |
139 |
$(use_with usb usb-package) |
140 |
} |
141 |
|
142 |
src_compile() { |
143 |
local JAVAC_CONF="" |
144 |
local OUR_JNI_FLAGS="" |
145 |
if use java; then |
146 |
OUR_JNI_FLAGS="$(java-pkg_get-jni-cflags)" |
147 |
JAVAC_CONF="${JAVAC} -encoding UTF-8 $(java-pkg_javac-args)" |
148 |
fi |
149 |
|
150 |
emake JAVA_JNI_FLAGS="${OUR_JNI_FLAGS}" JAVAC="${JAVAC_CONF}" |
151 |
} |
152 |
|
153 |
src_install() { |
154 |
if use ocaml; then |
155 |
findlib_src_preinst |
156 |
fi |
157 |
|
158 |
emake OCAML_LDCONF= install |
159 |
|
160 |
if use java; then |
161 |
# make install puts the _java.so there, and no it's not $(get_libdir) |
162 |
rm -rf "${D}/usr/lib/java" |
163 |
java-pkg_doso Bindings/Java/libbrlapi_java.so |
164 |
java-pkg_dojar Bindings/Java/brlapi.jar |
165 |
fi |
166 |
|
167 |
insinto /etc |
168 |
doins Documents/brltty.conf |
169 |
udev_newrules Autostart/Udev/udev.rules 70-brltty.rules |
170 |
newinitd "${FILESDIR}"/brltty.rc brltty |
171 |
systemd_dounit Autostart/Systemd/brltty.service |
172 |
|
173 |
libdir="$(get_libdir)" |
174 |
mkdir -p "${D}"/usr/${libdir}/ |
175 |
mv "${D}"/${libdir}/*.a "${D}"/usr/${libdir}/ |
176 |
gen_usr_ldscript libbrlapi.so |
177 |
|
178 |
cd Documents |
179 |
mv Manual-BRLTTY/English/BRLTTY.txt BRLTTY-en.txt |
180 |
mv Manual-BRLTTY/French/BRLTTY.txt BRLTTY-fr.txt |
181 |
mv Manual-BrlAPI/English/BrlAPI.txt BrlAPI-en.txt |
182 |
dodoc CONTRIBUTORS ChangeLog HISTORY README* TODO BRLTTY-*.txt |
183 |
dohtml -r Manual-BRLTTY |
184 |
if use doc; then |
185 |
dohtml -r Manual-BrlAPI |
186 |
dodoc BrlAPI-*.txt |
187 |
fi |
188 |
} |
189 |
|
190 |
pkg_postinst() { |
191 |
elog |
192 |
elog please be sure "${ROOT}"etc/brltty.conf is correct for your system. |
193 |
elog |
194 |
elog To make brltty start on boot, type this command as root: |
195 |
elog |
196 |
elog rc-update add brltty boot |
197 |
} |