Diff espeak-ng-1.51 with a espeak-ng-9999
/usr/portage/app-accessibility/espeak-ng/espeak-ng-9999.ebuild 2023-10-09 14:52:28.132368316 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 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 | 6 |
inherit autotools |
7 | 7 | |
8 | 8 |
DESCRIPTION="Software speech synthesizer for English, and some other languages" |
9 | 9 |
HOMEPAGE="https://github.com/espeak-ng/espeak-ng" |
10 |
SRC_URI="https://github.com/espeak-ng/espeak-ng/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|
10 | ||
11 |
if [[ ${PV} == *9999* ]]; then |
|
12 |
EGIT_REPO_URI="https://github.com/espeak-ng/espeak-ng.git" |
|
13 |
inherit git-r3 |
|
14 |
else |
|
15 |
SRC_URI="https://github.com/espeak-ng/espeak-ng/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|
16 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
|
17 |
fi |
|
11 | 18 | |
12 | 19 |
LICENSE="GPL-3+ unicode" |
13 | 20 |
SLOT="0" |
14 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86" |
|
15 | 21 |
IUSE="+async +klatt l10n_ru l10n_zh man mbrola +sound" |
16 | 22 | |
17 | 23 |
DEPEND=" |
... | ... | |
57 | 63 |
$(use_with mbrola) |
58 | 64 |
$(use_with sound pcaudiolib) |
59 | 65 |
--without-libfuzzer |
60 |
--without-speechplayer |
|
61 | 66 |
--without-sonic |
62 | 67 |
--disable-rpath |
63 |
--disable-static |
|
64 | 68 |
) |
65 | 69 |
econf "${econf_args[@]}" |
66 | 70 |
} |
67 | 71 | |
68 |
src_compile() { |
|
69 |
emake |
|
70 |
} |
|
71 | ||
72 | 72 |
src_test() { |
73 | 73 |
emake check |
74 | 74 |
} |
75 | 75 | |
76 | 76 |
src_install() { |
77 |
emake DESTDIR="${D}" VIMDIR=/usr/share/vim/vimfiles install -j1 |
|
77 |
emake DESTDIR="${D}" VIMDIR=/usr/share/vim/vimfiles install |
|
78 | 78 |
find "${ED}" -name '*.la' -delete || die |
79 | 79 |
} |