mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 00:08:36 +03:00
app-accessibility/espeak-ng: drop 1.51, EAPI=7--
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
|||||||
DIST espeak-ng-1.51.tar.gz 14260788 BLAKE2B 230e8860247bdd44a26ba7281fadb7486e7fff90de229c71fb883693badfc141d5ad883769d6cead150f43560a5c47152cada4fcb5a28c0b0384dacaad2c9d09 SHA512 6c29275706d21de2d5fa393702d2f173fc05d2ce4e2f46f3bf9a2742b0a8f294177663df0d079188e31cc2541f2c21a64e09e8afffe95befab667a4d00429fd2
|
|
||||||
DIST espeak-ng-1.52.0.tar.gz 17739803 BLAKE2B ee522a44e0653d5154eefdb1533019d3e78e5af93a08ff97f64680e00f4ddeaa499f0214c82b2d43305e76cfc181011b0224f16b7ebdfcc1523496ef23af00d6 SHA512 28793503f2be00505c3fe1dada8197a4e2d3af0d143e31ef883130fe2685d048ae9dee8efab637cdbe972461d95e210d2277b8e8fed4ae580d0cca8b505b0662
|
DIST espeak-ng-1.52.0.tar.gz 17739803 BLAKE2B ee522a44e0653d5154eefdb1533019d3e78e5af93a08ff97f64680e00f4ddeaa499f0214c82b2d43305e76cfc181011b0224f16b7ebdfcc1523496ef23af00d6 SHA512 28793503f2be00505c3fe1dada8197a4e2d3af0d143e31ef883130fe2685d048ae9dee8efab637cdbe972461d95e210d2277b8e8fed4ae580d0cca8b505b0662
|
||||||
|
|||||||
@@ -1,80 +0,0 @@
|
|||||||
# Copyright 1999-2025 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit autotools
|
|
||||||
|
|
||||||
DESCRIPTION="Software speech synthesizer for English, and some other languages"
|
|
||||||
HOMEPAGE="https://github.com/espeak-ng/espeak-ng"
|
|
||||||
SRC_URI="https://github.com/espeak-ng/espeak-ng/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+ unicode"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86"
|
|
||||||
IUSE="+async +klatt l10n_ru l10n_zh man mbrola +sound"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
mbrola? ( app-accessibility/mbrola )
|
|
||||||
sound? ( media-libs/pcaudiolib )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
!app-accessibility/espeak
|
|
||||||
sound? ( media-sound/sox )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
man? ( app-text/ronn-ng )
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( CHANGELOG.md README.md docs )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# disable failing tests
|
|
||||||
rm tests/{language-pronunciation,translate}.test || die
|
|
||||||
sed -i \
|
|
||||||
-e "/language-pronunciation.check/d" \
|
|
||||||
-e "/translate.check/d" \
|
|
||||||
Makefile.am || die
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local econf_args
|
|
||||||
|
|
||||||
# https://bugs.gentoo.org/836646
|
|
||||||
export PULSE_SERVER=""
|
|
||||||
|
|
||||||
econf_args=(
|
|
||||||
$(use_with async)
|
|
||||||
$(use_with klatt)
|
|
||||||
$(use_with l10n_ru extdict-ru)
|
|
||||||
$(use_with l10n_zh extdict-cmn)
|
|
||||||
$(use_with l10n_zh extdict-yue)
|
|
||||||
$(use_with mbrola)
|
|
||||||
$(use_with sound pcaudiolib)
|
|
||||||
--without-libfuzzer
|
|
||||||
--without-speechplayer
|
|
||||||
--without-sonic
|
|
||||||
--disable-rpath
|
|
||||||
--disable-static
|
|
||||||
)
|
|
||||||
econf "${econf_args[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# bug #947014
|
|
||||||
emake check -j1
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" VIMDIR=/usr/share/vim/vimfiles install -j1
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user