1 |
commit: 60944549fb37913447bc1bb09717a28d9f53444f |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 3 17:31:38 2022 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 3 18:13:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60944549 |
7 |
|
8 |
app-accessibility/espeak-ng: add 1.51 |
9 |
|
10 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
11 |
|
12 |
app-accessibility/espeak-ng/Manifest | 1 + |
13 |
app-accessibility/espeak-ng/espeak-ng-1.51.ebuild | 76 +++++++++++++++++++++++ |
14 |
2 files changed, 77 insertions(+) |
15 |
|
16 |
diff --git a/app-accessibility/espeak-ng/Manifest b/app-accessibility/espeak-ng/Manifest |
17 |
index ca6c1169c145..c145ee48ff57 100644 |
18 |
--- a/app-accessibility/espeak-ng/Manifest |
19 |
+++ b/app-accessibility/espeak-ng/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST espeak-ng-1.50-ieee80.patch.xz 8128 BLAKE2B f9ae3b64d52f18b0dd4bb1ff1832d89fc22c319bccf3f7ada61628569857fded15a426703d035737b829fc8580707876ad09527380890f73df919740b40aa046 SHA512 4183fd13c902bdda27ac7e86fb4e4573ce85ca015aaea757aed27a869e4067a58c99b8f4d3e289710d1359d4fa289c2a4e6d5803845cd454c3dc59f79f4e2e80 |
22 |
DIST espeak-ng-1.50.tar.gz 13665536 BLAKE2B c64c2a474374d4b6fe13bf3a99f5dfb661923c13ebd6c0bc323e7f26d9d90945c7075cc5c8f4b51e5db3303632c8c9daca7a65a1883e09d7c3faf63dd725ea3f SHA512 297dd80a6cdae3e2b8acf6823475220ce89d6a5fb68ea303156ad52cb3e7388049b6921759d4ed4e3d2e2ebd19bf931259e454f74a2ac0b7ecf4ce56c1d60c0c |
23 |
+DIST espeak-ng-1.51.tar.gz 14260788 BLAKE2B 230e8860247bdd44a26ba7281fadb7486e7fff90de229c71fb883693badfc141d5ad883769d6cead150f43560a5c47152cada4fcb5a28c0b0384dacaad2c9d09 SHA512 6c29275706d21de2d5fa393702d2f173fc05d2ce4e2f46f3bf9a2742b0a8f294177663df0d079188e31cc2541f2c21a64e09e8afffe95befab667a4d00429fd2 |
24 |
|
25 |
diff --git a/app-accessibility/espeak-ng/espeak-ng-1.51.ebuild b/app-accessibility/espeak-ng/espeak-ng-1.51.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..345d810491c0 |
28 |
--- /dev/null |
29 |
+++ b/app-accessibility/espeak-ng/espeak-ng-1.51.ebuild |
30 |
@@ -0,0 +1,76 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit autotools |
37 |
+ |
38 |
+DESCRIPTION="Software speech synthesizer for English, and some other languages" |
39 |
+HOMEPAGE="https://github.com/espeak-ng/espeak-ng" |
40 |
+SRC_URI="https://github.com/espeak-ng/espeak-ng/archive/${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-3+ unicode" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
45 |
+IUSE="+async +klatt l10n_ru l10n_zh man mbrola +sound" |
46 |
+ |
47 |
+COMMON_DEPEND=" |
48 |
+ !app-accessibility/espeak |
49 |
+ mbrola? ( app-accessibility/mbrola ) |
50 |
+ sound? ( media-libs/pcaudiolib ) |
51 |
+" |
52 |
+DEPEND="${COMMON_DEPEND}" |
53 |
+RDEPEND="${COMMON_DEPEND} |
54 |
+ sound? ( media-sound/sox ) |
55 |
+" |
56 |
+BDEPEND=" |
57 |
+ virtual/pkgconfig |
58 |
+ man? ( || ( app-text/ronn-ng app-text/ronn ) ) |
59 |
+" |
60 |
+ |
61 |
+DOCS=( CHANGELOG.md README.md docs ) |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ default |
65 |
+ |
66 |
+ # disable failing tests |
67 |
+ rm tests/{language-pronunciation,translate}.test || die |
68 |
+ sed -i \ |
69 |
+ -e "/language-pronunciation.check/d" \ |
70 |
+ -e "/translate.check/d" \ |
71 |
+ Makefile.am || die |
72 |
+ |
73 |
+ eautoreconf |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ local econf_args |
78 |
+ econf_args=( |
79 |
+ $(use_with async) |
80 |
+ $(use_with klatt) |
81 |
+ $(use_with l10n_ru extdict-ru) |
82 |
+ $(use_with l10n_zh extdict-cmn) |
83 |
+ $(use_with l10n_zh extdict-yue) |
84 |
+ $(use_with mbrola) |
85 |
+ $(use_with sound pcaudiolib) |
86 |
+ --without-libfuzzer |
87 |
+ --without-speechplayer |
88 |
+ --without-sonic |
89 |
+ --disable-rpath |
90 |
+ --disable-static |
91 |
+ ) |
92 |
+ econf "${econf_args[@]}" |
93 |
+} |
94 |
+ |
95 |
+src_compile() { |
96 |
+ emake |
97 |
+} |
98 |
+ |
99 |
+src_test() { |
100 |
+ emake check |
101 |
+} |
102 |
+ |
103 |
+src_install() { |
104 |
+ emake DESTDIR="${D}" VIMDIR=/usr/share/vim/vimfiles install -j1 |
105 |
+ find "${ED}" -name '*.la' -delete || die |
106 |
+} |