From fb6a7e84128cd7df87023d4e7d224de83057f748 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 6 May 2023 17:34:33 +0100 Subject: gentoo auto-resync : 06:05:2023 - 17:34:33 --- app-accessibility/speech-dispatcher/Manifest | 4 +- app-accessibility/speech-dispatcher/metadata.xml | 3 +- .../speech-dispatcher-0.11.4-r1.ebuild | 128 ++++++++++++++++++++ .../speech-dispatcher-0.11.4.ebuild | 129 --------------------- 4 files changed, 131 insertions(+), 133 deletions(-) create mode 100644 app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r1.ebuild delete mode 100644 app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4.ebuild (limited to 'app-accessibility/speech-dispatcher') diff --git a/app-accessibility/speech-dispatcher/Manifest b/app-accessibility/speech-dispatcher/Manifest index c8663fa0731a..34b48e51245a 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.ebuild 2963 BLAKE2B c8d6dcea46ef4766cc895b0f55a2aa45866ffd14b01537529eee6ad0d27c9433c38a1a28bf0925f21eef8ef9300d1d5cf0939a73c82cd7eaf6229ecfe52b0803 SHA512 d900ebc5eba9b473d7604389b9eddb9f672fc1e97ef1d7481dd0c87709979390943f2f29974a3645d878d34256e85cc101fc31d1b322630824be71fd784fce65 -MISC metadata.xml 793 BLAKE2B bbb768aefee6e8685fc109b1c03a1b33436cbda492ac2d0657983cd5dbcefdeb7f70ea1022047a44548d9db380e499ea572f9a005d5ff7312bff3cdb377d5e77 SHA512 2f122e8cad49728e27539d6e39114cba61a178ec1944d386d63a34e9c203f0d4360257226251ce21b5acad626d802af597cef5db726017f8b4600c484a13c401 +EBUILD speech-dispatcher-0.11.4-r1.ebuild 2914 BLAKE2B 5803d14b8bdde95adc3f81a84a0496e0810c08e1b2d0bbfdfc6c6db0c03a805504f74a435b9470acba3e7622c26b231aeae076b5e7e331c85c4ae015bd23c44d SHA512 4880afa5a46858295efcd7f2878910618a1a9f07b1662094aa84ef087c7054d0bd37cd960d380d54fc650e26c63bdeb6bc77d4afa195d901eb9a02c212649820 +MISC metadata.xml 721 BLAKE2B 926d97f613858988bb43ba292b45699cd0d2df876d05db38767296d1408d6f60580f32a019cd1541a517ad27606185d046838637ee4c4c27c6c70ced30d0d492 SHA512 22eeafb4e7bad9bdd96f5b950a5bbdd5259734b589bfb34876fe758a0779a5dda532b0bd696acf9da5ff124bb78e3b58d6787bd8bdc698879e34e6c8ed5bcd45 diff --git a/app-accessibility/speech-dispatcher/metadata.xml b/app-accessibility/speech-dispatcher/metadata.xml index 4df386ee0a85..506de2e0ba7d 100644 --- a/app-accessibility/speech-dispatcher/metadata.xml +++ b/app-accessibility/speech-dispatcher/metadata.xml @@ -13,8 +13,7 @@ Gentoo Sound project - Adds support for espeak speech engine - Adds support for espeak-ng speech engine + Adds support for espeak-ng speech engine Adds support for flite speech engine 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 new file mode 100644 index 000000000000..1b0b5acf3017 --- /dev/null +++ b/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r1.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-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.ebuild b/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4.ebuild deleted file mode 100644 index 95fa8f646009..000000000000 --- a/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4.ebuild +++ /dev/null @@ -1,129 +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 +espeak-ng 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 ) - espeak-ng? ( 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 - $(use_with alsa) - $(use_with ao libao) - $(use_with espeak) - $(use_with 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-ng; 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