Blog Code Forum

TTS:mbrola

From Wiki.cyring.fr

(Difference between revisions)
Jump to: navigation, search
(Page créée avec « == Install == === Package === # Go to the ArchLinux [https://aur.archlinux.org AUR] home page # Search for the package mbrola # Download [https://aur.archlinux.org/package... »)
(Package)
Line 5: Line 5:
# Download [https://aur.archlinux.org/packages/mb/mbrola/mbrola.tar.gz tarball]
# Download [https://aur.archlinux.org/packages/mb/mbrola/mbrola.tar.gz tarball]
# Decompress the package
# Decompress the package
-
# Edit the PKGBUILD for 64 bits architecture
+
# Edit the PKGBUILD for 64 bits architecture<br />
 +
<br />
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
$ nano PKGBUILD
$ nano PKGBUILD
Line 26: Line 27:
}
}
</pre>
</pre>
 +
<br />
* Build and install the package
* Build and install the package
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">

Revision as of 09:50, 25 January 2013

Install

Package

  1. Go to the ArchLinux AUR home page
  2. Search for the package mbrola
  3. Download tarball
  4. Decompress the package
  5. Edit the PKGBUILD for 64 bits architecture


$ nano PKGBUILD
pkgname=mbrola
pkgver=3.0.1h
pkgrel=5
pkgdesc="A phoneme-to-audio converter used by many TTS (Text-to-speech) programs."
arch=('x86_64')
url="http://tcts.fpms.ac.be/synthesis/mbrola.html"
license=('custom:Mbrola')
source=(http://tcts.fpms.ac.be/synthesis/${pkgname}/bin/amd64linux/mbrola_AMD_Linux.zip
        LICENSE)
md5sums=('eab0b1f22025464286620cec1017c236'
         '3ec25133449591ade620fa694e1e9546')
package() {
  install -Dm755 mbrola $pkgdir/usr/bin/$pkgname
  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}


  • Build and install the package
$ makepkg -i
$ yaourt -S mbrola-voices-fr1 mbrola-voices-fr4
Personal tools