diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-06-19 09:01:01 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-06-19 09:04:20 +0200 |
commit | d0d66cd2a254be3899835f2722edff688e2e2b8e (patch) | |
tree | 90f41cdc6381540e79511e0d242af970fee87f02 /app-accessibility/speech-tools | |
parent | dev-libs/efl: keyworded 1.20.7 for ia64, bug #657334 (diff) | |
download | gentoo-d0d66cd2a254be3899835f2722edff688e2e2b8e.tar.gz gentoo-d0d66cd2a254be3899835f2722edff688e2e2b8e.tar.bz2 gentoo-d0d66cd2a254be3899835f2722edff688e2e2b8e.zip |
app-accessibility/speech-tools: Drop old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-accessibility/speech-tools')
-rw-r--r-- | app-accessibility/speech-tools/speech-tools-2.1-r2.ebuild | 107 | ||||
-rw-r--r-- | app-accessibility/speech-tools/speech-tools-2.1-r3.ebuild | 117 |
2 files changed, 0 insertions, 224 deletions
diff --git a/app-accessibility/speech-tools/speech-tools-2.1-r2.ebuild b/app-accessibility/speech-tools/speech-tools-2.1-r2.ebuild deleted file mode 100644 index 0dff90d91bd9..000000000000 --- a/app-accessibility/speech-tools/speech-tools-2.1-r2.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils flag-o-matic multilib toolchain-funcs - -MY_P=${P/speech-/speech_} -PATCHSET="r3" - -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/${PV}/${MY_P}-release.tar.gz - https://dev.gentoo.org/~neurogeek/${PN}/${MY_P}-${PATCHSET}-patches.tar.gz" - -LICENSE="FESTIVAL HPND BSD rc regexp-UofT" -SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="nas X" - -RDEPEND=" - nas? ( media-libs/nas ) - X? ( x11-libs/libX11 - x11-libs/libXt ) - >=media-libs/alsa-lib-1.0.20-r1 - !<app-accessibility/festival-1.96_beta - !sys-power/powerman - >=sys-libs/ncurses-5.6-r2:0= -" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -S="${WORKDIR}/speech_tools" - -src_prepare() { - EPATCH_SUFFIX="patch" - epatch - - sed -i -e 's,{{HORRIBLELIBARCHKLUDGE}},"/usr/$(get_libdir)",' main/siod_main.cc - - #WRT bug #309983 - sed -i -e "s:\(GCC_SYSTEM_OPTIONS =\).*:\1:" "${S}"/config/systems/sparc_SunOS5.mak - - # Fix underlinking, bug #493204 - epatch "${FILESDIR}"/${PN}-2.1-underlinking.patch -} - -src_configure() { - local CONFIG=config/config.in - sed -i -e 's/@COMPILERTYPE@/gcc42/' ${CONFIG} - if use nas; then - sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" ${CONFIG} - fi - if ! use X; then - sed -i -e "s/-lX11 -lXt//" config/modules/esd_audio.mak - fi - econf -} - -src_compile() { - emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" CXX_OTHER_FLAGS="${CXXFLAGS}" CC_OTHER_FLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" -} - -src_install() { - dolib.so lib/libest*.so* - - dodoc "${S}"/README - dodoc "${S}"/lib/cstrutt.dtd - - insinto /usr/share/doc/${PF} - doins -r lib/example_data - - insinto /usr/share/speech-tools - doins -r config base_class - - insinto /usr/share/speech-tools/lib - doins -r lib/siod - - cd include - insinto /usr/include/speech-tools - doins -r * - dosym ../../include/speech-tools /usr/share/speech-tools/include - - cd ../bin - for file in *; do - [ "${file}" = "Makefile" ] && continue - dobin ${file} - dstfile="${D}/usr/bin/${file}" - sed -i -e "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" ${dstfile} - sed -i -e "s:${S}/bin:/usr/$(get_libdir)/speech-tools:g" ${dstfile} - sed -i -e "s:${S}/main:/usr/$(get_libdir)/speech-tools:g" ${dstfile} - - # This just changes LD_LIBRARY_PATH - sed -i -e "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 - - #Remove /usr/bin/resynth as it is broken. See bug #253556 - rm "${D}/usr/bin/resynth" -} diff --git a/app-accessibility/speech-tools/speech-tools-2.1-r3.ebuild b/app-accessibility/speech-tools/speech-tools-2.1-r3.ebuild deleted file mode 100644 index c04286d3513c..000000000000 --- a/app-accessibility/speech-tools/speech-tools-2.1-r3.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils flag-o-matic multilib toolchain-funcs - -MY_P=${P/speech-/speech_} -PATCHSET="r3" - -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/${PV}/${MY_P}-release.tar.gz - https://dev.gentoo.org/~neurogeek/${PN}/${MY_P}-${PATCHSET}-patches.tar.gz" - -LICENSE="FESTIVAL HPND BSD rc regexp-UofT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="nas X" - -RDEPEND=" - nas? ( media-libs/nas ) - X? ( x11-libs/libX11 - x11-libs/libXt ) - >=media-libs/alsa-lib-1.0.20-r1 - !<app-accessibility/festival-1.96_beta - !sys-power/powerman - >=sys-libs/ncurses-5.6-r2:0= -" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -S="${WORKDIR}/speech_tools" - -src_prepare() { - EPATCH_SUFFIX="patch" - epatch - - sed -i -e 's,{{HORRIBLELIBARCHKLUDGE}},"/usr/$(get_libdir)",' \ - main/siod_main.cc || die - - #WRT bug #309983 - sed -i -e "s:\(GCC_SYSTEM_OPTIONS =\).*:\1:" \ - "${S}"/config/systems/sparc_SunOS5.mak || die - - # Fix underlinking, bug #493204 - epatch "${FILESDIR}"/${PN}-2.1-underlinking.patch -} - -src_configure() { - local CONFIG=config/config.in - sed -i -e 's/@COMPILERTYPE@/gcc42/' ${CONFIG} || die - if use nas; then - sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" \ - ${CONFIG} || die - fi - if ! use X; then - sed -i -e "s/-lX11 -lXt//" config/modules/esd_audio.mak || die - fi - econf -} - -src_compile() { - emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" CXX_OTHER_FLAGS="${CXXFLAGS}" CC_OTHER_FLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" -} - -src_install() { - dolib.so lib/libest*.so* - - dodoc "${S}"/README - dodoc "${S}"/lib/cstrutt.dtd - - insinto /usr/share/doc/${PF} - doins -r lib/example_data - - insinto /usr/share/speech-tools - doins -r config base_class - - insinto /usr/share/speech-tools/lib - doins -r lib/siod - - cd include || die - insinto /usr/include/speech-tools - doins -r * - dosym ../../include/speech-tools /usr/share/speech-tools/include - - cd ../bin || die - for file in *; do - [ "${file}" = "Makefile" ] && continue - dobin ${file} - dstfile="${D}/usr/bin/${file}" - sed -i -e "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" \ - ${dstfile} || die - sed -i -e "s:${S}/bin:/usr/$(get_libdir)/speech-tools:g" \ - ${dstfile} || die - sed -i -e "s:${S}/main:/usr/$(get_libdir)/speech-tools:g" \ - ${dstfile} || die - - # This just changes LD_LIBRARY_PATH - sed -i -e "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile} || die - done - - cd "${S}" || die - exeinto /usr/$(get_libdir)/speech-tools - for file in `find main -perm /111 -type f`; do - doexe ${file} - done - - #Remove /usr/bin/resynth as it is broken. See bug #253556 - rm "${D}/usr/bin/resynth" || die - - # Remove bcat (only useful for testing on windows, see bug #418301). - rm "${D}/usr/bin/bcat" || die - rm "${D}/usr/$(get_libdir)/speech-tools/bcat" || die -} |