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 8DE8813933E for ; Wed, 7 Jul 2021 17:10:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3AEFE0BD2; Wed, 7 Jul 2021 17:10:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B902BE0BD2 for ; Wed, 7 Jul 2021 17:10:19 +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 5AD47342B9C for ; Wed, 7 Jul 2021 17:10:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93F7C720 for ; Wed, 7 Jul 2021 17:10:16 +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: <1625677802.d9f06ef14e0da05bf7a6fbd2071aa1d20ea9aadf.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-9999.ebuild X-VCS-Directories: app-accessibility/espeak-ng/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: d9f06ef14e0da05bf7a6fbd2071aa1d20ea9aadf X-VCS-Branch: master Date: Wed, 7 Jul 2021 17:10:16 +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: a40a09ce-cd79-4503-8f26-e45b82477779 X-Archives-Hash: ed6eee982e75fd2e548da277e2366156 commit: d9f06ef14e0da05bf7a6fbd2071aa1d20ea9aadf Author: William Hubbs gentoo org> AuthorDate: Wed Jul 7 17:06:51 2021 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Jul 7 17:10:02 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9f06ef1 app-accessibility/espeak-ng: add live ebuild Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: William Hubbs gentoo.org> app-accessibility/espeak-ng/espeak-ng-9999.ebuild | 82 +++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/app-accessibility/espeak-ng/espeak-ng-9999.ebuild b/app-accessibility/espeak-ng/espeak-ng-9999.ebuild new file mode 100644 index 00000000000..941edd1d327 --- /dev/null +++ b/app-accessibility/espeak-ng/espeak-ng-9999.ebuild @@ -0,0 +1,82 @@ +# 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" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/espeak-ng/espeak-ng.git" + inherit git-r3 +else + SRC_URI="https://github.com/espeak-ng/espeak-ng/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3+ Turkowski unicode" +SLOT="0" +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 ) +" + +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 + 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-sonic + --disable-rpath + --disable-static + ) + econf "${econf_args[@]}" +} + +src_compile() { + # see docs/building.md + emake -j1 +} + +src_test() { + emake check +} + +src_install() { + emake DESTDIR="${D}" VIMDIR=/usr/share/vimfiles install + rm "${ED}"/usr/lib*/*.la || die +}