diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-accessibility/festival-it | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-accessibility/festival-it')
-rw-r--r-- | app-accessibility/festival-it/Manifest | 1 | ||||
-rw-r--r-- | app-accessibility/festival-it/festival-it-1.0-r2.ebuild | 83 | ||||
-rw-r--r-- | app-accessibility/festival-it/metadata.xml | 15 |
3 files changed, 99 insertions, 0 deletions
diff --git a/app-accessibility/festival-it/Manifest b/app-accessibility/festival-it/Manifest new file mode 100644 index 000000000000..a11e3160e300 --- /dev/null +++ b/app-accessibility/festival-it/Manifest @@ -0,0 +1 @@ +DIST Italian-FESTIVAL.zip 20715806 SHA256 747ef3a31571896d7d772ea46d4ee68cf0fbc57af21e8c5220fced731695f496 SHA512 6044683bda58253d9bb447f24316d258e233c3a1389666667b758c89249422a3cf169eecc6a2b03c7a6548316bb45ff9d63b4d5321cedfef011954fc1ea65c34 WHIRLPOOL aa88ef39a66bc4d852be51bb41e8dfbc1a295af2283bcd2a96caf6c917387d5a9742166687cc60ee05591bdcc50960ff6d3a31bb9e7bdd2a043ba65d2869df5f diff --git a/app-accessibility/festival-it/festival-it-1.0-r2.ebuild b/app-accessibility/festival-it/festival-it-1.0-r2.ebuild new file mode 100644 index 000000000000..7a3a3dacf304 --- /dev/null +++ b/app-accessibility/festival-it/festival-it-1.0-r2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils + +DESCRIPTION="A collection of italian voices for Festival TTS" +HOMEPAGE="http://www2.pd.istc.cnr.it/FESTIVAL/home" +SRC_URI="mirror://sourceforge/it-festival/Italian-FESTIVAL.zip" + +RDEPEND=">=app-accessibility/festival-2.1 + mbrola? ( >=app-accessibility/mbrola-3.0.1h-r4[linguas_it] )" +DEPEND="app-arch/unzip" +IUSE="mbrola" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" + +S=${WORKDIR} + +src_prepare() { + + unzip -qo italian_scm.zip + unzip -qo lex_ifd.zip + unzip -qo lp_diphone.zip + unzip -qo pc_diphone.zip + + if use mbrola; then + unzip -qo lp_mbrola_unix.zip + unzip -qo pc_mbrola_unix.zip + fi + + # Deletes some useless files + rm -f *.zip + + rm -f `find festival/ -name install_unix.txt` + rm -f `find festival/ -name italian_mbrola_win.scm` + + if ! use mbrola; then + rm -f `find festival/ -name italian_mbrola_unix.scm` + fi + + # Aggregates some README files + mkdir docs + mv `find festival/ -name \*README` docs/ + + # All remaining files are moved "here" + mv festival/lib/* . + rm -rf festival/ +} + +src_install () { + # Install the docs + dodoc "${WORKDIR}"/docs/* + + # Install the voice scheme + insinto /usr/share/festival/ + doins -r "${WORKDIR}"/italian_scm/ + + # Install the dicts + insinto /usr/share/festival/dicts + doins -r "${WORKDIR}"/dicts/* + + # Installs the voices + insinto /usr/share/festival/voices + doins -r "${WORKDIR}"/voices/* + + # Enables the mbrola-based voices + if use mbrola; then + dosym /opt/mbrola/it3 /usr/share/festival/voices/italian/pc_mbrola/it3 + dosym /opt/mbrola/it4 /usr/share/festival/voices/italian/lp_mbrola/it4 + fi +} + +pkg_postinst () { + einfo "Italian voices installed:" + for VOICE in `ls "${ROOT}/usr/share/festival/voices/italian/"`; do + einfo " (voice_${VOICE})" + done +} diff --git a/app-accessibility/festival-it/metadata.xml b/app-accessibility/festival-it/metadata.xml new file mode 100644 index 000000000000..9776e2a6b646 --- /dev/null +++ b/app-accessibility/festival-it/metadata.xml @@ -0,0 +1,15 @@ +<?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> + <use> + <flag name="mbrola">Adds support for mbrola voices</flag> + </use> + <upstream> + <remote-id type="sourceforge">it-festival</remote-id> + </upstream> +</pkgmetadata> |