summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-07-21 09:01:51 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-07-21 09:01:51 +0000
commitd5dd54a40407930dfb0ce7f6dd20e02bc8e80225 (patch)
tree6fc8f2e8bc15e486b3ae733bd3811382764e26dd /app-accessibility/speech-tools
parentRemoving old version. (diff)
downloadhistorical-d5dd54a40407930dfb0ce7f6dd20e02bc8e80225.tar.gz
historical-d5dd54a40407930dfb0ce7f6dd20e02bc8e80225.tar.bz2
historical-d5dd54a40407930dfb0ce7f6dd20e02bc8e80225.zip
Reverting removal of the old version as it's needed for an old festival version that can't be pulled yet.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'app-accessibility/speech-tools')
-rw-r--r--app-accessibility/speech-tools/ChangeLog6
-rw-r--r--app-accessibility/speech-tools/Manifest10
-rw-r--r--app-accessibility/speech-tools/files/digest-speech-tools-1.2.3-r13
-rw-r--r--app-accessibility/speech-tools/speech-tools-1.2.3-r1.ebuild108
4 files changed, 118 insertions, 9 deletions
diff --git a/app-accessibility/speech-tools/ChangeLog b/app-accessibility/speech-tools/ChangeLog
index 91534c60ee8f..8872becda04c 100644
--- a/app-accessibility/speech-tools/ChangeLog
+++ b/app-accessibility/speech-tools/ChangeLog
@@ -1,10 +1,6 @@
# ChangeLog for app-accessibility/speech-tools
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/ChangeLog,v 1.26 2005/07/21 08:58:18 eradicator Exp $
-
- 21 Jul 2005; Jeremy Huddleston <eradicator@gentoo.org>
- -speech-tools-1.2.3-r1.ebuild:
- Removing old version.
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/ChangeLog,v 1.27 2005/07/21 09:01:51 eradicator Exp $
04 Jul 2005; Bryan Østergaard <kloeri@gentoo.org>
speech-tools-1.2.3-r2.ebuild:
diff --git a/app-accessibility/speech-tools/Manifest b/app-accessibility/speech-tools/Manifest
index 00f75733c955..11e2baeaaa40 100644
--- a/app-accessibility/speech-tools/Manifest
+++ b/app-accessibility/speech-tools/Manifest
@@ -1,16 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 133ab723aa5c071d67866b00facfef56 ChangeLog 4213
+MD5 099fd9eb37b716b221a997f9bf539463 ChangeLog 4098
MD5 4f5d797c455932135181f0c31b5e71b2 metadata.xml 185
+MD5 4ffd23c3ded99e85692162aeb531e04c speech-tools-1.2.3-r1.ebuild 3007
MD5 6a79347d216ee0db49beb8028d9b3b7d speech-tools-1.2.3-r2.ebuild 3104
MD5 a143fa8cb76f282bdd72ae3ad821f9c5 files/58speech-tools 34
+MD5 dbb77def95ba86c97fb18472325f2e18 files/digest-speech-tools-1.2.3-r1 224
MD5 19e3325adc92d921d82884fe58485055 files/speech-tools-gcc3.3.diff 25787
MD5 dbb77def95ba86c97fb18472325f2e18 files/digest-speech-tools-1.2.3-r2 224
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFC32PDArHZZzCEUG0RAnhRAKCGTUhkL3PZyiZONNCWXzOd6JBvbgCfSMDi
-ofVbRIxjjU1OCsaFc9QlJEo=
-=H75q
+iD8DBQFC32TcArHZZzCEUG0RAiNxAJ4rMBg4CMkxeqWX4M5dKX673ClkVQCfcf+k
+uD9gaNJrbUyLYznZh44HYrE=
+=vtrw
-----END PGP SIGNATURE-----
diff --git a/app-accessibility/speech-tools/files/digest-speech-tools-1.2.3-r1 b/app-accessibility/speech-tools/files/digest-speech-tools-1.2.3-r1
new file mode 100644
index 000000000000..866ee7e5befb
--- /dev/null
+++ b/app-accessibility/speech-tools/files/digest-speech-tools-1.2.3-r1
@@ -0,0 +1,3 @@
+MD5 783051edfa493b5325ac3ff205bdf265 speech_tools-1.2.3-release.tar.gz 1257290
+MD5 faabc25a6c1b11854c41adc257c47bdb festdoc-1.4.2.tar.gz 1652551
+MD5 9076a19cf0225bb183deda52d4be1130 speech-tools-1.2.3-gcc3.4.patch.bz2 13451
diff --git a/app-accessibility/speech-tools/speech-tools-1.2.3-r1.ebuild b/app-accessibility/speech-tools/speech-tools-1.2.3-r1.ebuild
new file mode 100644
index 000000000000..881d777dda08
--- /dev/null
+++ b/app-accessibility/speech-tools/speech-tools-1.2.3-r1.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/speech-tools-1.2.3-r1.ebuild,v 1.5 2005/07/21 09:01:51 eradicator Exp $
+
+IUSE="doc"
+
+inherit eutils fixheadtails toolchain-funcs
+
+MY_P=${P/-/_}
+
+DESCRIPTION="Speech tools for Festival Text to Speech engine"
+HOMEPAGE="http://www.cstr.ed.ac.uk/"
+SRC_URI="http://www.cstr.ed.ac.uk/download/festival/1.4.3/${MY_P}-release.tar.gz
+ doc? ( http://www.cstr.ed.ac.uk/download/festival/1.4.3/festdoc-1.4.2.tar.gz )
+ mirror://gentoo/speech-tools-1.2.3-gcc3.4.patch.bz2"
+
+LICENSE="FESTIVAL BSD as-is"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="${RDEPEND}
+ app-arch/cpio
+ sys-apps/findutils
+ >=sys-apps/sed-4"
+
+S="${WORKDIR}/speech_tools"
+
+src_unpack() {
+ unpack ${MY_P}-release.tar.gz
+ unpack speech-tools-1.2.3-gcc3.4.patch.bz2
+
+ cd ${S}
+ use doc && unpack festdoc-1.4.2.tar.gz && mv festdoc-1.4.2 festdoc
+
+ if [ "$(gcc-version)" == "3.3" ]; then
+ epatch ${FILESDIR}/${PN}-gcc3.3.diff
+ fi
+ if [ "$(gcc-version)" == "3.4" ]; then
+ epatch ${WORKDIR}/${P}-gcc3.4.patch
+ fi
+ ht_fix_file config.guess
+ sed -i 's:-O3:$(OPTIMISE_CXXFLAGS):' base_class/Makefile
+
+ # Compile fix for #41329.
+ sed -i 's/-fpic/-fPIC/' config/compilers/gcc_defaults.mak
+}
+
+src_compile() {
+ econf || die
+ emake -j1 \
+ OPTIMISE_CXXFLAGS="${CXXFLAGS}" \
+ OPTIMISE_CCFLAGS="${CFLAGS}" \
+ || die
+}
+
+src_install() {
+ cd ${S}/lib
+ dolib.so libestbase.so.1.2.3.1
+ dosym /usr/$(get_libdir)/libestbase.so.1.2.3.1 /usr/$(get_libdir)/libestbase.so
+ dolib.so libeststring.so.1.2
+ dosym /usr/$(get_libdir)/libeststring.so.1.2 /usr/$(get_libdir)/libeststring.so
+ dolib.a libestbase.a
+ dolib.a libestools.a
+ dolib.a libeststring.a
+
+ into /usr/lib/speech-tools
+ cd ${S}/bin
+
+ dodir /usr/lib/speech-tools/share/testsuite
+ for file in * ; do
+ [ "${file}" = "Makefile" ] && continue
+ dobin ${file}
+ dosed "s:${S}/testsuite/data:/usr/lib/speech-tools/share/testsuite:g" /usr/lib/speech-tools/bin/${file} testsuite/data
+ dosed "s:${S}/bin:/usr/lib/speech-tools/bin:g" /usr/lib/speech-tools/bin/${file}
+ dosed "s:${S}/main:/usr/lib/speech-tools/bin:g" /usr/lib/speech-tools/bin/${file}
+ dosed "s:${S}/lib:/usr/$(get_libdir):g" /usr/lib/speech-tools/bin/${file}
+ done
+
+ insinto /usr/lib/speech-tools/lib/siod
+ cd ${S}/lib/siod
+ doins *
+
+ insinto /usr/share/doc/${PF}/example_data
+ cd ${S}/lib/example_data
+ doins *
+
+ cd ${S}
+ find config -print | cpio -pmd ${D}/usr/lib/speech-tools || die "Unable to install config files"
+ find include -print | cpio -pmd ${D}/usr/lib/speech-tools || die "Unable to install include files"
+
+ chown -R root:root ${D}/usr/lib/speech-tools
+
+ find ${D}/usr/lib/speech-tools/config -type f | xargs sed -i 's/-ltermcap/-lncurses/g'
+
+ insinto /etc/env.d
+ doins ${FILESDIR}/58speech-tools
+
+ cd ${S}
+ dodoc README INSTALL
+ cd ${S}/lib
+ dodoc cstrutt.dtd
+
+ if use doc ; then
+ cd ${S}/festdoc/speech_tools/doc
+ dohtml -r *
+ fi
+}