Gentoo Archives: gentoo-commits

From: "William Hubbs (williamh)" <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-accessibility/brltty: ChangeLog brltty-3.9.ebuild
Date: Sat, 05 Jan 2008 22:50:12
Message-Id: E1JBHn0-00046k-9s@stork.gentoo.org
1 williamh 08/01/05 22:46:50
2
3 Modified: ChangeLog
4 Added: brltty-3.9.ebuild
5 Log:
6 Version bump. Also, I reworked the startup script so that brltty will start earlier in the boot process.
7 (Portage version: 2.1.4_rc14)
8
9 Revision Changes Path
10 1.67 app-accessibility/brltty/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/brltty/ChangeLog?rev=1.67&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/brltty/ChangeLog?rev=1.67&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/brltty/ChangeLog?r1=1.66&r2=1.67
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-accessibility/brltty/ChangeLog,v
19 retrieving revision 1.66
20 retrieving revision 1.67
21 diff -u -r1.66 -r1.67
22 --- ChangeLog 1 Jan 2008 04:58:10 -0000 1.66
23 +++ ChangeLog 5 Jan 2008 22:46:49 -0000 1.67
24 @@ -1,6 +1,13 @@
25 # ChangeLog for app-accessibility/brltty
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/ChangeLog,v 1.66 2008/01/01 04:58:10 williamh Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/ChangeLog,v 1.67 2008/01/05 22:46:49 williamh Exp $
29 +
30 +*brltty-3.9 (05 Jan 2008)
31 +
32 + 05 Jan 2008; William Hubbs <williamh@g.o> files/brltty.rc,
33 + +brltty-3.9.ebuild:
34 + Version bump. Also, I reworked the startup script so that brltty will start
35 + early in the boot process.
36
37 01 Jan 2008; William Hubbs <williamh@g.o>
38 -files/brltty-3.7.2-linux-compiler-h.patch,
39
40
41
42 1.1 app-accessibility/brltty/brltty-3.9.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/brltty/brltty-3.9.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/brltty/brltty-3.9.ebuild?rev=1.1&content-type=text/plain
46
47 Index: brltty-3.9.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-accessibility/brltty/brltty-3.9.ebuild,v 1.1 2008/01/05 22:46:49 williamh Exp $
52
53 inherit eutils multilib toolchain-funcs
54
55 DESCRIPTION="Daemon that provides access to the Linux/Unix console for a blind person"
56 HOMEPAGE="http://mielke.cc/brltty/"
57 SRC_URI="http://mielke.cc/brltty/releases/${P}.tar.gz"
58
59 LICENSE="GPL-2 LGPL-2.1"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
62 IUSE="bluetooth doc gpm iconv java nls ocaml python usb tcl X"
63
64 DEPEND="bluetooth? ( net-wireless/bluez-libs )
65 gpm? ( >=sys-libs/gpm-1.20 )
66 iconv? ( virtual/libiconv )
67 java? ( virtual/jdk )
68 nls? ( virtual/libintl )
69 ocaml? ( >=dev-lang/ocaml-3.09.3-r1 )
70 python? ( >=dev-python/pyrex-0.9.4.1 )
71 tcl? ( >=dev-lang/tcl-8.4.15 )
72 usb? ( >=dev-libs/libusb-0.1.12-r1 )
73 X? ( x11-libs/libXaw )"
74
75 src_compile() {
76 econf --prefix=/ \
77 $(use_enable bluetooth) \
78 $(use_enable gpm) \
79 $(use_enable iconv) \
80 $(use_enable java java-bindings) \
81 $(use_enable nls i18n) \
82 $(use_enable ocaml caml-bindings) \
83 $(use_enable python python-bindings) \
84 $(use_enable usb usb-support) \
85 $(use_enable tcl tcl-bindings) \
86 $(use_with X x) \
87 --includedir=/usr/include || die
88 emake || die
89 }
90
91 src_install() {
92 make INSTALL_PROGRAM="\${INSTALL_SCRIPT}" INSTALL_ROOT="${D}" install || die
93
94
95 cd Documents
96 rm *.made
97 dodoc ChangeLog README* Manual.* TODO
98 dohtml -r Manual-HTML
99 if use doc; then
100 dodoc BrlAPI.* BrlAPIref.doxy
101 dohtml -r BrlAPI-HTML BrlAPIref-HTML
102 fi
103
104 insinto /etc
105 doins brltty.conf
106 newinitd "${FILESDIR}"/brltty.rc brltty
107
108 libdir="$(get_libdir)"
109 mkdir -p "${D}"/usr/${libdir}/
110 mv "${D}"/${libdir}/*.a "${D}"/usr/${libdir}/
111 gen_usr_ldscript libbrlapi.so
112 # TMPDIR=../../Programs scanelf -RBXr "${D}" -o /dev/null
113 }
114
115 pkg_postinst() {
116 elog
117 elog please be sure "${ROOT}"etc/brltty.conf is correct for your system.
118 elog
119 elog To make brltty start on boot, type this command as root:
120 elog
121 elog rc-update add brltty boot
122 }
123
124
125
126 --
127 gentoo-commits@g.o mailing list