diff options
Diffstat (limited to 'app-accessibility/mbrola')
-rw-r--r-- | app-accessibility/mbrola/ChangeLog | 7 | ||||
-rw-r--r-- | app-accessibility/mbrola/mbrola-3.0.1h-r5.ebuild | 96 |
2 files changed, 102 insertions, 1 deletions
diff --git a/app-accessibility/mbrola/ChangeLog b/app-accessibility/mbrola/ChangeLog index 429cbceb3312..fd563ce90790 100644 --- a/app-accessibility/mbrola/ChangeLog +++ b/app-accessibility/mbrola/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-accessibility/mbrola # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/mbrola/ChangeLog,v 1.38 2008/01/27 20:16:08 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/mbrola/ChangeLog,v 1.39 2008/05/21 01:55:03 williamh Exp $ + +*mbrola-3.0.1h-r5 (21 May 2008) + + 21 May 2008; William Hubbs <williamh@gentoo.org> +mbrola-3.0.1h-r5.ebuild: + Rev bump for bug #222787. Added Latin and Polish voices for bug #197837. 27 Jan 2008; William Hubbs <williamh@gentoo.org> -mbrola-3.0.1h-r1.ebuild, -mbrola-3.0.1h-r3.ebuild: diff --git a/app-accessibility/mbrola/mbrola-3.0.1h-r5.ebuild b/app-accessibility/mbrola/mbrola-3.0.1h-r5.ebuild new file mode 100644 index 000000000000..7dfa6b43b4aa --- /dev/null +++ b/app-accessibility/mbrola/mbrola-3.0.1h-r5.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/mbrola/mbrola-3.0.1h-r5.ebuild,v 1.1 2008/05/21 01:55:03 williamh Exp $ + +IUSE="linguas_de linguas_es linguas_fr linguas_it linguas_la linguas_pl linguas_ro" + +S=${WORKDIR} + +DESCRIPTION="Speech synthesizer based on the concatenation of diphones. Includes sample voices." +HOMEPAGE="http://tcts.fpms.ac.be/synthesis/mbrola.html" +MY_PVR=${PVR//./} +TCTS="http://tcts.fpms.ac.be/synthesis" +SRC_URI="mirror://gentoo/mbr${MY_PVR}.zip + ${TCTS}/mbrola/dba/us1/us1-980512.zip + ${TCTS}/mbrola/dba/us1/us2-980812.zip + ${TCTS}/mbrola/dba/us3/us3-990208.zip + linguas_de? ( ${TCTS}/mbrola/dba/de1/de1-980227.zip + ${TCTS}/mbrola/dba/de2/de2-990106.zip + ${TCTS}/mbrola/dba/de3/de3-000307.zip + ${TCTS}/mbrola/dba/de4/de4.zip + ${TCTS}/mbrola/dba/de5/de5.zip + ${TCTS}/mbrola/dba/de8/de8.zip ) + linguas_es? ( ${TCTS}/mbrola/dba/es1/es1-980610.zip + ${TCTS}/mbrola/dba/es2/es2-989825.zip + ${TCTS}/mbrola/dba/es4/es4.zip ) + linguas_fr? ( ${TCTS}/mbrola/dba/fr1/fr1-990204.zip + ${TCTS}/mbrola/dba/fr2/fr2-980806.zip + ${TCTS}/mbrola/dba/fr3/fr3-990324.zip + ${TCTS}/mbrola/dba/fr6/fr6-010330.zip ) + linguas_it? ( ${TCTS}/mbrola/dba/it3/it3-010304.zip + ${TCTS}/mbrola/dba/it4/it4-010926.zip ) + linguas_la? ( ${TCTS}/mbrola/dba/la1/la1.zip ) + linguas_pl? ( ${TCTS}/mbrola/dba/pl1/pl1.zip ) + linguas_ro? ( ${TCTS}/mbrola/dba/ro1/ro1-980317.zip )" + +DEPEND="app-arch/unzip" + +RDEPEND="" + +SLOT="0" +LICENSE="MBROLA" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips -ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +src_unpack () { + unpack ${A} + + if [[ -f pl1 ]]; then + mkdir pl1DIR + mv pl1 pl1.txt pl1DIR + mv test pl1DIR/TEST + mv pl1DIR pl1 + fi + + case ${ARCH} in + x86|amd64) + cp mbrola-linux-i386 mbrola || die + ;; + ppc) + cp mbrola302b-linux-ppc mbrola || die + ;; + sparc) + cp mbrola-SuSElinux-ultra1.dat mbrola || die + ;; + alpha) + cp mbrola-linux-alpha mbrola || die + ;; + *) + elog "mbrola binary not available on this architecture. Still installing voices." + esac +} + +src_install () { + exeinto /opt/${PN} + + # Take care of main binary + [[ -f "mbrola" ]] && doexe mbrola + + dodoc readme.txt + + for voice in ??[0-9]; do + insinto /opt/${PN}/${voice} + [[ -f "${voice}/license.txt" ]] && doins ${voice}/license.txt + [[ -f "${voice}/${voice}" ]] && doins ${voice}/${voice} + [[ -f "${voice}/${voice}mrpa" ]] && doins ${voice}/${voice}mrpa + + if [[ -d "${voice}/TEST" ]]; then + insinto /opt/${PN}/${voice}/TEST + doins ${voice}/TEST/* + fi + + [[ -f "${voice}/${voice}.txt" ]] && dodoc ${voice}/${voice}.txt + done + + dodir /opt/bin + dosym /opt/${PN}/mbrola /opt/bin/mbrola +} |