summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-09-29 02:04:12 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-09-29 02:04:12 +0000
commitb666c6f2ba6ab968ea1718347bd000f79db2083a (patch)
treed7802b64955e9cdc72c8d661f246227d54bd8f2f /app-accessibility
parentKeyworded ~sparc, but untested against a real exchange server, so do test bef... (diff)
downloadgentoo-2-b666c6f2ba6ab968ea1718347bd000f79db2083a.tar.gz
gentoo-2-b666c6f2ba6ab968ea1718347bd000f79db2083a.tar.bz2
gentoo-2-b666c6f2ba6ab968ea1718347bd000f79db2083a.zip
Added sparc, ppc, and alpha support. Keyworded ~sparc.
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/mbrola/ChangeLog6
-rw-r--r--app-accessibility/mbrola/mbrola-3.0.1h-r1.ebuild45
2 files changed, 35 insertions, 16 deletions
diff --git a/app-accessibility/mbrola/ChangeLog b/app-accessibility/mbrola/ChangeLog
index 9a31de579a2e..481a778e52ab 100644
--- a/app-accessibility/mbrola/ChangeLog
+++ b/app-accessibility/mbrola/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-accessibility/mbrola
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/mbrola/ChangeLog,v 1.7 2004/09/05 06:37:48 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/mbrola/ChangeLog,v 1.8 2004/09/29 02:04:12 eradicator Exp $
+
+ 28 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ mbrola-3.0.1h-r1.ebuild:
+ Added sparc, ppc, and alpha support. Keyworded ~sparc.
05 Sep 2004; Sven Wegener <swegener@gentoo.org> :
Fixed ChangeLog header.
diff --git a/app-accessibility/mbrola/mbrola-3.0.1h-r1.ebuild b/app-accessibility/mbrola/mbrola-3.0.1h-r1.ebuild
index 9ffb6fbdfcde..ba761ab14b72 100644
--- a/app-accessibility/mbrola/mbrola-3.0.1h-r1.ebuild
+++ b/app-accessibility/mbrola/mbrola-3.0.1h-r1.ebuild
@@ -1,29 +1,47 @@
# Copyright 1999-2004 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-r1.ebuild,v 1.6 2004/08/14 22:08:38 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/mbrola/mbrola-3.0.1h-r1.ebuild,v 1.7 2004/09/29 02:04:12 eradicator Exp $
+
+IUSE=""
S=${WORKDIR}
-URL="http://tcts.fpms.ac.be/synthesis/mbrola"
+
DESCRIPTION="us1, us2, and us3 mbrola voice libraries for Festival TTS"
-SRC_URI="${URL}/bin/pclinux/mbr301h.zip
-${URL}/dba/us1/us1-980512.zip
-${URL}/dba/us2/us2-980812.zip
-${URL}/dba/us3/us3-990208.zip"
HOMEPAGE="http://tcts.fpms.ac.be/synthesis/mbrola.html"
+SRC_URI="${URL}/bin/pclinux/mbr301h.zip
+ ${URL}/dba/us1/us1-980512.zip
+ ${URL}/dba/us2/us2-980812.zip
+ ${URL}/dba/us3/us3-990208.zip"
DEPEND=">=app-accessibility/festival-1.4.2
- app-arch/unzip"
-
-IUSE=""
+ app-arch/unzip
+ amd64? ( app-emulation/emul-linux-x86-glibc )"
SLOT="0"
LICENSE="MBROLA"
-KEYWORDS="x86 -sparc amd64 ~ppc"
+KEYWORDS="x86 ~sparc amd64 ~ppc"
-src_install () {
+src_compile() {
+ case ${ARCH} in
+ x86|amd64)
+ cp mbrola-linux-i386 mbrola || die
+ ;;
+ ppc)
+ cp mbrola206a-linux-ppc mbrola || die
+ ;;
+ sparc)
+ cp mbrola-SuSElinux-ultra1.dat mbrola || die
+ ;;
+ alpha)
+ cp mbrola-linux-alpha mbrola || die
+ ;;
+ *)
+ die "Unsupported architecture."
+ esac
+}
+src_install () {
# Take care of main binary
- mv mbrola-linux-i386 mbrola
dobin mbrola
dodoc readme.txt
@@ -46,7 +64,4 @@ src_install () {
insinto ${FESTLIB}/us3_mbrola/us3/TEST
doins us3/TEST/*
dodoc us3/us3.txt
-
}
-
-