From 6e479260831a77b38f58e3f572ead93d8327cf18 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 31 May 2023 21:24:18 +0100 Subject: gentoo auto-resync : 31:05:2023 - 21:24:18 --- app-accessibility/flite/Manifest | 2 +- app-accessibility/flite/flite-2.2-r1.ebuild | 136 ++++++++++++++++++++++++++++ app-accessibility/flite/flite-2.2.ebuild | 135 --------------------------- 3 files changed, 137 insertions(+), 136 deletions(-) create mode 100644 app-accessibility/flite/flite-2.2-r1.ebuild delete mode 100644 app-accessibility/flite/flite-2.2.ebuild (limited to 'app-accessibility/flite') diff --git a/app-accessibility/flite/Manifest b/app-accessibility/flite/Manifest index 1dd09706d670..03bbd3b9ef22 100644 --- a/app-accessibility/flite/Manifest +++ b/app-accessibility/flite/Manifest @@ -32,5 +32,5 @@ DIST cmu_us_rxr.flitevox 7645602 BLAKE2B 532ce8a72455a3d15728b799b8d9c15fcc7bc06 DIST cmu_us_slp.flitevox 7280743 BLAKE2B 99d5270f55374cad466de01b1764d1ffd072cd770d0630f30f96c13af44ac02bc841be5c7aff3fe189e1089e24544363093f4cab481ed1c018bf49c621591b4f SHA512 f19997ab1293bac785f8a8334512ae20d5c1feb20adac40fdc71da125069dedd1a8dc3c69b9247e20bc3f4db307be779e260172f5239622425603684766a5c44 DIST cmu_us_slt.flitevox 11156032 BLAKE2B 909d4d2adf94d5b40aee4b85aefaf1e8383718f491f8cc9639e0a91baccdad42b1b8a91443e4faa51ad9e1c0e25b8474f9b97c5a8d792102f87815bcdabaf230 SHA512 a17994d46b910434803e185820ad27a18caa1195b61f64cdbba1d6992c1bd65b3425d9e4ba40c279bdb6bce53c6b3529496c28c631c1684808f6a83f10846c41 DIST flite-2.2.tar.gz 20233792 BLAKE2B c395c34d2739da523c4794da3a795f2febb7e9a26336c7688215f648c4aee03855c8ac7c9d3817efe3e3a41380a5e325aa8236d1b64af21f8100da3dbba2db23 SHA512 1ca2f4145651490ef8405fdb830a3b42e885020a7603d965f6a5581b01bed41047d396b38c2ceab138fc0b28d28078db17acd2b5a84c6444cb99d65c581afa72 -EBUILD flite-2.2.ebuild 4411 BLAKE2B 64b25467f48ea09d45e30e580c5ed08dda028e5078dda961f06784bb6fdd925a29277eafeb9f36bf656af3b716454ce3a78b1b794232420c38b13bb3f2e71cb5 SHA512 b3069695ddb826c62ee22d476babab955ddd48c4058618dac96d1112e39c56c93e674abec94449ecf83021d799460a8ab883c4a6fa46b300beb4508a6fd111dc +EBUILD flite-2.2-r1.ebuild 4409 BLAKE2B 9ddd9bfd5259b3ac8f57181e039c3f99a6c425ed7a0a1cc733af24fdda45615be09c5b4cfe987be1093ed2635c8f68b4b5520dc6e60f6b943651aef50ff81646 SHA512 cdad52c76d584727f43811efcface7daad11a63a059f2a192145292de74cdff2a3577957a0b8cced319c026c8a2ca868a2ed642a3958c24354b39d0f2489626d MISC metadata.xml 517 BLAKE2B e91b1a0a5e78284d318a97b13637c13666520a280afa818bb7bacabd73d0f8406a6da66899ea4607d1ef3c13f858242e2239eb176dfe24e859c391d16ebed018 SHA512 e9fcd43288f59205389fa9cd35be1da34f014bdbf078891b1f1c51154262562e6ff986a6367035d9ddbfa856c198ba96ed2240b085cdb12ecb746d6b67ad271f diff --git a/app-accessibility/flite/flite-2.2-r1.ebuild b/app-accessibility/flite/flite-2.2-r1.ebuild new file mode 100644 index 000000000000..5c91935f7dc3 --- /dev/null +++ b/app-accessibility/flite/flite-2.2-r1.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal toolchain-funcs + +DESCRIPTION="Flite text to speech engine" +HOMEPAGE="http://www.festvox.org/flite/ https://github.com/festvox/flite" +SRC_URI="https://github.com/festvox/flite/archive/v${PV}.tar.gz -> ${P}.tar.gz + voices? ( + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_ben_rm.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_guj_ad.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_guj_dp.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_guj_kt.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_hin_ab.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_kan_plv.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_mar_aup.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_mar_slp.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_pan_amp.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_tam_sdr.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_tel_kpn.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_tel_sk.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_tel_ss.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_aew.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_ahw.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_aup.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_awb.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_axb.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_bdl.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_clb.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_eey.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_fem.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_gka.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_jmk.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_ksp.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_ljm.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_lnh.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_rms.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_rxr.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_slp.flitevox + http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_slt.flitevox + )" + +LICENSE="BSD freetts public-domain regexp-UofT BSD-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" +IUSE="alsa oss pulseaudio test voices" +REQUIRED_USE="test? ( alsa )" +RESTRICT="!test? ( test )" + +DEPEND=" + pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] ) + !pulseaudio? ( alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.4-audio-interface.patch + "${FILESDIR}"/${PN}-2.2-backport-pr30.patch +) + +get_audio() { + if use pulseaudio; then + echo pulseaudio + elif use alsa; then + echo alsa + elif use oss; then + echo oss + else + echo none + fi +} + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use test && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use test && tc-check-openmp +} + +src_unpack() { + for file in ${A}; do + case "${file}" in + *.flitevox) + cp -av "${DISTDIR}/${file}" "${WORKDIR}/" || die "Unable to copy ${file}" + ;; + *) + unpack "${file}" + ;; + esac + done +} + +src_prepare() { + default + sed -i main/Makefile \ + -e '/-rpath/s|$(LIBDIR)|$(INSTALLLIBDIR)|g' \ + || die + mv configure.{in,ac} || die + eautoreconf + + # custom makefiles + multilib_copy_sources +} + +multilib_src_configure() { + local myconf=( + --enable-shared + --with-audio=$(get_audio) + ) + econf "${myconf[@]}" +} + +multilib_src_compile() { + emake -j1 CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +} + +multilib_src_install_all() { + dodoc ACKNOWLEDGEMENTS README.md + + rm -rf "${D}"/usr/lib*/*.a + + if use voices; then + insinto /usr/share/flite + doins "${WORKDIR}"/*.flitevox + fi +} + +pkg_postinst() { + if [[ "$(get_audio)" = "none" ]]; then + ewarn "flite is built without audio support. Enable the" + ewarn "alsa, oss, or pulseaudio USE flags for audio support." + fi +} diff --git a/app-accessibility/flite/flite-2.2.ebuild b/app-accessibility/flite/flite-2.2.ebuild deleted file mode 100644 index 371654dcecc2..000000000000 --- a/app-accessibility/flite/flite-2.2.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools multilib-minimal toolchain-funcs - -DESCRIPTION="Flite text to speech engine" -HOMEPAGE="http://www.festvox.org/flite/ https://github.com/festvox/flite" -SRC_URI="https://github.com/festvox/flite/archive/v${PV}.tar.gz -> ${P}.tar.gz - voices? ( - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_ben_rm.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_guj_ad.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_guj_dp.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_guj_kt.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_hin_ab.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_kan_plv.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_mar_aup.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_mar_slp.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_pan_amp.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_tam_sdr.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_tel_kpn.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_tel_sk.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_indic_tel_ss.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_aew.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_ahw.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_aup.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_awb.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_axb.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_bdl.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_clb.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_eey.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_fem.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_gka.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_jmk.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_ksp.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_ljm.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_lnh.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_rms.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_rxr.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_slp.flitevox - http://www.festvox.org/${PN}/packed/${P}/voices/cmu_us_slt.flitevox - )" - -LICENSE="BSD freetts public-domain regexp-UofT BSD-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" -IUSE="alsa oss pulseaudio test voices" -RESTRICT="!test? ( test )" -REQUIRED_USE="test? ( alsa )" - -DEPEND=" - pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] ) - !pulseaudio? ( alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) ) -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-1.4-audio-interface.patch - "${FILESDIR}"/${PN}-2.2-backport-pr30.patch -) - -get_audio() { - if use pulseaudio; then - echo pulseaudio - elif use alsa; then - echo alsa - elif use oss; then - echo oss - else - echo none - fi -} - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use test && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use test && tc-check-openmp -} - -src_unpack() { - for file in ${A}; do - case "${file}" in - *.flitevox) - cp -av "${DISTDIR}/${file}" "${WORKDIR}/" || die "Unable to copy ${file}" - ;; - *) - unpack "${file}" - ;; - esac - done -} - -src_prepare() { - default - sed -i main/Makefile \ - -e '/-rpath/s|$(LIBDIR)|$(INSTALLLIBDIR)|g' \ - || die - mv configure.{in,ac} || die - eautoreconf - - # custom makefiles - multilib_copy_sources -} - -multilib_src_configure() { - local myconf=( - --enable-shared - --with-audio=$(get_audio) - ) - econf "${myconf[@]}" -} - -multilib_src_compile() { - emake -j1 CC="$(tc-getCC)" CFLAGS="${CFLAGS}" -} - -multilib_src_install_all() { - dodoc ACKNOWLEDGEMENTS README.md - - rm -rf "${D}"/usr/lib*/*.a - - if use voices; then - insinto /usr/share/flite - doins "${WORKDIR}"/*.flitevox - fi -} - -pkg_postinst() { - if [[ "$(get_audio)" = "none" ]]; then - ewarn "flite is built without audio support. Enable the" - ewarn "alsa, oss, or pulseaudio USE flags for audio support." - fi -} -- cgit v1.2.3