diff options
Diffstat (limited to 'app-accessibility')
-rw-r--r-- | app-accessibility/speakup/ChangeLog | 11 | ||||
-rw-r--r-- | app-accessibility/speakup/speakup-3.1.6_p201011120508.ebuild | 73 |
2 files changed, 83 insertions, 1 deletions
diff --git a/app-accessibility/speakup/ChangeLog b/app-accessibility/speakup/ChangeLog index 00e83450505c..2aee6531d828 100644 --- a/app-accessibility/speakup/ChangeLog +++ b/app-accessibility/speakup/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-accessibility/speakup # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speakup/ChangeLog,v 1.52 2010/12/09 04:08:50 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speakup/ChangeLog,v 1.53 2010/12/13 20:51:00 williamh Exp $ + +*speakup-3.1.6_p201011120508 (13 Dec 2010) + + 13 Dec 2010; William Hubbs <williamh@gentoo.org> + +speakup-3.1.6_p201011120508.ebuild: + This snapshot is required for kernel 2.6.36, so since it is stable on + x86, I am taking this straight to stable. + I am also comfortable doing this because I am part of upstream and have + been using it. 09 Dec 2010; William Hubbs <williamh@gentoo.org> speakup-3.1.6.ebuild, speakup-9999.ebuild: diff --git a/app-accessibility/speakup/speakup-3.1.6_p201011120508.ebuild b/app-accessibility/speakup/speakup-3.1.6_p201011120508.ebuild new file mode 100644 index 000000000000..f0e3299e447b --- /dev/null +++ b/app-accessibility/speakup/speakup-3.1.6_p201011120508.ebuild @@ -0,0 +1,73 @@ +# 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-3.1.6_p201011120508.ebuild,v 1.1 2010/12/13 20:51:00 williamh Exp $ + +EAPI="2" + +inherit linux-mod + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="http://linux-speakup.org/speakup.git" + inherit git + KEYWORDS="" +else + SRC_URI="ftp://linux-speakup.org/pub/speakup/${P}.tar.bz2" + KEYWORDS="~amd64 x86" +fi + +DESCRIPTION="The speakup linux kernel based screen reader." +HOMEPAGE="http://linux-speakup.org" + +LICENSE="GPL-2" +SLOT="0" +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 +} |