diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-07-24 00:55:24 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-07-24 00:55:24 +0000 |
commit | adc44c7582d87bdbc27b57a8f1ab91bfedce519f (patch) | |
tree | 9e84145163dade5751441fa32ba6cdc4422c60c0 /app-accessibility/speech-tools | |
parent | Adding missing dependency to media-libs/libao as described in bug #100040. (diff) | |
download | gentoo-2-adc44c7582d87bdbc27b57a8f1ab91bfedce519f.tar.gz gentoo-2-adc44c7582d87bdbc27b57a8f1ab91bfedce519f.tar.bz2 gentoo-2-adc44c7582d87bdbc27b57a8f1ab91bfedce519f.zip |
Revbump... see ChangeLog.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-accessibility/speech-tools')
-rw-r--r-- | app-accessibility/speech-tools/Manifest | 15 | ||||
-rw-r--r-- | app-accessibility/speech-tools/speech-tools-1.2.3-r3.ebuild | 98 |
2 files changed, 102 insertions, 11 deletions
diff --git a/app-accessibility/speech-tools/Manifest b/app-accessibility/speech-tools/Manifest index 11e2baeaaa40..2206627e85f8 100644 --- a/app-accessibility/speech-tools/Manifest +++ b/app-accessibility/speech-tools/Manifest @@ -1,18 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 099fd9eb37b716b221a997f9bf539463 ChangeLog 4098 +MD5 8baa6402d6e2c0919c879ae4e7878747 ChangeLog 4452 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 5250ece4485c10f6109b30b0be6035d6 attachment.cgi?id=62542 3175 +MD5 021fec18c46fd9ebfcd9095ef82379d8 speech-tools-1.2.3-r3.ebuild 2846 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) - -iD8DBQFC32TcArHZZzCEUG0RAiNxAJ4rMBg4CMkxeqWX4M5dKX673ClkVQCfcf+k -uD9gaNJrbUyLYznZh44HYrE= -=vtrw ------END PGP SIGNATURE----- +MD5 dbb77def95ba86c97fb18472325f2e18 files/digest-speech-tools-1.2.3-r3 224 diff --git a/app-accessibility/speech-tools/speech-tools-1.2.3-r3.ebuild b/app-accessibility/speech-tools/speech-tools-1.2.3-r3.ebuild new file mode 100644 index 000000000000..834911d21031 --- /dev/null +++ b/app-accessibility/speech-tools/speech-tools-1.2.3-r3.ebuild @@ -0,0 +1,98 @@ +# 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-r3.ebuild,v 1.1 2005/07/24 00:55:24 eradicator Exp $ + +IUSE="doc esd" + +inherit eutils fixheadtails toolchain-funcs + +MY_P=${P/-/_} + +DESCRIPTION="Speech tools for Festival Text to Speech engine" +HOMEPAGE="http://www.cstr.ed.ac.uk/" +CSTR="http://www.cstr.ed.ac.uk/download/festival/1.4.3" +SRC_URI="${CSTR}/${MY_P}-release.tar.gz + doc? ( ${CSTR}/festdoc-1.4.2.tar.gz ) + mirror://gentoo/speech-tools-${PV}-gcc3.4.patch.bz2" + +LICENSE="FESTIVAL BSD as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="sys-libs/ncurses" +DEPEND="${RDEPEND} + app-arch/cpio + sys-apps/findutils + >=sys-apps/sed-4" + +S="${WORKDIR}/speech_tools" + +src_unpack() { + [ "${A}" ] && unpack ${A} + + use doc && mv festdoc-1.4.2 festdoc + + [[ "$(gcc-version)" == "3.3" ]] && epatch ${FILESDIR}/${PN}-gcc3.3.diff + [[ "$(gcc-version)" == "3.4" ]] && epatch ${WORKDIR}/${P}-gcc3.4.patch + + ht_fix_file ${S}/config.guess + sed -i 's:-O3:$(OPTIMISE_CXXFLAGS):' ${S}/base_class/Makefile + + # Compile fix for #41329. + sed -i 's/-fpic/-fPIC/' ${S}/config/compilers/gcc_defaults.mak +} + +src_compile() { + econf || die + emake -j1 OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die +} + +src_install() { + dolib.so ${S}/lib/{libestbase.so.1.2.3.1,libeststring.so.1.2} + dosym /usr/$(get_libdir)/libestbase.so.1.2.3.1 /usr/$(get_libdir)/libestbase.so + dosym /usr/$(get_libdir)/libeststring.so.1.2 /usr/$(get_libdir)/libeststring.so + dolib.a ${S}/lib/{libestbase.a,libestools.a,libeststring.a} + + cd ${S}/bin + for file in *; do + [ "${file}" = "Makefile" ] && continue + dobin ${file} + dstfile="/usr/bin/${file}" + dosed "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" ${dstfile} + dosed "s:${S}/bin:/usr/libexec/speech-tools:g" ${dstfile} + dosed "s:${S}/main:/usr/libexec/speech-tools:g" ${dstfile} + + # This just changes LD_LIBRARY_PATH + dosed "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile} + done + + exeinto /usr/libexec/speech-tools + for file in `find ${S}/main -perm +100 -type f`; do + doexe ${file} + done + + insinto /usr/share/speech-tools/lib/siod + doins ${S}/lib/siod/* + + insinto /usr/share/doc/${PF}/example_data + doins ${S}/lib/example_data/* + + cd ${S} + find config -print | cpio -pmd ${D}/usr/share/speech-tools || die "Unable to install config files" + + dodir /usr/include/speech-tools + cd ${S}/include + find . -print | cpio -pmd ${D}/usr/include/speech-tools || die "Unable to install include files" + dosym /usr/include/speech-tools /usr/share/speech-tools/include + + chown -R root:root ${D} + + find ${D}/usr/share/speech-tools/config -type f | xargs sed -i 's/-ltermcap/-lncurses/g' + + doenvd ${FILESDIR}/58speech-tools + + dodoc ${S}/{README,INSTALL} + dodoc ${S}/lib/cstrutt.dtd + + use doc && dohtml -r ${WORKDIR}/festdoc/speech_tools/doc/* +} |