public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/espeak-ng/
Date: Wed, 30 Jun 2021 22:08:39 +0000 (UTC)	[thread overview]
Message-ID: <1625090851.26f1515395e781c9a00654456599db862581ec1a.williamh@gentoo> (raw)

commit:     26f1515395e781c9a00654456599db862581ec1a
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 30 22:07:31 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jun 30 22:07:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26f15153

app-accessibility/espeak-ng: new package, replaces app-accessibility/espeak

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-accessibility/espeak-ng/Manifest              |  1 +
 app-accessibility/espeak-ng/espeak-ng-1.50.ebuild | 80 +++++++++++++++++++++++
 app-accessibility/espeak-ng/metadata.xml          | 24 +++++++
 3 files changed, 105 insertions(+)

diff --git a/app-accessibility/espeak-ng/Manifest b/app-accessibility/espeak-ng/Manifest
new file mode 100644
index 00000000000..a89c9b5ddaa
--- /dev/null
+++ b/app-accessibility/espeak-ng/Manifest
@@ -0,0 +1 @@
+DIST espeak-ng-1.50.tar.gz 13665536 BLAKE2B c64c2a474374d4b6fe13bf3a99f5dfb661923c13ebd6c0bc323e7f26d9d90945c7075cc5c8f4b51e5db3303632c8c9daca7a65a1883e09d7c3faf63dd725ea3f SHA512 297dd80a6cdae3e2b8acf6823475220ce89d6a5fb68ea303156ad52cb3e7388049b6921759d4ed4e3d2e2ebd19bf931259e454f74a2ac0b7ecf4ce56c1d60c0c

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 00000000000..4382cc4984e
--- /dev/null
+++ b/app-accessibility/espeak-ng/espeak-ng-1.50.ebuild
@@ -0,0 +1,80 @@
+# 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/espeak-ng/espeak-ng/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+ Turkowski unicode"
+SLOT="0"
+KEYWORDS="~amd64"
+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
+
+	# 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
+	emake -j1
+}
+
+src_test() {
+	emake check
+}
+
+src_install() {
+	emake DESTDIR="${D}" VIMDIR=/usr/share/vimfiles install
+	rm "${ED}"/usr/lib*/*.la || die
+}

diff --git a/app-accessibility/espeak-ng/metadata.xml b/app-accessibility/espeak-ng/metadata.xml
new file mode 100644
index 00000000000..8683d692251
--- /dev/null
+++ b/app-accessibility/espeak-ng/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<upstream>
+		<maintainer>
+			<name>Reece H. Dunn</name>
+			<email>msclrhd@gmail.com</email>
+		</maintainer>
+		<remote-id type="github">espeak-ng/espeak-ng</remote-id>
+		<changelog>https://github.com/espeak-ng/espeak-ng/releases.atom</changelog>
+	</upstream>
+	<maintainer type="person">
+		<email>williamh@gentoo.org</email>
+		<name>William Hubbs</name>
+	</maintainer>
+	<use>
+		<flag name="async">Enables asynchronous commands</flag>
+		<flag name="klatt">Enables Klatt formant synthesis and implementation</flag>
+		<flag name="l10n_ru">Builds extended Russian Dictionary file</flag>
+		<flag name="l10n_zh">Builds extended Chinese (Mandarin and Cantonese) Dictionary files</flag>
+		<flag name="man">Builds and installs manpage with app-text/ronn</flag>
+		<flag name="mbrola">Adds support for mbrola voices</flag>
+	</use>
+</pkgmetadata>


             reply	other threads:[~2021-06-30 22:08 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-30 22:08 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-07-07 17:10 [gentoo-commits] repo/gentoo:master commit in: app-accessibility/espeak-ng/ William Hubbs
2021-07-15 22:20 Sergei Trofimovich
2021-07-28  2:39 Sam James
2021-09-07  2:32 Sam James
2021-09-07 18:59 Sam James
2021-10-10 22:22 Sam James
2022-01-28  7:14 Sam James
2022-01-29  3:55 Sam James
2022-01-29  3:56 Sam James
2022-01-29  4:32 Sam James
2022-01-29  7:14 Sam James
2022-01-30 13:12 Yixun Lan
2022-02-11  9:09 Ulrich Müller
2022-02-11 22:24 Ulrich Müller
2022-02-11 22:39 William Hubbs
2022-02-13  8:48 William Hubbs
2022-02-13  8:48 William Hubbs
2022-02-15 18:31 Matt Turner
2022-03-01 11:28 Agostino Sarubbo
2022-03-01 11:29 Agostino Sarubbo
2022-03-01 11:30 Agostino Sarubbo
2022-03-01 11:42 Jakov Smolić
2022-03-02  9:08 Agostino Sarubbo
2022-03-07  3:47 Sam James
2022-03-07  3:51 Sam James
2022-04-03 18:14 William Hubbs
2022-04-04  1:48 William Hubbs
2022-04-04  2:19 William Hubbs
2022-05-26  5:20 WANG Xuerui
2022-06-11  7:36 Agostino Sarubbo
2022-06-11  7:37 Agostino Sarubbo
2022-06-11  7:37 Agostino Sarubbo
2022-06-11  7:39 Agostino Sarubbo
2022-06-11  7:40 Agostino Sarubbo
2022-06-11  7:40 Agostino Sarubbo
2022-06-12  8:32 Agostino Sarubbo
2023-04-08 23:20 Sam James
2023-06-10 20:13 William Hubbs
2023-06-10 20:13 William Hubbs
2024-12-26 22:50 William Hubbs
2024-12-27 12:19 Sam James
2025-01-18 15:50 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1625090851.26f1515395e781c9a00654456599db862581ec1a.williamh@gentoo \
    --to=williamh@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox