Diff speechd-el-2.8 with a speechd-el-2.11

/usr/portage/app-accessibility/speechd-el/speechd-el-2.11.ebuild 2023-10-09 14:52:28.136368316 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit elisp
6
inherit optfeature readme.gentoo-r1 elisp
7 7

  
8 8
DESCRIPTION="Emacs speech support"
9
HOMEPAGE="https://www.freebsoft.org/speechd-el"
10
SRC_URI="https://www.freebsoft.org/pub/projects/speechd-el/${P}.tar.gz"
9
HOMEPAGE="https://www.freebsoft.org/speechd-el
10
	https://github.com/brailcom/speechd-el"
11
SRC_URI="https://github.com/brailcom/${PN}/archive/${P}.tar.gz"
12
S="${WORKDIR}"/${PN}-${P}
11 13

  
12
LICENSE="GPL-3"
14
LICENSE="GPL-3+"
13 15
SLOT="0"
14 16
KEYWORDS="amd64 ppc x86"
15 17

  
16 18
RDEPEND=">=app-accessibility/speech-dispatcher-0.7"
17 19

  
20
DOC_CONTENTS="To get Emacs to speak execute:
21
M-x speechd-speak RET
22

  
23
or add following to your initialization file (~/.emacs):
24
(speechd-speak)"
25
DISABLE_AUTOFORMATTING=YES
26

  
27
SITEFILE="50${PN}-gentoo.el"
28

  
18 29
src_compile() {
19 30
	emake
20 31
}
21 32

  
22 33
src_install() {
23
	elisp-install ${PN} *.el *.elc
34
	elisp_src_install
35

  
24 36
	dobin speechd-log-extractor
25 37
	dodoc ANNOUNCE NEWS README speechd-speak.pdf
26
	doinfo speechd-el.info
38
	doinfo ${PN}.info
27 39
}
28 40

  
29 41
pkg_postinst() {
30
	elog "Execute the following commands from within emacs to get it to speak:"
31
	elog "  M-x load-library RET speechd-speak RET"
32
	elog "  M-x speechd-speak RET"
33
	elog
34
	elog "or add the following to your ~/.emacs file:"
35
	elog
36
	elog "(autoload 'speechd-speak \"speechd-speak\" nil t)"
37
	elog '(speechd-speak)'
38
	elog
39
	elog "Also, if you nead braille support, you will need to install"
40
	elog "app-accessibility/brltty"
42
	elisp_pkg_postinst
43

  
44
	optfeature "braille support" "app-accessibility/brltty"
41 45
}
Thank you!