public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/espeak-ng/
Date: Fri, 28 Jan 2022 07:14:57 +0000 (UTC)	[thread overview]
Message-ID: <1643354078.629c12eac77f710cf35f1a7572bcfaa79d4c7053.sam@gentoo> (raw)

commit:     629c12eac77f710cf35f1a7572bcfaa79d4c7053
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 28 07:12:56 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 28 07:14:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=629c12ea

app-accessibility/espeak-ng: allow using  app-text/ronn-ng for USE=man

app-text/ronn will be last-rited soon.

Bug: https://bugs.gentoo.org/770907
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...eak-ng-9999.ebuild => espeak-ng-1.50-r1.ebuild} | 22 ++++++++++------------
 app-accessibility/espeak-ng/espeak-ng-9999.ebuild  |  4 ++--
 2 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/app-accessibility/espeak-ng/espeak-ng-9999.ebuild b/app-accessibility/espeak-ng/espeak-ng-1.50-r1.ebuild
similarity index 74%
copy from app-accessibility/espeak-ng/espeak-ng-9999.ebuild
copy to app-accessibility/espeak-ng/espeak-ng-1.50-r1.ebuild
index 941edd1d327b..95392dcb4fcb 100644
--- a/app-accessibility/espeak-ng/espeak-ng-9999.ebuild
+++ b/app-accessibility/espeak-ng/espeak-ng-1.50-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,17 +7,11 @@ 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
+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 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 IUSE="+async +klatt l10n_ru l10n_zh man mbrola +sound"
 
 COMMON_DEPEND="
@@ -31,7 +25,7 @@ RDEPEND="${COMMON_DEPEND}
 "
 BDEPEND="
 	virtual/pkgconfig
-	man? ( app-text/ronn )
+	man? ( || ( app-text/ronn-ng app-text/ronn ) )
 "
 
 DOCS=( CHANGELOG.md README.md docs )
@@ -46,6 +40,10 @@ src_prepare() {
 		-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
 }
 
@@ -55,8 +53,8 @@ src_configure() {
 		$(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 l10n_zh extdict-zh)
+		$(use_with l10n_zh extdict-zhy)
 		$(use_with mbrola)
 		$(use_with sound pcaudiolib)
 		--without-libfuzzer

diff --git a/app-accessibility/espeak-ng/espeak-ng-9999.ebuild b/app-accessibility/espeak-ng/espeak-ng-9999.ebuild
index 941edd1d327b..dfba4f0058bf 100644
--- a/app-accessibility/espeak-ng/espeak-ng-9999.ebuild
+++ b/app-accessibility/espeak-ng/espeak-ng-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -31,7 +31,7 @@ RDEPEND="${COMMON_DEPEND}
 "
 BDEPEND="
 	virtual/pkgconfig
-	man? ( app-text/ronn )
+	man? ( || ( app-text/ronn-ng app-text/ronn ) )
 "
 
 DOCS=( CHANGELOG.md README.md docs )


             reply	other threads:[~2022-01-28  7:15 UTC|newest]

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

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=1643354078.629c12eac77f710cf35f1a7572bcfaa79d4c7053.sam@gentoo \
    --to=sam@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