Сравнение espeak-ng-1.51 с espeak-ng-9999
| /usr/portage/app-accessibility/espeak-ng/espeak-ng-9999.ebuild 2025-07-29 16:22:12.508447790 +0300 | ||
|---|---|---|
| 1 | 1 |
# Copyright 1999-2025 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 ~loong ~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 ~loong ppc ppc64 ~riscv sparc x86" |
|
| 15 |
IUSE="+async +klatt l10n_ru l10n_zh man mbrola +sound" |
|
| 21 |
IUSE="+async +klatt l10n_ru l10n_zh man mbrola +sound test" |
|
| 22 |
RESTRICT="!test? ( test )" |
|
| 16 | 23 | |
| 17 | 24 |
DEPEND=" |
| 18 | 25 |
mbrola? ( app-accessibility/mbrola ) |
| ... | ... | |
| 25 | 32 |
BDEPEND=" |
| 26 | 33 |
virtual/pkgconfig |
| 27 | 34 |
man? ( app-text/ronn-ng ) |
| 35 |
test? ( sys-apps/which ) |
|
| 28 | 36 |
" |
| 29 | 37 | |
| 30 | 38 |
DOCS=( CHANGELOG.md README.md docs ) |
| ... | ... | |
| 57 | 65 |
$(use_with mbrola) |
| 58 | 66 |
$(use_with sound pcaudiolib) |
| 59 | 67 |
--without-libfuzzer |
| 60 |
--without-speechplayer |
|
| 61 | 68 |
--without-sonic |
| 62 | 69 |
--disable-rpath |
| 63 |
--disable-static |
|
| 64 | 70 |
) |
| 65 | 71 |
econf "${econf_args[@]}"
|
| 66 | 72 |
} |
| 67 | 73 | |
| 68 |
src_compile() {
|
|
| 69 |
emake |
|
| 70 |
} |
|
| 71 | ||
| 72 | 74 |
src_test() {
|
| 73 | 75 |
# bug #947014 |
| 74 | 76 |
emake check -j1 |
| 75 | 77 |
} |
| 76 | 78 | |
| 77 | 79 |
src_install() {
|
| 78 |
emake DESTDIR="${D}" VIMDIR=/usr/share/vim/vimfiles install -j1
|
|
| 80 |
emake DESTDIR="${D}" VIMDIR=/usr/share/vim/vimfiles install
|
|
| 79 | 81 |
find "${ED}" -name '*.la' -delete || die
|
| 80 | 82 |
} |