From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C8C0415808B for ; Sun, 13 Feb 2022 08:48:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D12A1E0877; Sun, 13 Feb 2022 08:48:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ACF1FE0875 for ; Sun, 13 Feb 2022 08:48:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ABF1C343380 for ; Sun, 13 Feb 2022 08:48:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4737B250 for ; Sun, 13 Feb 2022 08:48:35 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1644742109.5ce13b8297859a360466e7f8794d0bda12b0702c.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/espeak-ng/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-accessibility/espeak-ng/espeak-ng-1.50-r3.ebuild X-VCS-Directories: app-accessibility/espeak-ng/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 5ce13b8297859a360466e7f8794d0bda12b0702c X-VCS-Branch: master Date: Sun, 13 Feb 2022 08:48:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 69a43ff2-4362-4e49-871a-d5a7b70a7e40 X-Archives-Hash: f4b404e22872bbdce5b44a8100d3d99b commit: 5ce13b8297859a360466e7f8794d0bda12b0702c Author: Anna Vyalkova sysrq in> AuthorDate: Sun Feb 13 08:38:04 2022 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun Feb 13 08:48:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce13b82 app-accessibility/espeak-ng: 1.50-r3 bump - fix installation path of vimfiles - fix removal of *.la files Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Anna Vyalkova sysrq.in> Signed-off-by: William Hubbs gentoo.org> .../espeak-ng/espeak-ng-1.50-r3.ebuild | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/app-accessibility/espeak-ng/espeak-ng-1.50-r3.ebuild b/app-accessibility/espeak-ng/espeak-ng-1.50-r3.ebuild new file mode 100644 index 000000000000..cef1fe386ed7 --- /dev/null +++ b/app-accessibility/espeak-ng/espeak-ng-1.50-r3.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2022 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 + https://dev.gentoo.org/~ulm/distfiles/${P}-ieee80.patch.xz" + +LICENSE="GPL-3+ unicode" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+async +klatt l10n_ru l10n_zh man mbrola +sound" + +COMMON_DEPEND=" + !app-accessibility/espeak + mbrola? ( app-accessibility/mbrola ) + sound? ( media-libs/pcaudiolib ) +" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + sound? ( media-sound/sox ) +" +BDEPEND=" + virtual/pkgconfig + man? ( || ( app-text/ronn-ng app-text/ronn ) ) +" + +PATCHES=( "${WORKDIR}"/${P}-ieee80.patch ) + +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 + + # https://github.com/espeak-ng/espeak-ng/issues/699 + # fixed in master + sed -i -e "s/int samplerate;/static int samplerate;/" src/espeak-ng.c || die + + eautoreconf +} + +src_configure() { + local econf_args + econf_args=( + $(use_with async) + $(use_with klatt) + $(use_with l10n_ru extdict-ru) + $(use_with l10n_zh extdict-zh) + $(use_with l10n_zh extdict-zhy) + $(use_with mbrola) + $(use_with sound pcaudiolib) + --without-libfuzzer + --without-sonic + --disable-rpath + --disable-static + ) + econf "${econf_args[@]}" +} + +src_compile() { + # see docs/building.md + # The -j1s from compile/test/install may be droppable in next release + # (after 1.50). Several bugs have been fixed upstream in git. + emake -j1 +} + +src_test() { + emake check -j1 +} + +src_install() { + emake DESTDIR="${D}" VIMDIR=/usr/share/vim/vimfiles install -j1 + find "${ED}" -name '*.la' -delete || die +}