diff options
author | Sam James <sam@gentoo.org> | 2023-05-06 15:17:01 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-06 15:17:55 +0100 |
commit | 3428c19ea3f720363bb2b6ff56ccdc8fbd8dda18 (patch) | |
tree | 75a74eafc3bc849e617df97c08530f7ba571324e /media-sound/mangler | |
parent | app-i18n/translate-shell: update optfeature for espeak-ng (diff) | |
download | gentoo-3428c19ea3f720363bb2b6ff56ccdc8fbd8dda18.tar.gz gentoo-3428c19ea3f720363bb2b6ff56ccdc8fbd8dda18.tar.bz2 gentoo-3428c19ea3f720363bb2b6ff56ccdc8fbd8dda18.zip |
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>
Diffstat (limited to 'media-sound/mangler')
-rw-r--r-- | media-sound/mangler/files/mangler-1.2.5-espeak-ng.patch | 14 | ||||
-rw-r--r-- | media-sound/mangler/mangler-1.2.5-r4.ebuild (renamed from media-sound/mangler/mangler-1.2.5-r3.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 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() { |