summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-accessibility/festival-fi/ChangeLog16
-rw-r--r--app-accessibility/festival-fi/Manifest7
-rw-r--r--app-accessibility/festival-fi/festival-fi-20041119.ebuild47
-rw-r--r--app-accessibility/festival-fi/files/festival-fi-20041119_lavennin_path.patch18
-rw-r--r--app-accessibility/festival-fi/metadata.xml9
5 files changed, 97 insertions, 0 deletions
diff --git a/app-accessibility/festival-fi/ChangeLog b/app-accessibility/festival-fi/ChangeLog
new file mode 100644
index 000000000000..5e13767c7b56
--- /dev/null
+++ b/app-accessibility/festival-fi/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for app-accessibility/festival-fi
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival-fi/ChangeLog,v 1.4 2009/11/01 20:50:56 eva Exp $
+
+ 08 May 2009; William Hubbs <williamh@gentoo.org>
+ festival-fi-20041119.ebuild:
+ removed the unpack call from src_prepare since that is handled in
+ src_unpack.
+
+*festival-fi-20041119 (08 May 2009)
+
+ 08 May 2009; Jesus Rivero <neurogeek@gentoo.org>
+ +files/festival-fi-20041119_lavennin_path.patch, +metadata.xml,
+ +festival-fi-20041119.ebuild:
+ Initial commit. Closes bug #141113
+
diff --git a/app-accessibility/festival-fi/Manifest b/app-accessibility/festival-fi/Manifest
new file mode 100644
index 000000000000..f687f4166033
--- /dev/null
+++ b/app-accessibility/festival-fi/Manifest
@@ -0,0 +1,7 @@
+AUX festival-fi-20041119_lavennin_path.patch 449 RMD160 58c4001e8e23fca1ead493d974a0c8ad0976914f SHA1 f4e35354ffbc9b9e8dbda4e4a0f1be5558b7fa69 SHA256 b54abb9e6da39b2e9a8b75ed73336596ea8a0e8f7be443b22664a93844bba4d2
+DIST hy_fi_mv_diphone-20041119.tgz 3670516 RMD160 0a0d9c8e9600e5a431c3b11bb812038c81f47292 SHA1 8df7993693a054f4ed72223b236c9f32265f1c67 SHA256 6d1e93cdf6c40fe15615e0d31edbe21198cf8e5c8f1cd734a09719843e80b988
+DIST lavennin-20041119.tgz 172438 RMD160 e7381c6c07e77c056589a5051dcf1c5e84a8c62f SHA1 56739f9a51bb6996f6c4598d156fe0662ee89f14 SHA256 db47f99c85f3c46ca4598365b6e0885b6f1407460d4e7e355d3b09f865ba451f
+DIST suo_fi_lj-1.0g-20051204.tgz 5928158 RMD160 61fd8ffa82644f815300c25affd1a408083040dd SHA1 3939c1d9b9f015e0d7a8d40ac5a29f2658c46653 SHA256 d9c4dbbb8f1701dc5a0ef99b4aa1317266873e49b6b97163590abade952f8588
+EBUILD festival-fi-20041119.ebuild 1339 RMD160 1399913324c58a4d83b3708e8aea3bf409abb8fc SHA1 5ef41a216fe4c99976594e9038d7cea7d8cc7ac0 SHA256 3184403a6e96290d947d1c4a4d30e0ea312cb919367a094ecf75ee15daddaef3
+MISC ChangeLog 628 RMD160 12cd0f9b0cdf7d9f40473aaa32725aaa4f065e22 SHA1 ebe85e707b8d949fff13974f55cfcdc33496274b SHA256 65f4e2396a5593eae4252b2973211681c1019d8255d9248c702e343680126831
+MISC metadata.xml 254 RMD160 1bdd7548a3a765969cea23bdc9e560d967287d28 SHA1 dde9294caeccbfea75f8d074d4db9e4da6824dfd SHA256 fd978609171488dccc0f7c39c193ee72e829dc7c3b26efeb97a52b7b6be6109e
diff --git a/app-accessibility/festival-fi/festival-fi-20041119.ebuild b/app-accessibility/festival-fi/festival-fi-20041119.ebuild
new file mode 100644
index 000000000000..296ef76fa49a
--- /dev/null
+++ b/app-accessibility/festival-fi/festival-fi-20041119.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival-fi/festival-fi-20041119.ebuild,v 1.4 2009/11/01 20:50:56 eva Exp $
+
+EAPI="2"
+inherit eutils
+
+DESCRIPTION="Finnish diphones and text to speech script for festival"
+HOMEPAGE="http://www.ling.helsinki.fi/suopuhe"
+SRC_URI="http://www.ling.helsinki.fi/suopuhe/download/hy_fi_mv_diphone-${PV}.tgz
+ http://phon.joensuu.fi/suopuhe/tulosaineisto/suo_fi_lj-1.0g-20051204.tgz
+ http://www.ling.helsinki.fi/suopuhe/download/lavennin-${PV}.tgz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="perl"
+
+RDEPEND=">=app-accessibility/festival-1.96_beta"
+DEPEND=""
+
+src_prepare(){
+ cd "${WORKDIR}/lavennin/bin"
+ epatch "${FILESDIR}/${P}_lavennin_path.patch"
+}
+
+src_install() {
+ cd "${WORKDIR}"
+ dodoc festival/lib/voices/finnish/hy_fi_mv_diphone/README.mv
+ rm festival/lib/voices/finnish/hy_fi_mv_diphone/{README.mv,LICENSE}
+ insinto /usr/share/festival/
+ cd festival/lib/
+ doins -r voices/
+ cd "${WORKDIR}/lavennin/"
+ newdoc README.txt README.lavennin
+ dodoc man/*.shtml
+
+ if use perl; then
+
+ newbin bin/lavennin suopuhe-lavennin
+ dodir /usr/share/suopuhe/data/
+ insinto /usr/share/suopuhe
+ doins -r data
+
+ elog "TTS perl script installed as suopuhe-lavennin"
+ fi
+}
diff --git a/app-accessibility/festival-fi/files/festival-fi-20041119_lavennin_path.patch b/app-accessibility/festival-fi/files/festival-fi-20041119_lavennin_path.patch
new file mode 100644
index 000000000000..7084641a669e
--- /dev/null
+++ b/app-accessibility/festival-fi/files/festival-fi-20041119_lavennin_path.patch
@@ -0,0 +1,18 @@
+# 08/May/2009
+# Patch to fix the path to data files for Gentoo
+# Not sending this to upstrem.
+# neurogeek@gentoo.org
+
+--- bin/lavennin.orig 2009-05-08 01:05:48.000000000 -0430
++++ bin/lavennin 2009-05-08 01:07:07.000000000 -0430
+@@ -164,8 +164,8 @@
+ $HOME = get_home_directory();
+ }
+
+-my $DATA_DIR = $HOME . "/data";
+-
++#Gentoo Data Dir
++my $DATA_DIR = "/usr/share/suopuhe/data";
+
+ # making the TMP dir...
+ unless ( -e "$HOME/tmp" || $www ) {
diff --git a/app-accessibility/festival-fi/metadata.xml b/app-accessibility/festival-fi/metadata.xml
new file mode 100644
index 000000000000..f66d895ca4e2
--- /dev/null
+++ b/app-accessibility/festival-fi/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>accessibility</herd>
+ <herd>sound</herd>
+ <maintainer>
+ <email>neurogeek@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>