blob: 063c92f10fe75329530082e8f7e94e8582eec3ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speakup/speakup-9999.ebuild,v 1.5 2010/10/21 19:12:16 williamh Exp $
EAPI="2"
EGIT_REPO_URI="http://linux-speakup.org/speakup.git"
inherit git linux-mod
DESCRIPTION="The speakup linux kernel based screen reader."
HOMEPAGE="http://linux-speakup.org"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="modules"
MODULE_NAMES="speakup(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_acntpc(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_acntsa(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_apollo(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_audptr(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_bns(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_decext(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_decpc(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_dectlk(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_dtlk(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_dummy(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_keypc(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_ltlk(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_soft(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_spkout(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
speakup_txprt(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)"
BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
BUILD_TARGETS="clean all"
src_prepare() {
use modules && cmd=die || cmd=ewarn
if kernel_is lt 2 6 36; then
$cmd "Speakup requires at least kernel version 2.6.36"
fi
}
src_compile() {
use modules && linux-mod_src_compile
}
src_install() {
use modules && linux-mod_src_install
dodoc Bugs.txt README To-Do
dodoc drivers/staging/speakup/DefaultKeyAssignments
dodoc drivers/staging/speakup/spkguide.txt
}
pkg_postinst() {
use modules && linux-mod_pkg_postinst
elog "You must set up the speech synthesizer driver to be loaded"
elog "automatically in order for your system to start speaking"
elog "when it is booted."
if has_version "<sys-apps/baselayout-2"; then
elog "this is done via /etc/modules.autoload.d/kernel-2.6"
else
elog "This is done via /etc/conf.d/modules."
fi
}
|