summaryrefslogtreecommitdiff
path: root/app-accessibility/flite/flite-2.2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-accessibility/flite/flite-2.2.ebuild')
-rw-r--r--app-accessibility/flite/flite-2.2.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/app-accessibility/flite/flite-2.2.ebuild b/app-accessibility/flite/flite-2.2.ebuild
index 0b4c34e70ff8..5833e0487797 100644
--- a/app-accessibility/flite/flite-2.2.ebuild
+++ b/app-accessibility/flite/flite-2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -44,7 +44,9 @@ SRC_URI="https://github.com/festvox/flite/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="BSD freetts public-domain regexp-UofT BSD-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
-IUSE="alsa oss pulseaudio voices"
+IUSE="alsa oss pulseaudio test voices"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( alsa )"
DEPEND="
pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
@@ -54,6 +56,7 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-1.4-audio-interface.patch
+ "${FILESDIR}"/${PN}-2.2-backport-pr30.patch
)
get_audio() {