commit: 267093a79a250bebbd0769d5c79a74cdc08120ea
parent: 36ca2d9baa47c676be973f0dc0b4f06b713860ea
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 27 Dec 2019 09:06:28 +0100
app-accessibility/mimic1: New package
Diffstat:
4 files changed, 74 insertions(+), 0 deletions(-)
diff --git a/app-accessibility/mimic1/Manifest b/app-accessibility/mimic1/Manifest
@@ -0,0 +1 @@
+DIST mimic1-1.2.0.2.tar.gz 457566646 BLAKE2B ce2e0b0e88141383f31b0caf611c323d8c94a7f3fdbfc05a765e6e6cd77297db9e53415cc81847eb45d809c3d85fe8e9b75432ef6bc31e0c0a4eca7b336a3d17 SHA512 9fec604e694b0cc7aba545bd5d3ab02c73660d472667192093ca60f3fec1425ae86067a051e552797703be868ceaf30dbc6c289383946f78086174ad647cae6e
diff --git a/app-accessibility/mimic1/metadata.xml b/app-accessibility/mimic1/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>contact@hacktivis.me</email>
+ <name>Haelwenn (lanodan) Monnier</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-accessibility/mimic1/mimic1-1.2.0.2.ebuild b/app-accessibility/mimic1/mimic1-1.2.0.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Mycroft's TTS engine, based on CMU's Flite (Festival Lite)"
+HOMEPAGE="https://mimic.mycroft.ai/"
+SRC_URI="https://github.com/MycroftAI/mimic1/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD MIT public-domain freetts BSD-2 Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+# Note: supports Sun audioio
+IUSE="alsa portaudio pulseaudio oss"
+
+DEPEND="
+ dev-libs/icu:=
+ alsa? ( media-libs/alsa-lib )
+ portaudio? ( media-libs/portaudio )
+ pulseaudio? ( media-sound/pulseaudio )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+
+ sed -i 's/-Werror//' Makefile.am || die "Failed removing -Werror"
+
+ eautoreconf
+}
diff --git a/app-accessibility/mimic1/mimic1-9999.ebuild b/app-accessibility/mimic1/mimic1-9999.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools git-r3
+
+DESCRIPTION="Mycroft's TTS engine, based on CMU's Flite (Festival Lite)"
+HOMEPAGE="https://mimic.mycroft.ai/"
+EGIT_REPO_URI="https://github.com/MycroftAI/mimic1.git"
+
+LICENSE="BSD MIT public-domain freetts BSD-2 Apache-2.0"
+SLOT="0"
+IUSE="alsa portaudio pulseaudio oss"
+
+DEPEND="
+ dev-libs/libpcre2
+ dev-libs/hts_engine
+ alsa? ( media-libs/alsa-lib )
+ portaudio? ( media-libs/portaudio )
+ pulseaudio? ( media-sound/pulseaudio )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+
+ sed -i 's/-Werror//' Makefile.am
+
+ eautoreconf
+}