mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-06 17:47:07 -08:00
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@gentoo.org>
This commit is contained in:
@@ -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."
|
||||
+5
-3
@@ -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() {
|
||||
Reference in New Issue
Block a user