diff options
Diffstat (limited to 'app-accessibility/festival-fi')
4 files changed, 84 insertions, 0 deletions
diff --git a/app-accessibility/festival-fi/Manifest b/app-accessibility/festival-fi/Manifest new file mode 100644 index 000000000000..777b30c469b5 --- /dev/null +++ b/app-accessibility/festival-fi/Manifest @@ -0,0 +1,8 @@ +AUX festival-fi-20041119_lavennin_path.patch 449 SHA256 b54abb9e6da39b2e9a8b75ed73336596ea8a0e8f7be443b22664a93844bba4d2 SHA512 df21297cfe77a305c5e9d40da9b8176048470d1f2a740e268188aa395a3cfbf0365fb70d6dd1b4709264303c952e150720b7a4ab5fbf39e0ccee5daea01b254d WHIRLPOOL 55714989310875e463cabd84b51f26f149f99d060ead2033ef9ed9a926b7b99c96cbcf4566c47860968f6faddc56e992bace993a723713d88a03257d8f758d10 +DIST hy_fi_mv_diphone-20041119.tgz 3670516 SHA256 6d1e93cdf6c40fe15615e0d31edbe21198cf8e5c8f1cd734a09719843e80b988 SHA512 8e762a988e028c4b44430252150525a23421d1d58a1d58a9826866623729e4fadbb668fd891d1e0e36eee963319ae6cb2bb03dac6ce1f64629d5227d57157d60 WHIRLPOOL 1b750f092688b102b83322b5c24fa69d868b11151ef68343f103a298c7e114a7880ed110ebc305969ac8aa48376fcab04a6f9a4fa7d1c6917d2672a4479b8cb8 +DIST lavennin-20041119.tgz 172438 SHA256 db47f99c85f3c46ca4598365b6e0885b6f1407460d4e7e355d3b09f865ba451f SHA512 0f20ad71ce1862f05e5ee78860804255f0d40e93b80e5869276e7c8032d594b8ad259a60018fde95ea655e30d8f0574138c5bb53d5fbe61e20658d299493897d WHIRLPOOL 3a24e173f5bf004c85f5bcd9282a6931c19e2f474431dac2fab75d968b52a9dfbfc5ebd568198d9f23b81dff08af249d97c8f494de2b6d1454f70000c0ae6597 +DIST suo_fi_lj-1.0g-20051204.tgz 5928158 SHA256 d9c4dbbb8f1701dc5a0ef99b4aa1317266873e49b6b97163590abade952f8588 SHA512 f239f34836a6e70be77a5f20a6cae1eba394f07e9ecb6db081b7c6d272d1c26b29ed89dc22deb7f9189562c75c00049ecb4e3426eecaa835145dfbd4aa86c360 WHIRLPOOL edebcdb3f3afabe056401c3c95e1d3b55db6a2af42807fc5a8d9ee1d0bb45d051390e3e91dca78d914036b7ebc7f79f1ba6bf6c912b17fcd4fe73b38ea04fd7e +EBUILD festival-fi-20041119.ebuild 1206 SHA256 6db6bc347008124849348032875008833ce56a60af0e17a738b5450494236bf6 SHA512 ded11ea17b2ea568e230ad544a0ba3b32ff139315b05dbe8b11751c1f588eeaf53c4c68db9ada631905102627beb253c0bf884de8934a1de15cc89867f5edc1a WHIRLPOOL 2cb53142b2f433bc3571fde25473594096611c1cfec1a490767f4eb54af06071bcf0295ead7fb368c428725596530fdcde8bb367dc5af32747606384fd77f213 +MISC ChangeLog 2626 SHA256 c9e1dd2573b8529f4d05936ea24c1e212876bbec54a1c0f6702843aeb6bcdfb6 SHA512 9497a5330b6505e262165bc1026f364f9a201252e91be97d765cd183982c546cae4269472fdb00188c1dd782bd54cc78222a301bc9c5dfeec0c815013755851a WHIRLPOOL 504b501c04a08062a5cba4e0c7fed8e6e07e9b061a021a3d576283af093f010e809a7fb6f42a46154a053d06ed9788ea810a3f2de4a9fa656e44c9943c83a22d +MISC ChangeLog-2015 728 SHA256 276d3aa2587aac927dd0b350c8d054efd4b6843b3358cf1ef6cde2fa4f8521df SHA512 80ea1e449bb92c46ab8bb21215d89a5e5c7884ae6df3e174d56280e5f29f0261809379f8546590fc882d2e44d36c47acde311e8f1633c464ea8a91ac3b9125b2 WHIRLPOOL b34f97ee841cc3edf2632fa20f5a328aea767be25ba89698d35b035075f9336af2bb6aa8973a8c2938d3fdecff0dc48d5250007965414baea0b30fc865964011 +MISC metadata.xml 381 SHA256 f8f8c32e3053a1cf8b57a5796cb32387a76932b921423b10590f85f90ba2122c SHA512 bbe4c9075ebef7cbc13b22b79331aeac86d656d483c65460838eae7d1d00fffcdafa173c9702ff2ae020c64efaeb13f81d2543dbef57804f13a4fd1dd9b4ee07 WHIRLPOOL e26b33e29be7d14c927a07f14f779c838d5ee447b497d9befda8bb82bda8b4c20cb0ec039442bcabe389cbcbe0242e559d90184472306f3d64853b3e90360744 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..7ed4851d8ed5 --- /dev/null +++ b/app-accessibility/festival-fi/festival-fi-20041119.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="~amd64 ~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..55e1c4cf77c7 --- /dev/null +++ b/app-accessibility/festival-fi/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>accessibility@gentoo.org</email> + <name>Gentoo Accessibility Project</name> + </maintainer> +<maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> +</pkgmetadata> |