* [gentoo-commits] repo/gentoo:master commit in: media-sound/mangler/, media-sound/mangler/files/
@ 2023-05-06 14:18 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2023-05-06 14:18 UTC (permalink / raw
To: gentoo-commits
commit: 3428c19ea3f720363bb2b6ff56ccdc8fbd8dda18
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 6 14:17:01 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 6 14:17:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3428c19e
media-sound/mangler: support espeak-ng
At this point, you can't really have espeak installed anyway because so much
stuff unconditionally depends on espeak-ng, so hard-switch this too.
Bug: https://bugs.gentoo.org/877221
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-sound/mangler/files/mangler-1.2.5-espeak-ng.patch | 14 ++++++++++++++
.../{mangler-1.2.5-r3.ebuild => mangler-1.2.5-r4.ebuild} | 8 +++++---
2 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/media-sound/mangler/files/mangler-1.2.5-espeak-ng.patch b/media-sound/mangler/files/mangler-1.2.5-espeak-ng.patch
new file mode 100644
index 000000000000..45db427d70b4
--- /dev/null
+++ b/media-sound/mangler/files/mangler-1.2.5-espeak-ng.patch
@@ -0,0 +1,14 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -117,9 +117,9 @@ if test "$disable_ui" != "yes" ; then
+ fi
+
+ if test "$enable_espeak" != "no" ; then
+- AC_CHECK_LIB([espeak], [espeak_Initialize], [
++ AC_CHECK_LIB([espeak-ng], [espeak_Initialize], [
+ AC_DEFINE(HAVE_ESPEAK, 1, [have espeak])
+- LIBS="-lespeak $LIBS"
++ LIBS="-lespeak-ng $LIBS"
+ echo "Enabled optional eSpeak support."
+ ], [
+ echo "Optional eSpeak support is not enabled."
diff --git a/media-sound/mangler/mangler-1.2.5-r3.ebuild b/media-sound/mangler/mangler-1.2.5-r4.ebuild
similarity index 89%
rename from media-sound/mangler/mangler-1.2.5-r3.ebuild
rename to media-sound/mangler/mangler-1.2.5-r4.ebuild
index 8241de78acc2..4e9b84ac88b8 100644
--- a/media-sound/mangler/mangler-1.2.5-r3.ebuild
+++ b/media-sound/mangler/mangler-1.2.5-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -24,18 +24,20 @@ RDEPEND="
x11-libs/libXi
alsa? ( media-libs/alsa-lib )
opus? ( media-libs/opus )
- espeak? ( app-accessibility/espeak )
+ espeak? ( app-accessibility/espeak-ng )
g15? ( app-misc/g15daemon )
gsm? ( media-sound/gsm )
pulseaudio? ( >=media-sound/pulseaudio-0.9.14 )
speex? ( >=media-libs/speex-1.2_rc1 )
- xosd? ( x11-libs/xosd )"
+ xosd? ( x11-libs/xosd )
+"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/mangler-version-info.patch"
"${FILESDIR}/fix_ftbfs_narrowing_conversion.patch"
+ "${FILESDIR}/mangler-1.2.5-espeak-ng.patch"
)
src_prepare() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-06 14:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-06 14:18 [gentoo-commits] repo/gentoo:master commit in: media-sound/mangler/, media-sound/mangler/files/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox