diff options
author | Jesus Rivero <neurogeek@gentoo.org> | 2010-03-13 20:32:58 +0000 |
---|---|---|
committer | Jesus Rivero <neurogeek@gentoo.org> | 2010-03-13 20:32:58 +0000 |
commit | 38ce95e2168189fe6a79e6d7ada1eb5eb96f1e39 (patch) | |
tree | 6671d02e79f40560eec0dcace66a3dc275e494c8 /app-accessibility/speech-tools | |
parent | Initial commit of viewnior application. Fixes bug #301041 (diff) | |
download | historical-38ce95e2168189fe6a79e6d7ada1eb5eb96f1e39.tar.gz historical-38ce95e2168189fe6a79e6d7ada1eb5eb96f1e39.tar.bz2 historical-38ce95e2168189fe6a79e6d7ada1eb5eb96f1e39.zip |
Renamed /usr/bin/dp to /usr/bin/speech-dp wrt bug #287983
Package-Manager: portage-2.2_rc63/cvs/Linux i686
Diffstat (limited to 'app-accessibility/speech-tools')
-rw-r--r-- | app-accessibility/speech-tools/ChangeLog | 10 | ||||
-rw-r--r-- | app-accessibility/speech-tools/Manifest | 13 | ||||
-rw-r--r-- | app-accessibility/speech-tools/speech-tools-1.2.96_beta-r1.ebuild | 104 |
3 files changed, 124 insertions, 3 deletions
diff --git a/app-accessibility/speech-tools/ChangeLog b/app-accessibility/speech-tools/ChangeLog index 5bd35045c171..f948dbed66ad 100644 --- a/app-accessibility/speech-tools/ChangeLog +++ b/app-accessibility/speech-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-accessibility/speech-tools -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/ChangeLog,v 1.64 2009/07/23 16:49:06 ssuominen Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/ChangeLog,v 1.65 2010/03/13 20:32:58 neurogeek Exp $ + +*speech-tools-1.2.96_beta-r1 (13 Mar 2010) + + 13 Mar 2010; Jesus Rivero <neurogeek@gentoo.org> + +speech-tools-1.2.96_beta-r1.ebuild: + Renamed /usr/bin/dp to /usr/bin/speech-dp wrt bug #287983 23 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> speech-tools-1.2.96_beta.ebuild, diff --git a/app-accessibility/speech-tools/Manifest b/app-accessibility/speech-tools/Manifest index 0c0a705b01da..2b2989f147e0 100644 --- a/app-accessibility/speech-tools/Manifest +++ b/app-accessibility/speech-tools/Manifest @@ -1,7 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX speech-tools-1.2.96_beta-gcc42.patch 2203 RMD160 c2bb3d7cec0c9449b4480a45675057acc4a8ef8c SHA1 3cf29f9dcb9fdfd90249003b7eca9d71a88b8219 SHA256 4bc724774e4223448bb1bbd202fe6055580abd62d11ffab470843e1351c45e9e AUX speech-tools-1.2.96_beta-gcc43-include.patch 878 RMD160 fb89c84949548cfdc49ddff50a7129ea63dc9b2d SHA1 afb2ecfacc123411acb7e82ae9b7c707bd32b922 SHA256 dd050d6556b484ecd494dd080c8b917fcc08c264260c4850d5392986f492febe AUX speech-tools-1.2.96_beta-gcc44.patch 579 RMD160 389950e6e9e8444acfaa7c647519cf488d38e89c SHA1 3389cad0757b5239be7caba00d412c625e3e49d0 SHA256 720cb246c3845779291038e945e09024370b3478d3e84416886efb9263f490bf DIST speech_tools-1.2.96-beta.tar.gz 1275015 RMD160 3d2acc841a8b14e0bff66c9bb08293206f501a7a SHA1 7f208863833a7e7ea4838e0f0f04a4881b32cf56 SHA256 fa1ce5698e1253ee21e67629f394733ef6ad578af671e3a90ea8b73898a12428 +EBUILD speech-tools-1.2.96_beta-r1.ebuild 3100 RMD160 dfbab1e440e2898171c28a1d80866add1bddcd97 SHA1 c4c5b99f9d33799dfc95c54d76d3693f6a6e265e SHA256 c71b3845a1eaefce5b66c30d8ac2a04e1f687f24d44e645280ca183d82095cbc EBUILD speech-tools-1.2.96_beta.ebuild 2801 RMD160 4d69f662118f44891e82e5a1d9baae38b3b074aa SHA1 4e366f2228e6892b370d5444913c5fd527e7c567 SHA256 9f87ae7a32433603744490de14c1bba8ae2fd2289d779a9b47e6eccc98caa297 -MISC ChangeLog 10288 RMD160 a4a7c448300209240d63374f3f766d1968ffe414 SHA1 a14eb25f4ea5c42b65e11fa5a6addbc11f5336c5 SHA256 33c0c6e6035d53b24e534578fc7c11226b9685933cc93757cd5ccb40753eac2f +MISC ChangeLog 10483 RMD160 39514055f600e32c446448614f4c56cc61c99915 SHA1 890304f0d72cb480716a849ecaad867a3fb893df SHA256 9ab5b4bfcbb7031e4b3cb79db14ef55bb6a8c7d0a0349a077fdb147ca45fa2cb MISC metadata.xml 249 RMD160 b4704f1b46f70badf05ac1549e9feaf260041a08 SHA1 901e48e020cb6dcb722212410e1ac34212e87cf0 SHA256 7bce1abcec735751c95b28394f348e421b525ead1ba86638fc5f884217cdb49a +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iEYEARECAAYFAkub6R8ACgkQdIssYB9vBoONSACfaiQRQ0/ZAZjH1i1dKIFA2srz +snEAnAwNRtcXSA9n+DnujqQoW4Q1b8a6 +=KmjQ +-----END PGP SIGNATURE----- diff --git a/app-accessibility/speech-tools/speech-tools-1.2.96_beta-r1.ebuild b/app-accessibility/speech-tools/speech-tools-1.2.96_beta-r1.ebuild new file mode 100644 index 000000000000..ce699bbac9ae --- /dev/null +++ b/app-accessibility/speech-tools/speech-tools-1.2.96_beta-r1.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2010 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.96_beta-r1.ebuild,v 1.1 2010/03/13 20:32:58 neurogeek Exp $ + +inherit eutils toolchain-funcs + +MY_P=${P/speech-/speech_} +MY_P=${MY_P/_beta/-beta} + +DESCRIPTION="Speech tools for Festival Text to Speech engine" +HOMEPAGE="http://www.cstr.ed.ac.uk/projects/speech_tools/" +SRC_URI="http://www.festvox.org/packed/festival/latest/${MY_P}.tar.gz" +LICENSE="FESTIVAL BSD as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="esd nas X" + +RDEPEND="esd? ( media-sound/esound ) + nas? ( media-libs/nas ) + X? ( x11-libs/libX11 + x11-libs/libXt ) + !<app-accessibility/festival-1.96_beta + !sys-power/powerman" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/speech_tools + +src_unpack() { + local CONFIG=${S}/config/config.in + unpack ${A} + + epatch "${FILESDIR}"/${P}-gcc42.patch \ + "${FILESDIR}"/${P}-gcc43-include.patch \ + "${FILESDIR}"/${P}-gcc44.patch + +# set compiler flags for base_class + sed -i -e "s:-O3:\$(OPTIMISE_CXXFLAGS):" "${S}"/base_class/Makefile + + # enable building shared libraries + sed -i -e "s/#.*\(SHARED=2\)/\1/" ${CONFIG} + + use esd && sed -i -e "s/#.*\(INCLUDE_MODULES += ESD_AUDIO\)/\1/" ${CONFIG} + use nas && sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" ${CONFIG} + use X || sed -i -e "s/-lX11 -lXt//" "${S}"/config/modules/esd_audio.mak +} + +src_compile() { + econf || die + emake -j1 OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die +} + +src_install() { + dolib.so lib/libest*.so.1* + dosym libestbase.so.1.2.96.1 /usr/$(get_libdir)/libestbase.so + dosym libestools.so.1.2.96.1 /usr/$(get_libdir)/libestools.so + dosym libeststring.so.1.2 /usr/$(get_libdir)/libeststring.so + dolib.a lib/{libestbase.a,libestools.a,libeststring.a} + + cd 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/$(get_libdir)/speech-tools:g" ${dstfile} + dosed "s:${S}/main:/usr/$(get_libdir)/speech-tools:g" ${dstfile} + + # This just changes LD_LIBRARY_PATH + dosed "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile} + done + + cd "${S}" + exeinto /usr/$(get_libdir)/speech-tools + for file in `find main -perm +100 -type f`; do + doexe ${file} + done + + insinto /usr/share/speech-tools + doins -r config + + insinto /usr/share/speech-tools/lib + doins -r lib/siod + + insinto /usr/share/doc/${PF} + doins -r lib/example_data + + cd include + insinto /usr/include/speech-tools + doins -r * + dosym /usr/include/speech-tools /usr/share/speech-tools/include + cd "${S}" + + dodoc "${S}"/README + dodoc "${S}"/lib/cstrutt.dtd + + #Rename to avoid file collisions. See bug #287983 + mv "${D}/usr/bin/dp" "${D}/usr/bin/speech-dp" +} + +pkg_postinst() { + elog "The /usr/bin/dp wrapper script has been renamed to /usr/bin/speech-dp" + elog "due to file collision with other programs." + elog "See bug #287983 for more details" +} |