Files
guru/app-accessibility/mimic1/mimic1-9999.ebuild
Haelwenn (lanodan) Monnier 155630e436 app-accessibility/mimic1: Use repo as homepage instead of broad forum
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2025-10-17 00:40:05 +02:00

39 lines
893 B
Bash

# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
if [[ ${PV} == 9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/MycroftAI/mimic1.git"
else
SRC_URI="https://github.com/MycroftAI/mimic1/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Mycroft's TTS engine, based on CMU's Flite (Festival Lite)"
HOMEPAGE="https://github.com/MycroftAI/mimic1/"
LICENSE="BSD MIT public-domain freetts BSD-2 Apache-2.0"
SLOT="0"
# Note: supports Sun/NetBSD audio
IUSE="alsa portaudio pulseaudio oss"
DEPEND="
dev-libs/libpcre2
dev-libs/hts_engine
alsa? ( media-libs/alsa-lib )
portaudio? ( media-libs/portaudio )
pulseaudio? ( media-libs/libpulse )
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
sed -i 's/-Werror //' Makefile.am || die
eautoreconf
}