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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 44BC51382C5 for ; Sat, 22 May 2021 18:45:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1E2AE0886; Sat, 22 May 2021 18:45:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A8BF1E0886 for ; Sat, 22 May 2021 18:45:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0087A340D72 for ; Sat, 22 May 2021 18:45:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F2BD797 for ; Sat, 22 May 2021 18:45:13 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1621696868.4c33171131bf99f12f49e41496dc072b708fdfed.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/espeak-ng/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-accessibility/espeak-ng/Manifest app-accessibility/espeak-ng/espeak-ng-1.50.ebuild app-accessibility/espeak-ng/metadata.xml X-VCS-Directories: app-accessibility/espeak-ng/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 4c33171131bf99f12f49e41496dc072b708fdfed X-VCS-Branch: master Date: Sat, 22 May 2021 18:45:13 +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: 7b94c9d5-cc4c-4e16-83e4-0f8078a88dce X-Archives-Hash: ed4b1a52318138e7454b9fdec57ebca7 commit: 4c33171131bf99f12f49e41496dc072b708fdfed Author: Anna Vyalkova sysrq in> AuthorDate: Sat May 22 13:06:29 2021 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sat May 22 15:21:08 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4c331711 app-accessibility/espeak-ng: initial import Signed-off-by: Anna Vyalkova sysrq.in> app-accessibility/espeak-ng/Manifest | 1 + app-accessibility/espeak-ng/espeak-ng-1.50.ebuild | 70 +++++++++++++++++++++++ app-accessibility/espeak-ng/metadata.xml | 24 ++++++++ 3 files changed, 95 insertions(+) diff --git a/app-accessibility/espeak-ng/Manifest b/app-accessibility/espeak-ng/Manifest new file mode 100644 index 000000000..c53c5a125 --- /dev/null +++ b/app-accessibility/espeak-ng/Manifest @@ -0,0 +1 @@ +DIST espeak-ng-1.50.tgz 21344932 BLAKE2B 02e0070ab7d0fba321e39e920ba60276d0046955eb40c042a3b0faf93967ae3b1ab88308ece32b7a623d92074943884b214aab13589511726823f0a5d11916de SHA512 753de58ceaf1bbbbe5cb19430cc04dd6bcee79080c8908ebe48645d52fdba5b6e7b1e2cab923220488f83a58e20364e93ba021868676fedfa5b8ede010aed443 diff --git a/app-accessibility/espeak-ng/espeak-ng-1.50.ebuild b/app-accessibility/espeak-ng/espeak-ng-1.50.ebuild new file mode 100644 index 000000000..912edc545 --- /dev/null +++ b/app-accessibility/espeak-ng/espeak-ng-1.50.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2021 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/${PN}/${PN}/releases/download/${PV}/${P}.tgz" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-3+ turkowski unicode" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc +klatt l10n_ru l10n_zh mbrola +sonic +sound" + +DEPEND=" + !app-accessibility/espeak + mbrola? ( app-accessibility/mbrola ) + sonic? ( media-libs/sonic ) + sound? ( media-libs/pcaudiolib ) +" +RDEPEND="${DEPEND} + sound? ( media-sound/sox ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/ronn ) +" + +DOCS=( CHANGELOG.md README.md docs ) + +src_prepare() { + default + + # disable failing tests + rm tests/{language-pronunciation,translate}.test || die + sed -e "/language-pronunciation.check/d" \ + -e "/translate.check/d" \ + -i Makefile.am || die + + sed "s/int samplerate;/static int samplerate;/" -i src/espeak-ng.c || die + + eautoreconf +} + +src_configure() { + econf \ + $(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) \ + $(use_with sonic) \ + --with-async \ + --without-libfuzzer \ + --disable-rpath +} + +src_test() { + emake check +} + +src_install() { + emake DESTDIR="${D}" VIMDIR=/usr/share/vimfiles install + rm "${ED}"/usr/lib*/libespeak.la || die + rm "${ED}"/usr/lib*/libespeak-ng.{a,la} || die +} diff --git a/app-accessibility/espeak-ng/metadata.xml b/app-accessibility/espeak-ng/metadata.xml new file mode 100644 index 000000000..8d0f51cd7 --- /dev/null +++ b/app-accessibility/espeak-ng/metadata.xml @@ -0,0 +1,24 @@ + + + + + + Reece H. Dunn + msclrhd@gmail.com + + espeak-ng/espeak-ng + https://github.com/espeak-ng/espeak-ng/releases.atom + + + cyber+gentoo@sysrq.in + Anna + + + Builds and installs manpage with app-text/ronn + Builds extended Russian Dictionary file + Builds extended Chinese (Mandarin and Cantonese) Dictionary files + Enables Klatt formant synthesis and implementation + Adds support for mbrola voices + Enables the sonic library to speed up the audio + +