From 1cc090c9c6ee1b093be537ce778bef42274ec907 Mon Sep 17 00:00:00 2001 From: idriskalp Date: Sat, 18 Jan 2020 17:47:47 +0300 Subject: [PATCH] flite 2.1 --- multimedia/sound/flite/actions.py | 15 ++++++++++----- multimedia/sound/flite/pspec.xml | 9 ++++++++- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/multimedia/sound/flite/actions.py b/multimedia/sound/flite/actions.py index 6eae5e69a5..4b8170cbe3 100644 --- a/multimedia/sound/flite/actions.py +++ b/multimedia/sound/flite/actions.py @@ -10,11 +10,16 @@ from pisi.actionsapi import shelltools from pisi.actionsapi import get #WorkDir = "flite-%s-current" % get.srcVERSION() + +NoStrip = ["/usr/lib"] -def setup(): - autotools.configure("--prefix=/usr \ - --with-audio=alsa \ - --with-vox=cmu_us_kal16") +def setup(): + #shelltools.system("sed '/^#VOXES.*$/d; s/+//g; s/cmu_indic_lex/&\nVOXES = cmu_us_kal16 cmu_us_slt/' config/android.lv >config/pisilinux.lv") + #shelltools.system("sed -i '/$(INSTALL) -m 755 $(BINDIR)\/flite_time $(DESTDIR)$(INSTALLBINDIR)/d' main/Makefile") + shelltools.export("LDFLAGS", "-lasound -lm") + autotools.configure("--prefix=/usr \ + --with-audio=alsa \ + --with-vox=cmu_us_kal16") def build(): autotools.make() @@ -22,4 +27,4 @@ def build(): def install(): autotools.install() - pisitools.dodoc("COPYING", "README") + pisitools.dodoc("COPYING", "README.md") diff --git a/multimedia/sound/flite/pspec.xml b/multimedia/sound/flite/pspec.xml index 1cc8f889c5..6a0444197f 100644 --- a/multimedia/sound/flite/pspec.xml +++ b/multimedia/sound/flite/pspec.xml @@ -13,7 +13,7 @@ library Flite: a small run-time speech synthesis engine Flite (festival-lite) is a small, fast run-time speech synthesis engine developed at CMU and primarily designed for small embedded machines and/or large servers. Flite is designed as an alternative synthesis engine to Festival for voices built using the FestVox suite of voice building tools. - http://www.festvox.org/flite/packed/flite-2.0/flite-2.0.0-release.tar.bz2 + http://festvox.org/flite/packed/flite-2.1/flite-2.1-release.tar.bz2 alsa-lib-devel chrpath @@ -46,6 +46,13 @@ + + 2020-01-18 + 2.1 + Version bump. + Idris Kalp + idriskalp@gmail.com + 2018-08-05 2.0.0