diff options
author | Aaron Bauman <bman@gentoo.org> | 2020-09-26 09:14:58 -0400 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2020-09-26 10:33:24 -0400 |
commit | 3760fa41beb2fb9a78b4d16f7bbe039b5fa964f7 (patch) | |
tree | ddced717da2b4d67e68c3e002395bbb0ca4e7084 /app-accessibility | |
parent | package.mask: Last rite next Python 2 batch (diff) | |
download | gentoo-3760fa41beb2fb9a78b4d16f7bbe039b5fa964f7.tar.gz gentoo-3760fa41beb2fb9a78b4d16f7bbe039b5fa964f7.tar.bz2 gentoo-3760fa41beb2fb9a78b4d16f7bbe039b5fa964f7.zip |
app-accessibility/espeak: drop old EAPI=5
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'app-accessibility')
-rw-r--r-- | app-accessibility/espeak/Manifest | 1 | ||||
-rw-r--r-- | app-accessibility/espeak/espeak-1.47.11-r1.ebuild | 97 | ||||
-rw-r--r-- | app-accessibility/espeak/espeak-1.48.04.ebuild | 97 |
3 files changed, 0 insertions, 195 deletions
diff --git a/app-accessibility/espeak/Manifest b/app-accessibility/espeak/Manifest index 67bec782cc52..24cc686e8b37 100644 --- a/app-accessibility/espeak/Manifest +++ b/app-accessibility/espeak/Manifest @@ -1,2 +1 @@ -DIST espeak-1.47.11-source.zip 2813649 BLAKE2B 0ebeabcfd8193dd0d37c43974616f5fc4d769bde7b0a730b37456cd1ab580ab84b5bc141804f4c25d7bff6f4b401fe46764e0117cd9c4a55e2216de6965c17b7 SHA512 77c3989fbd0e4aadae0da2d7f1c587854895ae103633704ee5b4042b0618897d01edffa80b1f13e6cbf356f2f31beaf4fdb7e90e4ab641d5286d559aaefe932b DIST espeak-1.48.04-source.zip 3019245 BLAKE2B a29da5eab832fa76b180049765f7fa671ebf47c0a68ee2cdfb0f4466846d97b2bf7b8f07dba747e236a27c9b077000bfd471e35b9744ffac7c9014679f5c04fd SHA512 f0759e6ace2604c8cbb19e8c3fd4b106edf4dcece247a6677f6b734af7746c35a367126edfbe585396c98f6c54f07e25d64bfab35e258e64f09bd2c0833247fa diff --git a/app-accessibility/espeak/espeak-1.47.11-r1.ebuild b/app-accessibility/espeak/espeak-1.47.11-r1.ebuild deleted file mode 100644 index 1682a370839d..000000000000 --- a/app-accessibility/espeak/espeak-1.47.11-r1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib toolchain-funcs - -MY_P="${P}-source" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" -DESCRIPTION="Speech synthesizer for English and other languages" -HOMEPAGE="http://espeak.sourceforge.net/" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" -IUSE="portaudio pulseaudio" - -COMMON_DEPEND=" portaudio? ( >=media-libs/portaudio-19_pre20071207 ) - pulseaudio? ( media-sound/pulseaudio )" - -DEPEND="${COMMON_DEPEND} - app-arch/unzip" - -RDEPEND="${COMMON_DEPEND} - media-sound/sox" - -S=${WORKDIR}/${MY_P}/src - -get_audio() { - if use portaudio && use pulseaudio; then - echo runtime - elif use portaudio; then - echo portaudio - elif use pulseaudio; then - echo pulseaudio - else - echo none - fi -} - -src_prepare() { - # gentoo uses portaudio 19. - mv -f portaudio19.h portaudio.h -} - -src_compile() { - emake \ - PREFIX="${EPREFIX}/usr" \ - CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS}" \ - CXX="$(tc-getCXX)" \ - CXXFLAGS="${CXXFLAGS}" \ - AR="$(tc-getAR)" \ - AUDIO="$(get_audio)" \ - all - - einfo "Fixing byte order of phoneme data files" - pushd ../platforms/big_endian > /dev/null - emake \ - CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS}" - ./espeak-phoneme-data \ - ../../espeak-data \ - . \ - ../../espeak-data/phondata-manifest - cp -f phondata phonindex phontab "../../espeak-data" -} - -src_install() { - emake \ - PREFIX="${EPREFIX}/usr" \ - LIBDIR="\$(PREFIX)/$(get_libdir)" \ - DESTDIR="${D}" \ - AUDIO="$(get_audio)" \ - install - - cd .. - insinto /usr/share/espeak-data - doins -r dictsource - dodoc ChangeLog.txt ReadMe - dohtml -r docs/* -} - -pkg_preinst() { - local voicedir="${ROOT}/usr/share/${PN}-data/voices/en" - if [ -d "${voicedir}" ]; then - rm -rf "${voicedir}" - fi -} - -pkg_postinst() { - if ! use portaudio && ! use pulseaudio; then - ewarn "Since portaudio and pulseaudio are not in your use flags," - ewarn "espeak will only be able to create wav files." - ewarn "If this is not what you want, please reemerge ${CATEGORY}/${PN}" - ewarn "with either portaudio or pulseaudio USE flag enabled." - fi -} diff --git a/app-accessibility/espeak/espeak-1.48.04.ebuild b/app-accessibility/espeak/espeak-1.48.04.ebuild deleted file mode 100644 index 0ab3acc0376a..000000000000 --- a/app-accessibility/espeak/espeak-1.48.04.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib toolchain-funcs - -MY_P="${P}-source" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" -DESCRIPTION="Speech synthesizer for English and other languages" -HOMEPAGE="http://espeak.sourceforge.net/" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="portaudio pulseaudio" - -COMMON_DEPEND=" portaudio? ( >=media-libs/portaudio-19_pre20071207 ) - pulseaudio? ( media-sound/pulseaudio )" - -DEPEND="${COMMON_DEPEND} - app-arch/unzip" - -RDEPEND="${COMMON_DEPEND} - media-sound/sox" - -S=${WORKDIR}/${MY_P}/src - -get_audio() { - if use portaudio && use pulseaudio; then - echo runtime - elif use portaudio; then - echo portaudio - elif use pulseaudio; then - echo pulseaudio - else - echo none - fi -} - -src_prepare() { - # gentoo uses portaudio 19. - mv -f portaudio19.h portaudio.h -} - -src_compile() { - emake \ - PREFIX="${EPREFIX}/usr" \ - CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS}" \ - CXX="$(tc-getCXX)" \ - CXXFLAGS="${CXXFLAGS}" \ - AR="$(tc-getAR)" \ - AUDIO="$(get_audio)" \ - all - - einfo "Fixing byte order of phoneme data files" - pushd ../platforms/big_endian > /dev/null - emake \ - CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS}" - ./espeak-phoneme-data \ - ../../espeak-data \ - . \ - ../../espeak-data/phondata-manifest - cp -f phondata phonindex phontab "../../espeak-data" -} - -src_install() { - emake \ - PREFIX="${EPREFIX}/usr" \ - LIBDIR="\$(PREFIX)/$(get_libdir)" \ - DESTDIR="${D}" \ - AUDIO="$(get_audio)" \ - install - - cd .. - insinto /usr/share/espeak-data - doins -r dictsource - dodoc ChangeLog.txt ReadMe - dohtml -r docs/* -} - -pkg_preinst() { - local voicedir="${ROOT}/usr/share/${PN}-data/voices/en" - if [ -d "${voicedir}" ]; then - rm -rf "${voicedir}" - fi -} - -pkg_postinst() { - if ! use portaudio && ! use pulseaudio; then - ewarn "Since portaudio and pulseaudio are not in your use flags," - ewarn "espeak will only be able to create wav files." - ewarn "If this is not what you want, please reemerge ${CATEGORY}/${PN}" - ewarn "with either portaudio or pulseaudio USE flag enabled." - fi -} |