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/Manifest.gz | Bin 4703 -> 4707 bytes app-accessibility/flite/Manifest | 2 +- app-accessibility/flite/flite-2.2-r1.ebuild | 136 +++++++++++++++++++++ app-accessibility/flite/flite-2.2.ebuild | 135 -------------------- app-accessibility/julius/Manifest | 2 +- app-accessibility/julius/julius-4.2.2-r1.ebuild | 62 ++++++++++ app-accessibility/julius/julius-4.2.2.ebuild | 62 ---------- app-accessibility/mbrola/Manifest | 25 ---- app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild | 92 -------------- app-accessibility/speech-dispatcher/Manifest | 2 +- .../speech-dispatcher-0.11.4-r1.ebuild | 128 ------------------- .../speech-dispatcher-0.11.4-r2.ebuild | 128 +++++++++++++++++++ 12 files changed, 329 insertions(+), 445 deletions(-) create mode 100644 app-accessibility/flite/flite-2.2-r1.ebuild delete mode 100644 app-accessibility/flite/flite-2.2.ebuild create mode 100644 app-accessibility/julius/julius-4.2.2-r1.ebuild delete mode 100644 app-accessibility/julius/julius-4.2.2.ebuild delete mode 100644 app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild delete mode 100644 app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r1.ebuild create mode 100644 app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r2.ebuild (limited to 'app-accessibility') diff --git a/app-accessibility/Manifest.gz b/app-accessibility/Manifest.gz index 95a6416acfc7..886b087f1d24 100644 Binary files a/app-accessibility/Manifest.gz and b/app-accessibility/Manifest.gz differ 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 -} diff --git a/app-accessibility/julius/Manifest b/app-accessibility/julius/Manifest index bcd3a86d149a..700157e7e4ce 100644 --- a/app-accessibility/julius/Manifest +++ b/app-accessibility/julius/Manifest @@ -1,5 +1,5 @@ AUX julius-4.2.2-install.patch 9287 BLAKE2B 8cb38d56d664996354e8489f9bdc37b696e03f86bac18dd9f521e2512a228afd1a95bbb738d1d5318de10fb847a0135db0573a3e6b315225bf288cdc0f428e00 SHA512 d757ac3ec1643ec441c54938c201eb88eebb27e084e753bd5555f91e94421398fc8085810e600314dd7942867298b4170e8abcd0f67960a8971bb397e147a01c AUX julius-4.2.2-ldflags.patch 239 BLAKE2B e7b89f42b368df7142e412296e3c652f186f66d21244f9fa1fe6bad6411d1e79fa0df4887afc388078bd810783eedf897a60f93fb14a89afd60de297bac079c7 SHA512 23a4855af3abad321c96642b8e63004a30f262044b3f8debe936c39b855d3be7b600910f29553c0e077960546d9db336ab737987e4e226a2fc2c2253ca6bb67e DIST julius-4.2.2.tar.gz 1720888 BLAKE2B c43fe54a6eb8ad48d1ddf8634115f85369062289516b7ae79ce2dbf7b8bc8610b0fea1cff5716c3ce532f9d5b522cb8e94996c9236a337a3e2d73fd0932d9797 SHA512 c1d6c4016cf326becc2e8945c08cbab9b5acefd0e648b6e35b3078850b1746b5bbdb994fccc66c0adab175fb45fc86c25b8a655047a97c130a2f8e922d3d1c0f -EBUILD julius-4.2.2.ebuild 1371 BLAKE2B c5b485981578f50a4888f51a91300f4ce0bebc6f49db0015a412fa6db29c998a590532993a624b4de2cac56b1b39eb1fa09bce2edf65d9a64fe9edffeba1b403 SHA512 83a835f24eac1d7dcf2820242dc98bf1ca3dd1e6558eb7df1b7d8b08edb34ba59cb126c4afdf8da26d16c51f2391215f9c12abb1ba731878d92d39f9cdf8ac32 +EBUILD julius-4.2.2-r1.ebuild 1368 BLAKE2B f75a3bf6fc03e2cdb39a3829e8e2de05d45a3d812eca81cc91ab06fa11e39bae036f1092c02acc1153ddfd506a3ac27ab574f74fd46f6c4e16019ccd2d772e59 SHA512 0c356c7257e7780b6d8b30c0e928a8acafc3697ac9bfc6b0435ef1e5c65351e7fd5474b51d283c2971db618b7bc7741952b8adea2e8b438ca4d9e812289803dd MISC metadata.xml 339 BLAKE2B df7a1112a4801b1e9d00658f9acc161e323f5681aae2f0272b06d14d8853abc0cb402726b8570d91da72c0fc0fefa0d6438bb2a767c0e87a09dccee219a139f1 SHA512 47dd05e074329654ee14e3bacdd79d2a151c8a1008988d619f2d5323fe7d3df6066bb936d8b96012184df5f6e9112f1a2f4d26933e06b1b9dac30804a13b35cf diff --git a/app-accessibility/julius/julius-4.2.2-r1.ebuild b/app-accessibility/julius/julius-4.2.2-r1.ebuild new file mode 100644 index 000000000000..211d4aeea5f4 --- /dev/null +++ b/app-accessibility/julius/julius-4.2.2-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Large Vocabulary Continuous Speech Recognition Engine" +HOMEPAGE="https://github.com/julius-speech/julius" +SRC_URI="mirror://sourceforge.jp/julius/56549/${P}.tar.gz" + +LICENSE="julius" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+alsa l10n_ja oss portaudio pulseaudio sndfile" +REQUIRED_USE="^^ ( alsa oss portaudio pulseaudio )" + +RDEPEND=" + dev-lang/perl + dev-perl/Jcode + sys-libs/readline:0 + sys-libs/zlib + alsa? ( media-libs/alsa-lib ) + portaudio? ( media-libs/portaudio ) + pulseaudio? ( media-libs/libpulse ) + sndfile? ( media-libs/libsndfile )" +DEPEND="${RDEPEND} + sys-devel/flex" + +PATCHES=( + "${FILESDIR}"/${PN}-4.2.2-install.patch + "${FILESDIR}"/${PN}-4.2.2-ldflags.patch +) + +pkg_setup() { + tc-export CC CXX +} + +src_configure() { + local mymic i + for i in alsa oss portaudio pulseaudio ; do + use ${i} && mymic=${i} + done + + econf \ + --with-mictype=${mymic} \ + $(use_with sndfile) +} + +src_install() { + default + if ! use l10n_ja ; then + rm -r "${ED}"/usr/share/man/ja || die + fi +} + +pkg_postinst() { + eerror "IMPORTANT NOTICE" + elog "/usr/bin/jcontrol has been renamed to /usr/bin/jucontrol" + elog "to avoid file collision with dev-java/java-config." + elog "If this creates a problem with applications, file a gentoo bug." +} diff --git a/app-accessibility/julius/julius-4.2.2.ebuild b/app-accessibility/julius/julius-4.2.2.ebuild deleted file mode 100644 index b26cdb8dfc2c..000000000000 --- a/app-accessibility/julius/julius-4.2.2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Large Vocabulary Continuous Speech Recognition Engine" -HOMEPAGE="https://github.com/julius-speech/julius" -SRC_URI="mirror://sourceforge.jp/julius/56549/${P}.tar.gz" - -LICENSE="julius" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+alsa l10n_ja oss portaudio pulseaudio sndfile" -REQUIRED_USE="^^ ( alsa oss portaudio pulseaudio )" - -RDEPEND=" - dev-lang/perl - dev-perl/Jcode - sys-libs/readline:0 - sys-libs/zlib - alsa? ( media-libs/alsa-lib ) - portaudio? ( media-libs/portaudio ) - pulseaudio? ( media-sound/pulseaudio ) - sndfile? ( media-libs/libsndfile )" -DEPEND="${RDEPEND} - sys-devel/flex" - -PATCHES=( - "${FILESDIR}"/${PN}-4.2.2-install.patch - "${FILESDIR}"/${PN}-4.2.2-ldflags.patch -) - -pkg_setup() { - tc-export CC CXX -} - -src_configure() { - local mymic i - for i in alsa oss portaudio pulseaudio ; do - use ${i} && mymic=${i} - done - - econf \ - --with-mictype=${mymic} \ - $(use_with sndfile) -} - -src_install() { - default - if ! use l10n_ja ; then - rm -r "${ED}"/usr/share/man/ja || die - fi -} - -pkg_postinst() { - eerror "IMPORTANT NOTICE" - elog "/usr/bin/jcontrol has been renamed to /usr/bin/jucontrol" - elog "to avoid file collision with dev-java/java-config." - elog "If this creates a problem with applications, file a gentoo bug." -} diff --git a/app-accessibility/mbrola/Manifest b/app-accessibility/mbrola/Manifest index ad6bebe1f3e5..74d5800f188c 100644 --- a/app-accessibility/mbrola/Manifest +++ b/app-accessibility/mbrola/Manifest @@ -1,29 +1,4 @@ AUX mbrola-3.3-Makefile.patch 3147 BLAKE2B e6d5f874d5c0e6d6dbdc15e23418148d96a460e45bb2a8e0e0bbf3a3e8c7e4ccd6e312e9f7d2dad73ffb2d191079ebca2af03a8888f206e3c05a05f1254a5240 SHA512 4393aba0ee7bd1dd62c4cf8f8f7994ced8f6b492a038d9186ed1802deb36cad9665657d8df0752e1e899cd8529bc5242237a75babadf739e2d7acd4ec4e31fc3 -DIST de1-980227.zip 9946342 BLAKE2B f14c2baef6cfdd66004a2d64e0623c347b8a1116cfb6441729cf9089eef2c67bc9c1cbf3db2679d43c4b407d4a8b73d2905fb8c547777ba1dc461bf8a603a9c3 SHA512 df9027ee1a1bd32542d02bb851bff54379a9526f3d52429786e51c4a96b9de9cb1b8e1e7d66d4c6c77a13e285311c62fa0a13e0e749c8590c7292121e231fb47 -DIST de2-990106.zip 9463658 BLAKE2B db52832db05ed81b1abe43972fc6497b8ea2a93c157fb4c5a641fb9fef0fe70d3ac8139c76b1dba00a58e722e3afdb2629979581731a48d706bdda85414061d4 SHA512 9d2dfb685c71d4348bad142035152c6c4bfb60f98121ea1be4e51adfb078137aa93c0b8b4c1e43c9aaee51e0d3bad4a6c7a2f6ffc019e0cb34ac853cddd8b7be -DIST de3-000307.zip 10486554 BLAKE2B 019fd652fb173e6ff492467eef35d4d45ed89ae04a39785c1ddaa59d32d16cf6779d80b9812368540398e19416e280041671c2d74577e7727d0a12f6c5c3e3d0 SHA512 32bbf8d19d2f1032429b1f777c43d49746c45d5c150258f08a1533f7681df973483ac96f3db8c6bfff0481f7558853b749ee7c024410237982e712880935ccb9 -DIST de4.zip 19520969 BLAKE2B c8598846b30583f7d187be0a0ef11b45bbbd537d4df3a8a571929ed7498abd58274769eb1d7d39dfd6e30397981119e94657cc5bef41852ce38cee56764135a4 SHA512 ea8ab4192c68b9ad6c4f4c02500015449fc332c22f811cdeee8956a85c347bb48fa263082495f5cd20c0b3641b67673acb7b3da081cb15863271d988b238b4d7 -DIST de5.zip 13134662 BLAKE2B 7c755a75ce66c6c964e23ba3e5db4981137f7d8c12bf3087f14737c285f9c76e664fcdd60a8c25abc9fc006872d40d14d0a82035700841e2bf6f9f8040855303 SHA512 652110430f13cb81420ffa08d368d7992a5ce814c9682d5ab90ec1cd43aa631b6cae9df918171864184efdda0ad804ca4560ede6d048ef3067332f712f72cc19 -DIST de8.zip 9693603 BLAKE2B 714d9cf965f334cd78fad9678b211b9774e82bddfab15a8f9a277a6a1a47ed5e27c4bb49393c500e78c21577a248888c05ec3a4bb36e48cc4c5d60c30ec9c150 SHA512 6e8d1be85eb8c24d5c38c1c102cecca4af9538a55b75b78ef62bccf0761a431beb0ed3d31e4aea271c29037631ed4b00763aea90c06dffddb3b52cbe8d65b3d7 -DIST es1-980610.zip 2110022 BLAKE2B ca03827f5db08e7489f7d7526e0a5607a1d8e06d1936984dbf6cce044731ad80acdf8674b07b4efb48be27f036b5e4b4abf189e4bf85885d0cf3ed59a873443d SHA512 1459a346c66133e70eeb1cec057b762e6f22d11472c33c732cd45b92afecb8628de861992abb07c3272ee640bb023154b838d1648b6541228256e57206216ed5 -DIST es2-989825.zip 5111601 BLAKE2B f97a09006ee4e676d1b2e271330c46f989fc9df429a8b38240cee2240b4a0d667e37afdae9d14db86e0eecb99beba9b61a26350205589cde4231c5bd77ad7018 SHA512 69d9bb62b42607714ea692a3570c70ddbe32590f2dd6c0466f6cad685a292c74ade693af7fead0d4bbdf12a70a36e06e3205bd07854855b628f59d7bc1d1be3a -DIST es4.zip 2804262 BLAKE2B 52f7d37ffafefecc82235bc9fc75e18d2beb123b1aeedcb9e2b1dae57fa97ef2bcd5d9b594f320a26b6fa8e30ad4e6d036ace9e34297166ac17f5142ce63d571 SHA512 b5ce924fc894a3e186cf06feb3afc0f8ce2805310e1da34c4a74b52100d2ecfbb073d63c87c5809e05e89b47b57fa32bc0edd44ad7477aa92facc9ac041cd349 -DIST fr1-990204.zip 4694334 BLAKE2B a47befd6d661a497072dea2d693bf20be00eda72f64d7670588692acfb3304f9cf10973e99cb6455b919c2adc89bb597ea1c78c04573b60eb5f1c0a916833054 SHA512 1a24326f6f9989d88f8a8447ebb1d9f8fbfd49f909a28d456c170bc8615b9385be678202e0d6d5c867d3a50ca68ca16f85ea5410d16fd2c70e4f9b6f7b115afb -DIST fr2-980806.zip 5744598 BLAKE2B 21006b4b236ec05df964832eb3487b55ac447c199fa544143fadb18bb57214e7278c119f4a7566e089666e2b2562c5f1899f85b37bb746d75a8c68adc4d990ea SHA512 cca19bc7db0118e6a09f203346f355e87b2a75902e06ee7d82c2379a4ebaa8144f64ae79b5ff6cd9c49e0d46a26d2a05109f325bda78e1b0462089b6d03a104c -DIST fr3-990324.zip 4702681 BLAKE2B 8a9078bee17f488f43225bad2aff93e94e8d6c29f2b1b291f7e651376da7ca1595d16b66360b02e429b16428aa9bbe485c44e151d9ff8a8920b11aafa6a16215 SHA512 24a715b5913ca931624f5c079d7027d3c84543c6044ab49283550dd7d0158d19c610d2ee9ebb055d8de14f9b817aac1d4b32599729b17838d5f914ec3bf50439 -DIST fr6-010330.zip 4610252 BLAKE2B 37242228b5722a5f1a9962492e9d927d8e25c54abc499f2d11f5fe6e1007c7609aca0733f40edb81fd73f8a42c443b5124398a3292a21d718dec10c4e3687588 SHA512 41bfba97e6b06a987a691a7dbb6e6a5bc00c7a6e4576215297e1db974a8efd06fc7e960fc0c83f024852c195c7f4c0da5e8d3ac6f5ad3f641193ee1d65679879 -DIST it3-010304.zip 5349273 BLAKE2B 7f1c98945c213b738eaacbf4164bb18cc44cef0b12a64f1ee2ced92e0cf468bfcebefa83307d31e5695f3580d57b06d0bf43397bd524a28825163f38aa75507a SHA512 cb179430b93cef676d4e3f792d453f2dc3a34ad0f5bd0a36e97ded98b17c0dc5cad1622f7bb7e7f4f6b26d944573b906b33eb519bc19d0bcec01ea4810d8f71c -DIST it4-010926.zip 5044168 BLAKE2B e2e63f85f13f0d8667a46e5c78e9e449ffe32cf798d8e46b942af390b60bf636cf1d23520c5e13d180b2dcfe80040ae87616726bf1db818f2aad31d8b9a48e4f SHA512 a7fcdff5b30e213bf9f043c2323e73a769357a46ce6df9114579cc62392fe2394ce472120c73018a1a71870c7565d18bb912ba7650a267f8779e18c12f260113 -DIST la1.zip 7627631 BLAKE2B 7361fdf7fe072d6e9e71e8f41e3874023c6368d47e1fb8853578774b8df61b90e9ba6b38921f5286fd7c5ba9bfdf9056b6cdab9546e162f78f0d6082a7148a88 SHA512 5a367ede393feb28b587a380975baa84ca1840dfc5479f938de1588954f3ae23b06e0214b854e1f0137f178d197e4999e8e8750b136d964797116d53e49ec6cb -DIST mbr301h.zip 309820 BLAKE2B 4c311e700e8ab0af7da9a33da6f57ac5fa2328f4049f703669fb03e4e468e578b5df5fa9b4cd468a74ad62a70330378f8127637e850e3f1ce3a8e1a979a6dc1d SHA512 24b522092ff8f18ab606ed9cae609a69ce8ae9ea56228468dfc3c4c6c114bc65ce9d69f420cddbdff75f1200dbed1edb667e8d84937a73218542dea25a88b848 DIST mbrola-3.3.tar.gz 345444 BLAKE2B e41d28e16d7792e91405d8449845f7f3e7a53b5176e1076a4a63e62f7f53f70fb955925762bb6c7c9560ff033530d8b20df6a0c580bc07758194982d6130e669 SHA512 4c15481d2afc7f459c511d2f2791ae1f0f89893ea86fcde113c73f9b5509b893bc7beac8ec5fa76ca0f4e0aca35982ff1db15e8611514d91991608aee004c3f2 -DIST pl1.zip 4050906 BLAKE2B ed60926ed95949e3e92313863d7e3c84c853347123ac93d54e042fc995e311d0db7afb19603f89b410ec544f0ea56d3eea1f094b45ea82c789325c09776642e8 SHA512 e42d4208719798512c5296e89defa59b46719c787bd352503f6377b185e817b709a27228a8fd2e70536632f68dff81aac9e145902e2a17fe95a366b0d4d03478 -DIST ro1-980317.zip 3222054 BLAKE2B b19e3ec147e7650fc0475dafb63af8c2d09da7f21f6536617fbaa73d4dc95431895bbe134f39daa3078e01a6620d91bc22e162401b3be42e731592c627a540e6 SHA512 06075426f3befde1a4a2c589f92340c964b22fc1cf54d34d1808d6ab8ba0d50a57f4a96e1c68ba06badee466d11bb46db6c929ce974ea25212ffb1987468b9a1 -DIST sw1-980623.zip 9386828 BLAKE2B 89a03aa3491efaf188b70d4cdeafa071dee86faefc45ecdbd6b26e10a60619a02e79874b86f67c6e2217c7592c5afaaadf4757eab6b94c1924546f1b7800ec8e SHA512 c3b2493f5ba6f91983bd6e2d821cce741d427886cdfa17f1f3ea58197445229fcaca05bd09f531c3166360f77232d04ef61290a5f2a2bbba22587d689d821484 -DIST sw2-140102.zip 5629399 BLAKE2B ea0b340dc4b0cf3fa7cbb170d2eb51d7a3f1c383de1ea2c2a397426f460eacf2f032e0e68170f98d43e5f869a5ab89cac71e867ae0b142f44b2794e8330fd145 SHA512 eedfe81cd37e3cbd022b3e2be5878d165cf29fb0cee36ddc700ba567c92181eaec0e48699fedffdd780f2205ab3e1ddd9a9426a88b0e6f02992de1639e4ce0b3 -DIST us1-980512.zip 6562915 BLAKE2B 72d884f6f8a83a07786363be8cd919748334bae52637e18b7970eebc53c3f267b3f65ff16f4440298c2a166733a38585ad498c40a2bedd7ddf793ce75d044a9e SHA512 e2b1eb7325e9fe0b58f3b0e265899b0da1cf5ec1cb183f241bf73ba670528b56cd091277f432446e6651d81dca21f2b2ea8a84622dd655d125cedda0447cdb62 -DIST us2-980812.zip 6387442 BLAKE2B 73502264a3900255f91edf5e3b92baff706205a72002faaed6b3a8eb0a7e0e32c21e14870cfa07a546c8bea6112b5433ca64b09b455070c49aaf2f059591025f SHA512 a8aea10bc08f6c66e863994a5238fc2caba1d308f5c9ef35ccd18d01eb92a38fcbc0b96593a56bd7abd2f714fe722aa6b3e2c3141da92a4c8c06e81efb843ac6 -DIST us3-990208.zip 6195800 BLAKE2B cf58531738ed412f75ff3c6d9788db8afd3468c10e5c07775b893516f399e3d14ef2bd5ebc5bb57ebb363d3c077924a496984f680e2ab9c45d05efc70642df19 SHA512 dbc6b0cdc3040ec3747f25a15dd17f35f0e97c40a153ae44e43a7e8030302e7e7c8710b10fe8184cc38f907de07a187ac0a7e3816be2230ce969aa014641d0ae -EBUILD mbrola-3.0.1h-r6.ebuild 2652 BLAKE2B 7012ae6d8eee190816a5d59387fc177c5895b472a6d1dbaad9d5a2b270dd2bdffa69f28ebac3ac77323ce23653d58a0f3cf9d7ef59a689cdcdccb63c911663ea SHA512 90faedb6610c6a9b955f91f463297f7116a3696ee50bdf12728c9492c369eb42b5cc7b4a8b78fcb64c31b6449f03276069bb5fc9acdcb4fb6e57d3be2d9c0aa2 EBUILD mbrola-3.3-r1.ebuild 704 BLAKE2B d556d33a15d1eed22456762912d809c10845ec012df530d916d0b2d1172d0dcc5dbc212adf3b79d0f39c526b273c647f72fa9327ae33d5422e7a7fec4f0d063f SHA512 62d8cc80df04b6c8c42d9351fccebe27e2f46d8d13707de5c10e1ec68cdb6ab57619fa70dbd70f5d423a2a8a6cd4b2b3c21b70483ecc802de57b4e106dc239fd MISC metadata.xml 465 BLAKE2B 7bde5caf3892d6f65498e672f7012a37265c70d1112db13288e8bd8311e32b4e46c65039c70192620a900eff33c6283e7f4d2f0cc49a918709c2c5347ac45c26 SHA512 2b11245580478c29c0d309941532b3c89804e22197f0986536a38105f7b0f1045c6c2e509243a48c5b772d84650fd9037330b347269ae0124d834828f7c2dce0 diff --git a/app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild b/app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild deleted file mode 100644 index f02fbb87b8fd..000000000000 --- a/app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -IUSE="l10n_de l10n_es l10n_fr l10n_it l10n_la l10n_pl l10n_ro l10n_sv" - -DESCRIPTION="Speech synthesizer based on the concatenation of diphones. Includes samples" -HOMEPAGE="http://tcts.fpms.ac.be/synthesis/mbrola.html" -MY_PV=${PV//./} -TCTS="http://tcts.fpms.ac.be/synthesis" -SRC_URI="http://tcts.fpms.ac.be/synthesis/${PN}/bin/pclinux/mbr${MY_PV}.zip - ${TCTS}/mbrola/dba/us1/us1-980512.zip - ${TCTS}/mbrola/dba/us1/us2-980812.zip - ${TCTS}/mbrola/dba/us3/us3-990208.zip - l10n_de? ( ${TCTS}/mbrola/dba/de1/de1-980227.zip - ${TCTS}/mbrola/dba/de2/de2-990106.zip - ${TCTS}/mbrola/dba/de3/de3-000307.zip - ${TCTS}/mbrola/dba/de4/de4.zip - ${TCTS}/mbrola/dba/de5/de5.zip - ${TCTS}/mbrola/dba/de8/de8.zip ) - l10n_es? ( ${TCTS}/mbrola/dba/es1/es1-980610.zip - ${TCTS}/mbrola/dba/es2/es2-989825.zip - ${TCTS}/mbrola/dba/es4/es4.zip ) - l10n_fr? ( ${TCTS}/mbrola/dba/fr1/fr1-990204.zip - ${TCTS}/mbrola/dba/fr2/fr2-980806.zip - ${TCTS}/mbrola/dba/fr3/fr3-990324.zip - ${TCTS}/mbrola/dba/fr6/fr6-010330.zip ) - l10n_it? ( ${TCTS}/mbrola/dba/it3/it3-010304.zip - ${TCTS}/mbrola/dba/it4/it4-010926.zip ) - l10n_la? ( ${TCTS}/mbrola/dba/la1/la1.zip ) - l10n_pl? ( ${TCTS}/mbrola/dba/pl1/pl1.zip ) - l10n_ro? ( ${TCTS}/mbrola/dba/ro1/ro1-980317.zip ) - l10n_sv? ( ${TCTS}/mbrola/dba/sw1/sw1-980623.zip - ${TCTS}/mbrola/dba/sw2/sw2-140102.zip )" -S=${WORKDIR} - -LICENSE="MBROLA" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" -RESTRICT="strip" - -BDEPEND="app-arch/unzip" - -QA_PREBUILT="/usr/bin/mbrola" - -src_unpack() { - default - - if [[ -f pl1 ]]; then - mkdir pl1DIR || die - mv pl1 pl1.txt pl1DIR || die - mv test pl1DIR/TEST || die - mv pl1DIR pl1 || die - fi - - case ${ARCH} in - x86|amd64) - cp mbrola-linux-i386 mbrola || die - ;; - ppc) - cp mbrola302b-linux-ppc mbrola || die - ;; - sparc) - cp mbrola-SuSElinux-ultra1.dat mbrola || die - ;; - alpha) - cp mbrola-linux-alpha mbrola || die - ;; - *) - elog "mbrola binary not available on this architecture. Still installing voices." - esac -} - -src_install() { - # Take care of main binary - if [[ -f mbrola ]]; then - dobin mbrola - dosym ../../bin/mbrola "/usr/share/${PN}/mbrola" - fi - - dodoc readme.txt - - for voice in ??[0-9]; do - insinto /usr/share/${PN}/${voice} - [[ -f "${voice}/license.txt" ]] && doins ${voice}/license.txt - [[ -f "${voice}/${voice}" ]] && doins ${voice}/${voice} - [[ -f "${voice}/${voice}mrpa" ]] && doins ${voice}/${voice}mrpa - [[ -d "${voice}/TEST" ]] && doins -r ${voice}/TEST - [[ -f "${voice}/${voice}.txt" ]] && dodoc ${voice}/${voice}.txt - done -} diff --git a/app-accessibility/speech-dispatcher/Manifest b/app-accessibility/speech-dispatcher/Manifest index 34b48e51245a..7a606736b623 100644 --- a/app-accessibility/speech-dispatcher/Manifest +++ b/app-accessibility/speech-dispatcher/Manifest @@ -1,4 +1,4 @@ AUX speech-dispatcher-0.11.4-GNU_SOURCE.patch 3680 BLAKE2B 671b55d0418b92d299427fd2d457e3279f1ae9d97548dd1ff89b52a2487cd700c134e7bb042ae6b621883933d1b3c96765f6fc2ed040c0de4c7d97f017ad965f SHA512 d07edc73370fdb8d9c71f8cc9c9db15da8fe3b7d83ca42bd05a09fc4795899786e54436d7dbc8407ab08eb0384997126322352ed9d4c4250d41a11d0d68dd4b4 DIST speech-dispatcher-0.11.4.tar.gz 7127323 BLAKE2B 651a20ec403c6158756ab6ff7fbedb38ce1cec413be49367128274c8d20ccc7080a2dccd68cb7ebbec6bab05599f06a4aafc561e4e5e53cf52d19fa1b94fa286 SHA512 d0ebe832e2586abdb1284be36f8427cfbbd94f1a2dead1b74526b151e9529f9e61679339274b73afab5f829d184337372ba0aad93d880c42d2a6a1bcb2b7afef -EBUILD speech-dispatcher-0.11.4-r1.ebuild 2914 BLAKE2B 5803d14b8bdde95adc3f81a84a0496e0810c08e1b2d0bbfdfc6c6db0c03a805504f74a435b9470acba3e7622c26b231aeae076b5e7e331c85c4ae015bd23c44d SHA512 4880afa5a46858295efcd7f2878910618a1a9f07b1662094aa84ef087c7054d0bd37cd960d380d54fc650e26c63bdeb6bc77d4afa195d901eb9a02c212649820 +EBUILD speech-dispatcher-0.11.4-r2.ebuild 2911 BLAKE2B 2914ea298055f47a1a77356b9f5f2fb3b888757f8a93ac4029606cadce054035666ab4d9f4c69314df0258c0dffb34ae247bcdd91db9650a7708ef967806fa95 SHA512 7583c737c68386b5e23d4540d8aaa19c66eddcdd8451bccbd891e0a99cee44e1b0c676f2e870466a0822fee1bf25a9bef007dcf57f3f4f77c57bf7a115c0016b MISC metadata.xml 721 BLAKE2B 926d97f613858988bb43ba292b45699cd0d2df876d05db38767296d1408d6f60580f32a019cd1541a517ad27606185d046838637ee4c4c27c6c70ced30d0d492 SHA512 22eeafb4e7bad9bdd96f5b950a5bbdd5259734b589bfb34876fe758a0779a5dda532b0bd696acf9da5ff124bb78e3b58d6787bd8bdc698879e34e6c8ed5bcd45 diff --git a/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r1.ebuild b/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r1.ebuild deleted file mode 100644 index 1b0b5acf3017..000000000000 --- a/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -# TODO: drop autotools + eautoreconf after 0.11.4 -inherit autotools python-r1 systemd - -DESCRIPTION="Speech synthesis interface" -HOMEPAGE="https://freebsoft.org/speechd" -SRC_URI="https://github.com/brailcom/speechd/releases/download/${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86" -IUSE="alsa ao +espeak flite nas pulseaudio python" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -DEPEND="python? ( ${PYTHON_DEPS} ) - >=dev-libs/dotconf-1.3 - >=dev-libs/glib-2.36:2 - >=media-libs/libsndfile-1.0.2 - alsa? ( media-libs/alsa-lib ) - ao? ( media-libs/libao ) - espeak? ( app-accessibility/espeak-ng ) - flite? ( app-accessibility/flite ) - nas? ( media-libs/nas ) - pulseaudio? ( media-sound/pulseaudio )" -RDEPEND="${DEPEND} - python? ( dev-python/pyxdg[${PYTHON_USEDEP}] )" -BDEPEND=" - sys-apps/help2man - >=sys-devel/gettext-0.19.8 - virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-0.11.4-GNU_SOURCE.patch -) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - # bug 573732 - export GIT_CEILING_DIRECTORIES="${WORKDIR}" - - local myeconfargs=( - --disable-ltdl - --disable-python - --disable-static - --with-baratinoo=no - --with-ibmtts=no - --with-kali=no - --with-pico=no - --with-voxin=no - --with-espeak=no - $(use_with alsa) - $(use_with ao libao) - $(use_with espeak espeak-ng) - $(use_with flite) - $(use_with nas) - $(use_with pulseaudio pulse) - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" - ) - econf "${myeconfargs[@]}" -} - -src_compile() { - use python && python_copy_sources - - emake - - if use python; then - building() { - cd src/api/python || die - emake \ - pyexecdir="$(python_get_sitedir)" \ - pythondir="$(python_get_sitedir)" - } - python_foreach_impl run_in_build_dir building - fi -} - -src_install() { - default - - if use python; then - installation() { - cd src/api/python || die - emake \ - DESTDIR="${D}" \ - pyexecdir="$(python_get_sitedir)" \ - pythondir="$(python_get_sitedir)" \ - install - } - python_foreach_impl run_in_build_dir installation - python_replicate_script "${ED}"/usr/bin/spd-conf - python_foreach_impl python_optimize - fi - - find "${D}" -name '*.la' -type f -delete || die -} - -pkg_postinst() { - local editconfig="n" - if ! use espeak; then - ewarn "You have disabled espeak-ng, which is speech-dispatcher's" - ewarn "default speech synthesizer." - ewarn - editconfig="y" - fi - if ! use pulseaudio; then - ewarn "You have disabled pulseaudio support." - ewarn "pulseaudio is speech-dispatcher's default audio subsystem." - ewarn - editconfig="y" - fi - if [[ "${editconfig}" == "y" ]]; then - ewarn "You must edit ${EROOT}/etc/speech-dispatcher/speechd.conf" - ewarn "and make sure the settings there match your system." - ewarn - fi -} diff --git a/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r2.ebuild b/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r2.ebuild new file mode 100644 index 000000000000..19e22e05c8f8 --- /dev/null +++ b/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r2.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +# TODO: drop autotools + eautoreconf after 0.11.4 +inherit autotools python-r1 systemd + +DESCRIPTION="Speech synthesis interface" +HOMEPAGE="https://freebsoft.org/speechd" +SRC_URI="https://github.com/brailcom/speechd/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86" +IUSE="alsa ao +espeak flite nas pulseaudio python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND="python? ( ${PYTHON_DEPS} ) + >=dev-libs/dotconf-1.3 + >=dev-libs/glib-2.36:2 + >=media-libs/libsndfile-1.0.2 + alsa? ( media-libs/alsa-lib ) + ao? ( media-libs/libao ) + espeak? ( app-accessibility/espeak-ng ) + flite? ( app-accessibility/flite ) + nas? ( media-libs/nas ) + pulseaudio? ( media-libs/libpulse )" +RDEPEND="${DEPEND} + python? ( dev-python/pyxdg[${PYTHON_USEDEP}] )" +BDEPEND=" + sys-apps/help2man + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-0.11.4-GNU_SOURCE.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # bug 573732 + export GIT_CEILING_DIRECTORIES="${WORKDIR}" + + local myeconfargs=( + --disable-ltdl + --disable-python + --disable-static + --with-baratinoo=no + --with-ibmtts=no + --with-kali=no + --with-pico=no + --with-voxin=no + --with-espeak=no + $(use_with alsa) + $(use_with ao libao) + $(use_with espeak espeak-ng) + $(use_with flite) + $(use_with nas) + $(use_with pulseaudio pulse) + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + use python && python_copy_sources + + emake + + if use python; then + building() { + cd src/api/python || die + emake \ + pyexecdir="$(python_get_sitedir)" \ + pythondir="$(python_get_sitedir)" + } + python_foreach_impl run_in_build_dir building + fi +} + +src_install() { + default + + if use python; then + installation() { + cd src/api/python || die + emake \ + DESTDIR="${D}" \ + pyexecdir="$(python_get_sitedir)" \ + pythondir="$(python_get_sitedir)" \ + install + } + python_foreach_impl run_in_build_dir installation + python_replicate_script "${ED}"/usr/bin/spd-conf + python_foreach_impl python_optimize + fi + + find "${D}" -name '*.la' -type f -delete || die +} + +pkg_postinst() { + local editconfig="n" + if ! use espeak; then + ewarn "You have disabled espeak-ng, which is speech-dispatcher's" + ewarn "default speech synthesizer." + ewarn + editconfig="y" + fi + if ! use pulseaudio; then + ewarn "You have disabled pulseaudio support." + ewarn "pulseaudio is speech-dispatcher's default audio subsystem." + ewarn + editconfig="y" + fi + if [[ "${editconfig}" == "y" ]]; then + ewarn "You must edit ${EROOT}/etc/speech-dispatcher/speechd.conf" + ewarn "and make sure the settings there match your system." + ewarn + fi +} -- cgit v1.2.3