summaryrefslogtreecommitdiff
path: root/app-accessibility/speech-dispatcher
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-12 17:23:15 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-12 17:23:15 +0100
commit6e0dec7ba4f6c5793a3d0b85952efa7ec57afa65 (patch)
treedcf170f6adae0db9a35f68683c81d68edfc54158 /app-accessibility/speech-dispatcher
parentab58e299fd6dae92ea274fe7d0ad685d888a51b7 (diff)
gentoo resync : 12.10.2017
Diffstat (limited to 'app-accessibility/speech-dispatcher')
-rw-r--r--app-accessibility/speech-dispatcher/Manifest2
-rw-r--r--app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7.ebuild109
2 files changed, 111 insertions, 0 deletions
diff --git a/app-accessibility/speech-dispatcher/Manifest b/app-accessibility/speech-dispatcher/Manifest
index 589e55f282b6..93030fb94814 100644
--- a/app-accessibility/speech-dispatcher/Manifest
+++ b/app-accessibility/speech-dispatcher/Manifest
@@ -1,7 +1,9 @@
DIST speech-dispatcher-0.8.1.tar.gz 1309969 SHA256 d25727239bbee4ee7881dd5e23e4da64a184b2ff3c8c9830088a671fb23b7757 SHA512 35f1ae547001a45d7945406ae5672829ff9ab6ac3f0cccb9eb3670dd92888a63c7cc4270ee90b5a166e6788afe3b117b5c3ef62c41a9df9f9af94dc4e0948fe8 WHIRLPOOL 945ef7ab1d771dc1e3727f223cfadfd309db03813f11fe995c0f4caf3a6f24bc9abc18e1f2f342b072bcd5fd0d626dae315f1fd0228d4172e051a2aba1255092
DIST speech-dispatcher-0.8.3.tar.gz 1292321 SHA256 96a293b2ba1e2498f1280c75a9607891a9990947a8d87e9855c2a642c93f1e4f SHA512 48eaa1fb27a14ad6c6a1f214044fbddde85ff07e636355e75f4f3ac1e46cea0cbbbd2cb9ce01ce4b9cb27d5395d840bd38afd2c65ec0fabcc8787483ae7a7b67 WHIRLPOOL 606bee401a98c91aa34f071007cabc3d7ad5f2a5a9425a32d40a8cce75a4b13795b4877a42451be37ea14a68a008fc1e0e063d881c08a78dce41f3a800962fd1
+DIST speech-dispatcher-0.8.7.tar.gz 1333677 SHA256 200be1adb054dd14bfbc46e798ac6a7c0d4abaa13343fb987312c5265e4cb134 SHA512 0e7af02e8521aa8d397ea4d0329f9a8d56970beed645456dfedc738ececd2ccd8ecfdf66e92ae852878a473ba991175e1d4dc2b8b0148c958163682b49678375 WHIRLPOOL daa32fc0150aec77db006908086db49fdef81f64d7e6d3953434ecb61e27f1b7c93d47208d545f903c5b1ad8a29a2c6a694fbd95983251867ab3574bd9c1ec02
EBUILD speech-dispatcher-0.8.1.ebuild 2645 SHA256 692f2e5e9ec9fa4f3b7b2646c1873431f52f1558293272e9f71f3b2addcf517e SHA512 7b9ada7edd6d2ccf949805c743f68848dbb35b8a3c4714e33b7a1c4248770165c77405214d24d38549d89309a85cc2233311b74594e9c0b21dcbc3390ab388a4 WHIRLPOOL ff7a06cd58423cb1f5ca42577a1da7619ff29812486147275d58e556edd9d79616ee59b9a89bafd87fd89f0f8b0afa40086c3e43f0f61326c15b299dbb510273
EBUILD speech-dispatcher-0.8.3.ebuild 2626 SHA256 c79d2119d87a114d6c0c5144bcac674086e8009b6bbbd6a21dffd316ac0de4ff SHA512 1556ab61c84259db988c92d9ad9f0d02d647872c97bfc04f59be31cadec4a9aa42a7eed3197bd3c6812daa330a7bb5075ed98cac9e1a8d743d784700ad7d53a3 WHIRLPOOL 568fdb9bcb3b8e4a74803ef48cfe2465ef12b693f6b61afc4d4deb390d74c9dd1f77bbd160a61350d294f4ac99a200fa6fbb23bf35eb4e55fc74c15e9622f784
+EBUILD speech-dispatcher-0.8.7.ebuild 2631 SHA256 87e9b21354358825d2789dff278d714514530c2c3fb690d3e194e6b5fef4784d SHA512 3cb229e6012a9795283750478dfe64835aae212a6151e97cbcbcafa4cd48ff8d3da500ade6e65f6e24036b94ca449ec931ba7db2965a997fa9137b4dab0aeac3 WHIRLPOOL a6d5d7c667c1a1035c0cb2712629daa5e1460320b9ae937b7ee54124782d65728a00164b1585b46a4193551f61b7184da747dc7318c9534eae48f478db02ede1
MISC ChangeLog 3252 SHA256 7a899fc8cb74b0c90228f3f2a97e70aba2e8291f5e0e44531387437fe6228b65 SHA512 042045d5c3e423796ae1a6dc7a19017a27981ffd5284a1f3a0d723c57142e8dc49a1d2bac4d88488f550bbc41c79209c2c5901b59f15cc4505d74a63c82bea03 WHIRLPOOL ded0fc8e5b0d265ac2821b28c63a0847435c340ec82113036556e0f0198d6b24d6e85cc31abd4296b06cc02f7e24d1524bcb9a0530000a5d17e5edcaeb9f2103
MISC ChangeLog-2015 19473 SHA256 2386b253103bf432d8eefed280ffe051b97a5edde90966394e0f6d01c6a13d9f SHA512 8ec1551fac69fdba8a4e8ee898c09e2b488a6493635c961bc42400bdc6692123acf74be9dabe8272a4d3da295862d9874fb408e5610c290d8eb6fbde0f0f3da1 WHIRLPOOL abfedde54d033248ae72acf54ac3fdd06e1bcd01a5bdbb183a8e5e66c82124311fdb1a06a638c1d62380d49cda2548915e510ac6fe76be1cb14d53119fcd6ac5
MISC metadata.xml 632 SHA256 4ab0806f2fd7c313c2be2379d2f56ec03df12fa37a266bcd287a3dc5f0c11482 SHA512 db94cba99bd2c9bbfe98b1647ac53a3861cbd697df791bea025e2a713a5991ca6929f2bc82a985ba38eef4a2571515d96aac6558fe143b68e24713490c12dd0a WHIRLPOOL d3b4e5856cd9961bb4f030535f20b55595bf1a8264d228427f99d2b44d7b57892803a887a32f00e51bc77edc8d88f7ae4415dab6ac375c3f8f91a63ad34cfc55
diff --git a/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7.ebuild b/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7.ebuild
new file mode 100644
index 000000000000..215c3bf2c2c8
--- /dev/null
+++ b/app-accessibility/speech-dispatcher/speech-dispatcher-0.8.7.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit eutils python-r1
+
+DESCRIPTION="Speech synthesis interface"
+HOMEPAGE="http://www.freebsoft.org/speechd"
+SRC_URI="http://www.freebsoft.org/pub/projects/speechd/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="alsa ao +espeak flite nas pulseaudio python static-libs"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+COMMON_DEPEND="python? ( ${PYTHON_DEPS} )
+ >=dev-libs/dotconf-1.3
+ >=dev-libs/glib-2.28:2
+ dev-libs/libltdl:0
+ >=media-libs/libsndfile-1.0.2
+ alsa? ( media-libs/alsa-lib )
+ ao? ( media-libs/libao )
+ espeak? ( app-accessibility/espeak )
+ flite? ( app-accessibility/flite )
+ nas? ( media-libs/nas )
+ pulseaudio? ( media-sound/pulseaudio )"
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/intltool-0.40.0
+ virtual/pkgconfig"
+RDEPEND="${COMMON_DEPEND}
+ dev-python/pyxdg"
+
+src_configure() {
+ local myeconfargs=(
+ --disable-python
+ $(use_enable static-libs static)
+ $(use_with alsa)
+ $(use_with ao libao)
+ $(use_with espeak)
+ $(use_with flite)
+ $(use_with pulseaudio pulse)
+ $(use_with nas)
+ )
+ 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() {
+ emake DESTDIR="${D}" install
+ dodoc ANNOUNCE AUTHORS BUGS FAQ NEWS README*
+
+ prune_libtool_files --all
+
+ 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
+ fi
+}
+
+pkg_postinst() {
+ local editconfig="n"
+ if ! use espeak; then
+ ewarn "You have disabled espeak, 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
+ elog "For festival support, you need to"
+ elog "install app-accessibility/festival-freebsoft-utils."
+}